- Feb 20, 2015
-
-
Allan Sandfeld Jensen authored
Fixes crashes exposed by implementing the qthelp protocol handler for Qt assistant. Change-Id: I0b1153bc52ff82838cde009f1fe1ac46edc43210 Reviewed-by:
Andras Becsi <andras.becsi@theqtcompany.com>
-
- Feb 19, 2015
-
-
Allan Sandfeld Jensen authored
Introduces API for custom URL scheme as an experimental API in widgets. A QML api is not included yet. Change-Id: Ice4542e5238feb961a4c9c60a809455e31dc1ec6 Reviewed-by:
Andras Becsi <andras.becsi@theqtcompany.com>
-
Pierre Rossi authored
The navigator object is actually exposed later on from WebCore using a different mechanism, so the V8 extension approach won't work with it. Better take the chrome extensions approach and expose our own. This should "un-break" the part of the web that was broken by eee48292 . Change-Id: I991be2e12bb9ebcf60ace02721497c3fcd923c7f Reviewed-by:
Peter Varga <pvarga@inf.u-szeged.hu> Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@theqtcompany.com> Reviewed-by:
Andras Becsi <andras.becsi@theqtcompany.com>
-
- Feb 16, 2015
-
-
Jani Heikkinen authored
Qt copyrights are now in The Qt Company, so we could update the source code headers accordingly. In the same go we should also fix the links to point to qt.io. Change-Id: Ieb6bac7a1be5c25eb7cb917495b58b6a870ca6d4 Reviewed-by:
Pierre Rossi <pierre.rossi@theqtcompany.com>
-
- Feb 13, 2015
-
-
Pierre Rossi authored
This allows using the WebChannel integration from the widgets API. Contains documentation, the underlying API for transport is tested by the qml tests already. Change-Id: If5520eddf5d1a9c917df890960e042f53baa42ce Reviewed-by:
Andras Becsi <andras.becsi@theqtcompany.com>
-
- Feb 06, 2015
-
-
Andras Becsi authored
Since we require downloads to be explicitly accepted we should have 'accepted' as a member in the download info instead of 'cancelled'. Change-Id: Ia8ff4a4b29f3c8631f4cb1c410ece5f11d9cdc93 Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
-
- Feb 05, 2015
-
-
Allan Sandfeld Jensen authored
This patch adds settings to profiles so common settings might be shared among all pages in a profile. The former global settings are now replaced by the settings of the default profile. Change-Id: I544420e07beeb52ef29b2360bc7929402650cd07 Reviewed-by:
Andras Becsi <andras.becsi@theqtcompany.com>
-
Jocelyn Turcotte authored
This allows applications to receive unhandled key events from the page by setting an event handler on the view's parent widget/item, like it was possible with QtWebKit. This is different in that events first have to asynchronously go through the QtWebEngineProcess. If the WebEngine view has the keyboard focus, the events will be consumed inconditionally by the RenderWidgetHostViewQtDelegates, and a copy will be resent to the view's parent if it wasn't consumed. This sends it to the parent instead of the QWebEngineView directly since those are only unhandled events, unlike with other widgets where you can first intercept events. It is done that way also in cases where the QWebEngineView would be be the focus widget directly in the future, instead of the RWHV. If applications want to intercept key events before they reach the page, they need to use an event filter on the QWebEngineView's children or globally on the application. Change-Id: I3b48f5212d3f238a1c0497cec1db6ae3badbad26 Reviewed-by:
Andras Becsi <andras.becsi@theqtcompany.com>
-
- Feb 02, 2015
-
-
Andras Becsi authored
Since the DownloadState enum of core does not match the DownloadState enum of QWebEngineDownloadItem we should never directly compare it, instead we should convert with the toDownloadState() function, to fix the missing emission of the finished() signal. This patch also adds static asserts to verify the match of chromium's DownloadItem::DownloadState and our core DownloadState. Change-Id: I51110f55598230e380e15948f75219976d3a68a0 Reviewed-by:
Michael Brüning <michael.bruning@theqtcompany.com>
-
Andras Becsi authored
This patch adds a QWebEngineDownloadItem class to the widget API and extends QWebEngineProfile with a signal to notify about initiated downloads, similar to the QML API. [ChangeLog][QtWebEngineWidgets] Add widgets download API Change-Id: I532de640934e1e93d63dfc347efb4113cb4a3d66 Reviewed-by:
Jocelyn Turcotte <jturcotte@woboq.com>
-
Paulo Pinheiro authored
This adds API for overriding some certificate errors. Once overridden any identical error for the same hostname and certificate will use the same override. Change-Id: Idf9e968edca18751cbdab744880480750d0c1bd4 Reviewed-by:
Zeno Albisser <zeno.albisser@digia.com>
-
- Jan 28, 2015
-
-
Allan Sandfeld Jensen authored
When the geolocation feature was activated, the feature request was not documented along with it. Change-Id: I8cb1b60015c3cffe7f3d035ea4f61625d81be5b0 Reviewed-by:
Florian Bruhin <qt-project.org@the-compiler.org> Reviewed-by:
Pierre Rossi <pierre.rossi@theqtcompany.com>
-
- Jan 23, 2015
-
-
Michael Brüning authored
This adds guards that for QT_NO_ACCESSIBILITY being not defined around the code that uses accessibility types. It disables the quicknanobrowser and quicktestbrowser examples which need Qt QuickControls, which has a hard dependency to accessibility being enabled. Task-number: QTBUG-43305 Change-Id: Ifa39e3ce447ebc2124f52e00b29b1d7d2231035e Reviewed-by:
Andras Becsi <andras.becsi@theqtcompany.com>
-
- Jan 22, 2015
-
-
Pierre Rossi authored
For our common use case of compile-time checking enums that we want to keep in sync. Change-Id: I102d737ad986bf3dfff4d11a91afa3f3819a7947 Reviewed-by:
Andras Becsi <andras.becsi@theqtcompany.com>
-
- Jan 16, 2015
-
-
Szabolcs David authored
If the user grants the permission with mouse click on the feature permission bar, the RenderWidgetHostView loses the focus but the focus is necessary for the pointer lock. Change-Id: Ifafd86b472e400c5690194dce2ea8a829a51c313 Reviewed-by:
Andras Becsi <andras.becsi@theqtcompany.com>
-
- Jan 08, 2015
-
-
Allan Sandfeld Jensen authored
Also fixes updating the visited links manager when off-the-record changes or a storage path is set or changed. Change-Id: Iffa90edde35f2d84146f3ab3b3861ef113e321f3 Reviewed-by:
Robin Burchell <robin.burchell@viroteck.net> Reviewed-by:
Michael Brüning <michael.bruning@theqtcompany.com>
-
- Dec 12, 2014
-
-
Allan Sandfeld Jensen authored
Introduces initial widgets API for the Chromium BrowserContext. Adds API for controlling cookie jar policy, user-agent string and cache and persistent data paths. Similar QML API will follow in another patch. [ChangeLog][QtWebEngineWidgets][QWebEngineProfile] New API for profiles applying to groups of QWebEnginePages. Change-Id: I3c4ef4053fde7564af29178c91a0aca8a2b61a5f Reviewed-by:
Jocelyn Turcotte <jocelyn.turcotte@digia.com>
-
- Dec 03, 2014
-
-
Allan Sandfeld Jensen authored
Without the class description the methods documentation was never generated. Change-Id: I0d7232e8f5cc6765908cb28b77d0fe0f514d359d Task-number: QTBUG-42996 Reviewed-by:
Jocelyn Turcotte <jocelyn.turcotte@digia.com>
-
- Nov 24, 2014
-
-
Pierre Rossi authored
If QtPositioning is available, provide chromium with a LocationProvider that uses it as a backend. Change-Id: I53ad3b45e49d0d2d181c1a6459b7be764293c2a6 Reviewed-by:
Andras Becsi <andras.becsi@digia.com>
-
- Nov 20, 2014
-
-
Andras Becsi authored
This patch prevents leaking these objects on shutdown. Change-Id: Ic4a628e0d4dc0b31716f885c1e904b6062cf3ef0 Reviewed-by:
Jocelyn Turcotte <jocelyn.turcotte@digia.com>
-
- Nov 07, 2014
-
-
Allan Sandfeld Jensen authored
The feature enum names and documentation gave the impression it could control audio and video output, while they only control input. Also removed documentation of non connected feature permissions for Notifications and GeoLocation. Change-Id: Ia35142ca691ebd6059b7472e9803fda8cbd84813 Reviewed-by:
Jocelyn Turcotte <jocelyn.turcotte@digia.com> Reviewed-by:
Pierre Rossi <pierre.rossi@gmail.com>
-
- Nov 06, 2014
-
-
Allan Sandfeld Jensen authored
This patch makes it possible to have more than one BrowserContext, for instance for off-the-record browsering but also to enable any other configuration on browser context level. This will make it possible to add page-groups settings and API for settingsthat can only be done on BrowserContext level. This patch does not expose any new API. Change-Id: I0a0e194449cfb5a096a4ac6e2f2b3882b6b4cfa2 Reviewed-by:
Jocelyn Turcotte <jocelyn.turcotte@digia.com>
-
- Oct 28, 2014
-
-
Peter Varga authored
Use explicit url in quick API too and use GetLastCommittedURL instead of GetVisibleURL for getting the expected urls in tests. Change-Id: If3251323645979643f3dc0e16491fe35b584f51c Reviewed-by:
Andras Becsi <andras.becsi@digia.com>
-
- Oct 20, 2014
-
-
Andras Becsi authored
This is the equivalent API for navigationRequested in QtQuick. This patch also enables and updates tests that depended on this API, and removes the ones that we will not support. Change-Id: I28970c11225420a9680fbd767880130492664179 Reviewed-by:
Michael Bruning <michael.bruning@digia.com>
-
- Oct 14, 2014
-
-
Andras Becsi authored
This is required so that embedders can implement custom error pages, and is also needed for tests, where error-page loading has side-effects on subsequent page loads. Change-Id: I5ae276a58864a2fa9d7b608bea3340b482a92f4e Reviewed-by:
Peter Varga <pvarga@inf.u-szeged.hu>
-
- Sep 18, 2014
-
-
Pierre Rossi authored
In the same fashion as what is done in QObject::connect's documentation, we can keep it simple here and simply document what is expected. Change-Id: I98a09280870cf0aab935fd0cb69401bb98134145 Reviewed-by:
Jocelyn Turcotte <jocelyn.turcotte@digia.com>
-
- Sep 17, 2014
-
-
Pierre Rossi authored
Also silence some warnings by tagging functions as reimplemented. Change-Id: I0572e466709d433a44c7a154ff37e43178a6013f Reviewed-by:
Jocelyn Turcotte <jocelyn.turcotte@digia.com>
-
- Sep 05, 2014
-
-
Peter Varga authored
The test_urlProperty() qml test has failed because the active url was stored in LoadRequest in case of LoadFailedStatus. With this fix the loadRequest stores the url of that page which implies the request. Change-Id: I6aab814a4a7d3b47043b03fccde3d9995b40d8fa Reviewed-by:
Pierre Rossi <pierre.rossi@gmail.com>
-
- Sep 02, 2014
-
-
Pierre Rossi authored
The fact that the error pages are HTML and get loaded through the same mechanism should be kept an implementation detail and not be considered as a new load in the API sense. Also implement HasErrorPage for good measure and remove an anoying warning from the demo browser. The issue of the url not being changed remains in the QML test (but it doesn't affect a typical browser-like UI since the user input is still there untouched in the address bar), just make sure that failure does not affect the later checks. It also seems like we have a focus problem somehow, but the test should probably use a click for that matter. Change-Id: Ib5e363981a11287fdf4bfe84b93c999d96ed8087 Reviewed-by:
Jocelyn Turcotte <jocelyn.turcotte@digia.com>
-
- Aug 29, 2014
-
-
Allan Sandfeld Jensen authored
This adds API for overriding some certificate errors. Once overridden any identical error for the same hostname and certificate will use the same override. Similar API for QtWebEngine QML should be added in a later patch. Change-Id: I144147b86d9b592e3f87346a1e48890acee0c670 Reviewed-by:
Jocelyn Turcotte <jocelyn.turcotte@digia.com>
-
- Aug 28, 2014
-
-
Pierre Rossi authored
Because the files were recent additions or for other unclear reasons, not all the files were updated to reflect the license change. Change-Id: I6898f6f4f993f1efa9489382f0b94af285f8c4f5 Reviewed-by:
Andras Becsi <andras.becsi@digia.com>
-
- Aug 21, 2014
-
-
Zeno Albisser authored
Change-Id: Idbe0eafb51d77cc00e3a93179b81770724d5bfaa Reviewed-by:
Jocelyn Turcotte <jocelyn.turcotte@digia.com> Reviewed-by:
Tuukka Turunen <tuukka.turunen@digia.com> Reviewed-by:
Pierre Rossi <pierre.rossi@gmail.com>
-
- Aug 20, 2014
-
-
Jocelyn Turcotte authored
This fixes a regression after the 37 upgrade where the select popups would have the wrong position. Adjust to the new behavior and also avoid doing a mapToGlobal of the position received in InitAsPopup. RWHV::SetBounds has been giving us screen coordinates since the Chromium 33 update, but popup locations somehow managed to work properly through some side-effect sorcery. This also fixes the value of window.screen[XY] in JavaScript which wasn't updated when the window was moved. Change-Id: I544499bafedccfb7d389b4abc48f1386c398473f Reviewed-by:
Pierre Rossi <pierre.rossi@gmail.com>
-
- Aug 19, 2014
-
-
Allan Sandfeld Jensen authored
Change-Id: I61bda1aafc7513acdaeda99ef493ce50363d352e Reviewed-by:
Jocelyn Turcotte <jocelyn.turcotte@digia.com>
-
Allan Sandfeld Jensen authored
Change-Id: I2e21c19c193d94d2ebbaed0bc3b9b0aaa28e6e85 Reviewed-by:
Jocelyn Turcotte <jocelyn.turcotte@digia.com>
-
- Aug 18, 2014
-
-
Allan Sandfeld Jensen authored
Change-Id: I9c0dd4e2da5452e6d90f177f4c5d5edd735294e5 Reviewed-by:
Jocelyn Turcotte <jocelyn.turcotte@digia.com>
-
- Aug 15, 2014
-
-
Jocelyn Turcotte authored
This follows the same pattern now used in other public classes. Change-Id: I999c6ba7fc594cdb77da47482e1060542fe86861 Reviewed-by:
Andras Becsi <andras.becsi@digia.com>
-
Jocelyn Turcotte authored
A new window means that the QWebEnginePage gets its WebContentsAdapter swapped and that the pointer in WebEngineSettings must be updated. Do the WebContentsAdapter-to-WebEngineSettings binding in WebContentsAdapter::initialize to cover both cases. This also refactors the way that QWebEngineSettings is created by removing the need to pass a QWebEngineSettingsPrivate instance to be adopted, and also move the global settings construction logic in the singleton accessor instead of relying on the fact that it uses a different contructor. Change-Id: I6f8a2ed1407a4b25f9898526db9432721c354ddf Reviewed-by:
Andras Becsi <andras.becsi@digia.com> Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@digia.com>
-
Jocelyn Turcotte authored
Change-Id: I17bcd79ee2dcb539f369a8f4a8d59949e09930be Reviewed-by:
Andras Becsi <andras.becsi@digia.com>
-
- Aug 12, 2014
-
-
Pierre Rossi authored
Implementing what is already available, namely the WebAttributes, font preferences and default text encoding, as well as a slightly different take on privateBrowsing. Change-Id: I128f060a4661d19aa1c9c4d6daae1f80fb33204b Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@digia.com>
-