- Sep 30, 2015
-
-
Allan Sandfeld Jensen authored
When the QObject::destroyed signal is emitted the inherited class parts have already been destroyed and thus it is no longer a QWebEngineUrlSchemeHandler and qobject_cast will return 0, which is asserted against. Change-Id: I7130c60a26088067930499a30e0081ed297a92d9 Reviewed-by:
Kai Koehne <kai.koehne@theqtcompany.com>
-
- Aug 27, 2015
-
-
Allan Sandfeld Jensen authored
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>
-
- Aug 26, 2015
-
-
Kai Koehne authored
Improves error messages for people trying to copy ... Change-Id: If95e33058ebff46ab39164ba6226b3396b6aef15 Reviewed-by:
Joerg Bornemann <joerg.bornemann@theqtcompany.com>
-
- Aug 04, 2015
-
-
Kai Koehne authored
Uniformly use the <Module/class.h> style, like https://wiki.qt.io/Coding_Conventions mandates. Change-Id: I4c05599fa689f375158fd3b0a54aada8571e5c59 Reviewed-by:
Joerg Bornemann <joerg.bornemann@theqtcompany.com>
-
Joerg Bornemann authored
Add methods to set the Accept-Language field in QWebEngineProfile and QQuickWebEngineProfile. Task-number: QTBUG-47412 Change-Id: Ifa376bb3551fdc1fb3d68279d734b7f7735782fc Reviewed-by:
Kai Koehne <kai.koehne@theqtcompany.com> Reviewed-by:
Andras Becsi <andras.becsi@theqtcompany.com>
-
- Aug 03, 2015
-
-
Andras Becsi authored
This patch is adding a QWebEngineUrlRequestInterceptor interface that can be subclassed to observe or intercept all resource requests making it possible to implement browser features like adblocking and setting custom request headers for url requests. The interceptRequest virtual function is executed on the IO thread. This patch also includes a unit test for the testable API parts. Change-Id: Ibe740fc55551a9a5da40794088ccb6d03d913631 Reviewed-by:
Joerg Bornemann <joerg.bornemann@theqtcompany.com> Reviewed-by:
Martin Rotter <rotter.martinos@gmail.com> Reviewed-by:
Andras Becsi <andras.becsi@theqtcompany.com>
-
- Jun 16, 2015
-
-
Andras Becsi authored
This class or its subclass can be set on the QWebEngineProfile and its API enables intercepting Chromium's cookies, setting and deleting cookies in the cookie store. These functions are asynchronous so if the result of the task is needed the user can provide a callback which will be run on the calling thread when the requested operation finishes. This does not include a hook for QQuick layer yet, there we have to figure out what the most convenient way is from a developer's perspective. Change-Id: I6a3af071883ce632df7a2fb952da93f306ac3fe2 Reviewed-by:
Pierre Rossi <pierre.rossi@theqtcompany.com>
-
- Jun 12, 2015
-
-
Pierre Rossi authored
The getters in QWebEngineDownloadItem were not const. The script collection in QWebEngineProfile was passed by reference, which is not idiomatic of Qt. Change-Id: I9b4218b407288b91a726a711bd2a7e1c1167d99a Reviewed-by:
Andras Becsi <andras.becsi@theqtcompany.com>
-
- Mar 12, 2015
-
-
Allan Sandfeld Jensen authored
This patch removes the unused global off-the-record browser-contexts and changes all browser-contexts to be ref-counted by an API level profile. The API default profiles are now owned by a global QObject and are deleted on exit. Change-Id: Id7c9eafa24829118105f58b66663a6348216823d Reviewed-by:
Michael Brüning <michael.bruning@theqtcompany.com> Reviewed-by:
Andras Becsi <andras.becsi@theqtcompany.com>
-
- Feb 21, 2015
-
-
Pierre Rossi authored
Allowing programmatic injection of JavaScript to accomplish all sorts of tasks on the render process side. This API gives control over the point during the loading phase at which the script is run, whether it is run on sub-frames or not, as well as the JavaScript world it is run in (either the page's main world, or an arbitrary isolated world). This only has the Widgets API. The Quick API, tests and docs are coming in separate patches Change-Id: Ia1c79f68f8dfd4d964281d9723d09062ed7abe46 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>
-
- 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 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>
-
- Feb 02, 2015
-
-
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>
-
- 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>
-
- 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 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 06, 2014
-
-
Andras Becsi authored
Add missing navigationRequested API to be able to intercept navigation requests. This is useful for ignoring requests for example in kiosk-like applications that want to restrinct navigation to a specific url or domain, or want to disable specific types of navigation requests (e.g. reloading, clicking links, form submissions). Change-Id: Ie375e635a3c3566527972d05f5d99b39489c5ca8 Reviewed-by:
Jocelyn Turcotte <jocelyn.turcotte@digia.com>
-
- Apr 15, 2014
-
-
Jocelyn Turcotte authored
I initially misintepreted the meaning of the enum, assuming that it meant that the window should possibly be blocked. The user_gesture parameter in WebContentsDelegate::AddNewContents is actually doing this, while the popup disposition means that JavaScript requested the window to be opened without one of the standard decoration (i.e. status bar, menu bar, tool bar, etc.). Update the QtQuick API to reflect this, renaming the "isPopup" parameter to a more familiar "isUserInitiated". The popup disposition is named "dialog" to match the previous QWebPage::WebModalDialog enum. Change-Id: Ib0c4bc53671fcf0dd9499aa1be2bbc8c494ba49e Reviewed-by:
Michael Bruning <michael.bruning@digia.com>
-
- Feb 13, 2014
-
-
Jocelyn Turcotte authored
Improve the code and API in a few ways: - Expose a more discoverable "request" argument in the signal. - Use the request as the carrier of the backend WebContentsAdapter and get rid of our handle. - Put the adoption method (renamed to openIn) on the request object and keep the view API clean of a context-specific adoptHandle method. - Use an enum instead of strings for the new view destination. - Do not let JavaScript own the request object since it won't be necessary until we want to support asynchronous view attachment. We can create the request object on the heap and let the JavaScript engine own the object once we want to support it. - Move the request class to its own header. - Replace tabs.currentView by currentWebView in the quicknanobrowser qml code since we now need this property on the root object anyway. Change-Id: I40d7d15255f516ead9f3e414dd587bf345e6ca4b Reviewed-by:
Simon Hausmann <simon.hausmann@digia.com>
-
- Jan 15, 2014
-
-
Adam Kallai authored
It contains information about a requested load of a web page. Change-Id: Ie45706adb51ee5bce98e7af01252d9a8389db57d Reviewed-by:
Pierre Rossi <pierre.rossi@gmail.com> Reviewed-by:
Andras Becsi <andras.becsi@digia.com>
-
- Jan 08, 2014
-
-
Adam Kallai authored
Change-Id: I403e7e3c89bd1881b96b1cc345ccdf115ceea5e9 Reviewed-by:
Peter Varga <pvarga@inf.u-szeged.hu> Reviewed-by:
Andras Becsi <andras.becsi@digia.com>
-
- Nov 28, 2013
-
-
Jocelyn Turcotte authored
This only move files without adjusting any paths. This moves: - lib/quick -> src/webengine/api (API files) lib/quick -> src/webengine (other files) This contains the main QtWebEngine module library since <ec7b2ee7 >. - lib/widgets -> src/webenginewidgets Also rename this directory to match its module name and rename Api to api. - lib -> src/core - process -> src/process - resources -> src/core/resources - tools/* -> tools/scripts/ The build directory is spread as follow: - build/build.pro -> src/core/gyp_run.pro - build/qmake_extras/* -> src/core/ (for the host and target .pro files) - build/qmake -> tools/qmake - Build related scripts -> tools/buildscripts Change-Id: I0cded1de772c99c0c1da6536c9afea353236b4a1 Reviewed-by:
Zeno Albisser <zeno.albisser@digia.com> Reviewed-by:
Pierre Rossi <pierre.rossi@gmail.com> Reviewed-by:
Andras Becsi <andras.becsi@digia.com>
-
- Nov 18, 2013
-
-
Jocelyn Turcotte authored
Make the WebEngine QtQuick plubin library a library only that fetches the API privatly from the official module. This will allow an experimental plugin library to also have access to the API classes, which it currently can't since the plugins aren't deployed the same way as module to <prefix>/lib. The module currently only export classes privately but the plan is to make this library the official linking point of entry for applications along with the Qt5WebEngineWidgets module. The WebEngineCore library could eventyally be merged into this module library if we can get gyp to play well with qmake. Change-Id: I5edb60b412e213b59f791a7b8df9f28c295502de Reviewed-by:
Andras Becsi <andras.becsi@digia.com>
-
- Nov 14, 2013
-
-
Zeno Albisser authored
Change-Id: I15261c3737a3284b99308453132f09ee7889c444 Reviewed-by:
Pierre Rossi <pierre.rossi@gmail.com>
-
- Aug 19, 2013
-
-
Jocelyn Turcotte authored
Change-Id: I58d83f4f33728f92e4bf13b6be30b15528fdd033 Reviewed-by:
Zeno Albisser <zeno.albisser@digia.com>
-
- Jul 31, 2013
-
-
Pierre Rossi authored
This is the first step to making proper Qt Modules out of QtWebEngine. The Widgets integration becomes a proper C++ Qt Module while we make the QtQuick side a QML plugin for now (could probably be promoted if the need arises). Code-wise, this means the introduction of a WebContentsAdapterClient interface that is subclassed by the private implementation of our API classes for delegation of things that are UI specific. Functionality from WebContents and the like is exposed via the WebContentsAdapter. Change-Id: I4ca3395b9fe8502a24e36002cfd5af44067bb6e8 Reviewed-by:
Jocelyn Turcotte <jocelyn.turcotte@digia.com>
-
- Jun 27, 2013
-
-
Andras Becsi authored
Also remove some unneeded includes. Change-Id: I335bfb1d8c74b2e44d7bf576c3b76f6c32af35c3 Reviewed-by:
Zeno Albisser <zeno.albisser@digia.com>
-
- Jun 25, 2013
-
-
Andras Becsi authored
Move common data from WebContentsView private classes to the common base class WebContentsViewQtClient. Change-Id: I77484691a24d14403c8a6e434d6fb33ac557637e Reviewed-by:
Zeno Albisser <zeno.albisser@digia.com>
-
- Jun 19, 2013
-
-
Jocelyn Turcotte authored
-
Jocelyn Turcotte authored
Fix the gyp generator to allow including the moc file directly in qwebcontentsview.cpp to be able to use Q_PRIVATE_SLOT instead of having the private object deriving from QObject. This also removes the use of MOCABLE_SOURCES whose entries were added to 'sources' without moc being run on them first.
-
Jocelyn Turcotte authored
- Rename NativeViewQt to RenderWidgetHostViewQtDelegate to keep the context obvious. - Use an interface to handle the parenting instead of the NativeViewContainerQt mechanism that was needed with the Shell.
-
Jocelyn Turcotte authored
-
- Jun 18, 2013
-
-
Zeno Albisser authored
-
- Jun 10, 2013
-
-
Jocelyn Turcotte authored
-
- Jun 06, 2013
-
-
Jocelyn Turcotte authored
This layers things properly to be able to implement the UI in the example application instead of directly in shell_qt.cpp. This is still using global variables to allow the Shell platform code to do callbacks to the API classes. This should go away once we properly implemented a WebContentsDelegate.
-
- May 31, 2013
-
-
Simon Hausmann authored
-
- May 16, 2013
-
-
Pierre Rossi authored
-
- May 15, 2013
-
-
Pierre Rossi authored
-