summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Add invokable to QQuickWebEngineProfile to set cookie clientAndras Becsi2015-08-283-0/+12
| | | | | | | | | This makes it possible to set a cookie client in the C++ part of a QtQuick application to receive notifications about cookies. Add setting for blocking third party cookies to quicktestbrowser. Change-Id: I627eaab067e92a7be5b36ffed68794e54c7be0e8 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* Use the default composition colors for IME compositionAndras Becsi2015-08-281-6/+1
| | | | | | | | | | | | We should not set the background color coming from the input method event since its color scheme might not match the color scheme of the web page, which can make the entered text unreadable. Instead we should set the default as used by the aura and mac implementations of transparent background and black underline of the current editing context. Change-Id: I3a4ec5672a917b029fb57cfcc6b36bf93209af2c Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Fix embedded build after the update to 45-based branchAndras Becsi2015-08-272-0/+8
| | | | | | | Add missing virtual function implementation. Change-Id: Icad8fee6306c742530f1890d14e941e686dc1253 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* Move custom URL scheme handlers to coreAllan Sandfeld Jensen2015-08-2714-97/+110
| | | | | | | | Makes the custom URL scheme handler API public, and moves it to core so that it may be shared with the QQuickWebEngine API. Change-Id: I745cb088df6f4cd11b1ac7c8c3c76f112032cb38 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* Add exit full screen web actionAllan Sandfeld Jensen2015-08-276-0/+25
| | | | | | | | Adds a web action that can be used for exiting fullscreen mode, and include it the context menu whenever in fullscreen mode. Change-Id: I7aa729a86f9ba9df476766cd40f87d9385948fea Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* Add support for blocking cookiesAndras Becsi2015-08-276-1/+38
| | | | | | | | | This patch adds acceptCookie virtual function that is called when a request wants to set a new cookie and can be overridden to intercept or block these cookies. Change-Id: I8b932d4176ffc3c0ac48b1656486d5492cabaefd Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* Update to Chromium 45.0.2454.79Allan Sandfeld Jensen2015-08-261-0/+0
| | | | | Change-Id: Id986be0af632884ae4e7d0fb2023e71c449a9eae Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* Widgets: Add fullscreen supportSzabolcs David2015-08-2610-18/+42
| | | | | | Change-Id: Ibf1697d2bb3b3af5e7d71149305c5acffba43f0f Reviewed-by: Szabolcs David <davidsz@inf.u-szeged.hu> Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* Fix QAccessible name and description calculationAdam Kallai2015-08-262-4/+97
| | | | | | | | | | | | | | | The logic was removed in 1881f56d65b3981b176d99262f5266cf9ff76be3. There is no platform independent implementation in Chromium for calculating Accessible name which follow the W3C Accessibility standard. We need to apply this logic in order to get Accessible name and description correctly. It also fixes the QWebEngineAccessibility test cases. Change-Id: I733c6311301c43610b7a9aaf22c73c2e5d368c70 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* Add inspect element webactionAllan Sandfeld Jensen2015-08-266-0/+24
| | | | | | | | | Adds the missing InspectElement webaction from QtWebKit. It is not added by to any context menus by default and only has an effect when an inspector is attached. Change-Id: Ic8c67c797e5dfe266fb692ffc97577b842458a79 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* Consistenly use Q_DISABLE_COPY in public APIKai Koehne2015-08-265-1/+5
| | | | | | | Improves error messages for people trying to copy ... Change-Id: If95e33058ebff46ab39164ba6226b3396b6aef15 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* Merge "Merge remote-tracking branch 'origin/dev' into 5.6" into refs/staging/5.6Allan Sandfeld Jensen2015-08-252-3/+4
|\
| * Merge remote-tracking branch 'origin/dev' into 5.6Allan Sandfeld Jensen2015-08-252-3/+4
| |\ | | | | | | | | | Change-Id: Iee44f6f41c00838c9efe30f600200307bdef770a
| | * fix revision for httpAcceptLanguage property of WebEngineProfileJoerg Bornemann2015-08-242-3/+4
| | | | | | | | | | | | | | | Change-Id: I374d6ffa968e6cc9a3317f0c8860402da84a1b5b Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* | | Doc: edit docs for QQuickWebEngineSettingsLeena Miettinen2015-08-252-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | Add docs for missing PluginsEnabled value for QWebEngineSettings::WebAttribute. Change-Id: I368fff274609941d6435ddf3343b81bca6013945 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* | | Respect Qt system-harfbuzz settingAllan Sandfeld Jensen2015-08-252-0/+2
| | | | | | | | | | | | | | | | | | | | | Link with system harfbuzz when Qt has been configured to do so. Change-Id: I6921397915f069b06e6447987744c0186b6c7ce0 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
* | | Rebasing on Chromium 45Allan Sandfeld Jensen2015-08-2516-41/+40
| | | | | | | | | | | | | | | | | | | | | Fixing the minor differences needed to work with Chromium 45. Change-Id: I5036b4b9a069d45e8dd37e24fab84cdfe5e67acc Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* | | MSVC: force export of API symbolsJoerg Bornemann2015-08-251-0/+15
|/ / | | | | | | | | | | | | | | | | | | | | The public API symbols are compiled in a static library that's linked to core with --whole-archive when using gcc. As there's no equivalent for this in MSVC we create a dummy C++ source file that includes every API header file to make sure that every __declspec(dllexport) is honored. Change-Id: If0dafedceb52046aecde60b2a2a624df8ab219b4 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* | set Accept-Language in content::RendererPreferencesJoerg Bornemann2015-08-243-0/+14
| | | | | | | | | | | | | | This amends commit 2a56ec7ce4713711b55bb1dfc86a4320d943f606. Change-Id: I8103197f08c985557000de36c37ad80e1ceadf24 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* | Fix the build on embedded linuxAndras Becsi2015-08-245-1/+20
| | | | | | | | | | | | | | | | | | | | | | | | This patch: - adds required options to the embedded_linux.pri config - adds missing events_ozone.gyp:events_ozone_evdev dependency - fixes pkg-config not to pick host paths when cross compiling - implements missing functions of the OzonePlatform interface - updates the submodule to include fixes for chromium Change-Id: I77b384738fa7d41938a68c10a007728b10d7db28 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* | Fix compilation with Visual Studio ExpressKai Koehne2015-08-211-0/+1
| | | | | | | | | | | | | | This replaces commit 28fd17b3 in the chromium submodule. Change-Id: Ifb59ad0101129d18ae4704126fa152e201d35e83 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* | Add documentation for cookie API and request interception in coreAndras Becsi2015-08-203-4/+250
| | | | | | | | | | | | Change-Id: I6908ff3da9e0c78c3cf3d9b27d6c532029423d24 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* | Doc: clean up QWebEngineScript docsLeena Miettinen2015-08-201-43/+48
| | | | | | | | | | | | | | | | | | | | - Add missing documentation - Remove unnecessary \brief, \param, and \return commands - Edit for language and style Change-Id: Iff9ddc56ab32af783831c3a962b0967fcbddde24 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com> Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* | Doc: reorganize and rename docsLeena Miettinen2015-08-1917-200/+508
| | | | | | | | | | | | | | | | | | | | | | | | - Move general docs to src/webengine/doc/src - Remove a dedicated .qdocconf for Qt WebEngine Core, build its documentation as part of Qt WebEngine - Describe all Qt WebEngine modules on the Qt WebEngine index and overview pages - Add a wireframe drawing on the architecture Change-Id: Ib4261d1a16bbaf313d0f858515184a96dab524a5 Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
* | Revert "Introduce ProxyResolverQt"Pierre Rossi2015-08-195-198/+12
| | | | | | | | | | | | | | | | | | This reverts commit 0e006b8ea755ebad01faf3e747e61abdf158289a. The workaround is not needed anymore since the v8 proxy resolver is now used by default. Change-Id: Ifea4ca6c6a0b0442cc1d8d22b1eb1553f3319524 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* | Doc: clean up QWebEngineProfile docsLeena Miettinen2015-08-181-29/+45
| | | | | | | | | | | | | | | | | | - Add missing documentation - Remove unnecessary \brief, \param, and \return commands - Edit for language and style Change-Id: I6b338834e5695cf135874f80e71151a5f5dd54e7 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* | Doc: clean up QWebEngineScriptCollection docsLeena Miettinen2015-08-181-28/+31
| | | | | | | | | | | | | | | | | | - Add missing documentation - Remove unnecessary \brief, \param, and \return commands - Edit for language and style Change-Id: Ie2169475539f816b876ad65d9ac9ae228dd55ada Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* | Merge branch '5.5' into 5.6Allan Sandfeld Jensen2015-08-1869-220/+645
|\ \ | |/ |/| | | Change-Id: I9977663123560a22f493b8c02d02de8897b38666
| * Fix crash on XCB GLES2 and WaylandAllan Sandfeld Jensen2015-08-121-6/+0
| | | | | | | | | | | | | | | | | | We can and must request the "egldisplay" from QPA, otherwise we get the wrong resource. Task-number: QTBUG-47301 Change-Id: I8bcd94415aa8f22b0d868ad751017f5babddf751 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
| * Fully qualify libEGL.so.1, libEGLESv2.so.2 librariesKai Koehne2015-08-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | look up the libEGL, libEGLESv2 libraries by their major version number when loading them dynamically on embedded Linux. The libEGL.so, libEGLESv2.so files are usually only there when development packages are installed. Change-Id: Ic17976506064008540201ceffa12077e1b2173f8 Task-number: QTBUG-45801 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com> Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
| * Doc: Added a note about setting feature permission to a pageVenugopal Shivashankar2015-08-111-0/+4
| | | | | | | | | | | | | | | | | | | | The feature premissions set ahead of a feature request has no effect. The QWebEnginePage::setFeaturePermission method serves pending feature requests only. Task-number: QTBUG-47173 Change-Id: Ifff4dadc56fae1ecdcce9029a15d57576a830923 Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
| * Doc: Fixup QWebEngineScript documentation.Pierre Rossi2015-08-051-2/+1
| | | | | | | | | | | | | | drop the preliminary as it is public API, and fix a typo. Change-Id: I2753ef06f9afc9f7a9526353286fb22d239e3b5f Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
| * Fix docs to use iconUrl/iconUrlChanged.Florian Bruhin2015-08-042-4/+4
| | | | | | | | | | | | | | | | The docs presumably were copied from QtWebKit and this didn't get adjusted when icon()/iconChanged() was changed to iconUrl()/iconUrlChanged(). Change-Id: Iccecc7b0e1c69f5242bddae2dedb4135120e3519 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
| * Make QtWebEngineProcess use full 4 GiByte of memoryKai Koehne2015-08-031-0/+2
| | | | | | | | | | | | | | | | | | | | Pass /LARGEADDRESSAWARE the the MSVC linker to allow allocating more than two GiByte of memory for 32 bit. The flag is a NOOP for 64 bit. Task-number: QTBUG-47129 Change-Id: I82c4a7bc99e9042c4901425b37202d7977c0bcaa Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com> Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
| * Fix error message for OpenGL resource sharingPeter Varga2015-07-311-1/+5
| | | | | | | | | | | | | | | | | | Method nativeResourceForContext() fails if share context is not set. It may be called earlier than method ShareGroupQtQuick::AboutToAddFirstContext() that performs the same check. Change-Id: Ib1eaabc83e59c75a7610ba214b81e50aa4984baa Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
| * Add private header warningKai Koehne2015-07-2430-0/+330
| | | | | | | | | | Change-Id: I95ae03b34631f166d2eed68e20282eb624ff408a Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
| * Unify Copyright headersKai Koehne2015-07-2420-109/+109
| | | | | | | | | | Change-Id: I4cc145311cb41576d6f166ad4ddc085eeccc1650 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
| * Use v8 backend for proxy resolutionKai Koehne2015-07-233-2/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the v8 proxy resolution backend instead of the native one in the multi-process case. This fixes a particular issue on windows where the winhttp one will attempt to find proxy servers for every single request: https://crbug.com/40797 . Chrome uses the v8 backend too. Resort to the native backend though if started with --single-process. This is because the Chromium renderer and the V8 ProxyResolver can't run in the same process. See also proxy_resolver_v8.h: // It is important that *ALL* instances of V8 in the process be using // v8::Locker. If not there can be race conditions between the non-locked V8 // instances and the locked V8 instances used by ProxyResolverV8 (assuming they // run on different threads). // // This is the case with the V8 instance used by chromium's renderer -- it runs // on a different thread from ProxyResolver (renderer thread vs PAC thread), // and does not use locking since it expects to be alone. Task-number: QTBUG-44763 Change-Id: I7b48cb9d0f3c41fdddffc9eb9f51d83442d80622 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
| * Remove misleading warning about WebEngineProcess fallback pathKai Koehne2015-07-221-18/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove the warning, and make the logic more predicable & in line with the rest of Qt: * If QWEBENGINEPROCESS_PATH is set, always use it. Assert if the file is not there. * If this is a OS X Framework, only look into QtWebEngineCore.framework, else * check QLibraryInfo::LibraryExecutablesPath * check applicationDirPath() Change-Id: I820388fbfb9e810314f353c9bbe38a471793aebc Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
| * Use QCoreApplication::libraryPaths for pluginsKai Koehne2015-07-221-10/+15
| | | | | | | | | | Change-Id: I7c926ca93c3bd05d60642d444742247fb8634740 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
| * Search for .pak files also in applicationDirPath()Kai Koehne2015-07-221-13/+3
| | | | | | | | | | | | | | | | | | | | | | Use libraryDataPath() for locating .pak files. This will fall back to QCoreApplication::applicationDirPath() if the Qt installation directory is missing. Task-number: QTBUG-42083 Change-Id: I96d940bd12024c308348fe3f5fa9fd259e2ac904 Reviewed-by: Andy Shaw <andy.shaw@theqtcompany.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
| * Doc: Added \qtvariable to enable QDoc include QT += info.Venugopal Shivashankar2015-07-206-5/+7
| | | | | | | | | | | | | | | | Also added \since info. for some of the classes. Task-number: QTBUG-47274 Change-Id: Id8cfbd6d0e5b5826ceaebb008a453cd1c216a921 Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
| * enable RTTI for MSVC buildJoerg Bornemann2015-07-141-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | QtWebEngine creates objects of subclasses of QSGGeometryNode. QtQuick2DRenderer uses dynamic_cast to determine which subclass it encounters when visiting the scene graph. When QtWebEngine is build without RTTI support, dynamic_cast crashes in QtQuick2DRenderer. Change-Id: Idb87aad0a7d39e7d386e76923d8b7b2cf19ef7e2 Task-number: QTBUG-47016 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com> Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
| * Cleaned up the module overview.Kavindra Palaraja2015-07-141-33/+12
| | | | | | | | | | | | | | | | Polished the brief and some sentences in the module overview to improve readability. Change-Id: I35964880214ecd61859094b0ea7e318ff3e53fa6 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
| * Fix single-process modePeter Varga2015-07-143-1/+25
| | | | | | | | | | | | | | | | | | | | Destroy RenderprocesHostimpl first then the WebEngineContext. RenderProcessHostImpl's destructor may use the default BrowserContext stored by the WebEngineContext. Task-number: QTBUG-45722 Change-Id: Ide8875a89bd339ecf65ddd32a5f00842102c1c43 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
| * Add 200 percent image resourcesKai Koehne2015-07-146-20/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move out the resources intended for 100% scale factor from qtwebengine_resources.pak into a separate _100p.pak, and add also a _200p.pak. This fixes crashes and artifacts on Windows with high-DPI setups. [ChangeLog] qtwebengine_resources_100p.pak and qtwebengine_resources_200p.pak have been added alongside qtwebengine_resources.pak. Depending on the target environment either one or both have to be deployed. Task-number: QTBUG-47018 Change-Id: I1f305ada3ca4e4ae356276a59e0e92c94cca2d3f Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
| * fix non-ANGLE buildJoerg Bornemann2015-07-081-0/+5
| | | | | | | | | | | | Task-number: QTBUG-47058 Change-Id: Ia695d78bfba90fc31f598582032fceb6fda83e79 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
| * Do not set meta modifier twiceAllan Sandfeld Jensen2015-06-291-2/+0
| | | | | | | | | | | | | | | | We were setting the meta modifier twice. This breaks CTRL short-cuts on OS X since it may cause both CTRL and Meta to set. Change-Id: Ia4fa229b5b466235207afbe4a27a8078b3b2c876 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
| * Fix warning and assertion on OS X and WindowsAllan Sandfeld Jensen2015-06-291-1/+1
| | | | | | | | | | | | | | | | We should not try to write to the selection clipboard on platforms where selection clipboards are not supported. Change-Id: I05a4e5a5181c0a2cd83f115e3181902a1e349ed0 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* | Fix debug linking with system OpusAllan Sandfeld Jensen2015-08-131-0/+1
| | | | | | | | | | | | | | | | | | Do not build the AudioClassifier, it is not used anywhere in the code but references private Opus APIs and can cause linking errors if not optimized away. Change-Id: I0029aa643160177e626a48a9c8ad75a08bd8f846 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>