- 05 Nov, 2014 - 1 commit
-
-
Peter Varga authored
Change-Id: Id2e62af31f1dc5268fe6b163d2fc0b671f5e491a Reviewed-by:
Andras Becsi <andras.becsi@digia.com>
-
- 02 Sep, 2014 - 1 commit
-
-
Pierre Rossi authored
Expose some "testable" settings as well as test the integration with the QML Settings API. Change-Id: I7ec6a7e695f60338b2c16a648e9a93b64ea29a94 Reviewed-by:
Jocelyn Turcotte <jocelyn.turcotte@digia.com>
-
- 22 Aug, 2014 - 1 commit
-
-
Pierre Rossi authored
To have a more "discoverable" UX, and cleaner UI (requiring private QML API for now). Change-Id: Ic275287d429149a1c353a1cbdc5b7f9b19e57410 Reviewed-by:
Gabriel de Dietrich <gabriel.dedietrich@digia.com> Reviewed-by:
Jocelyn Turcotte <jocelyn.turcotte@digia.com>
-
- 12 Aug, 2014 - 1 commit
-
-
Jocelyn Turcotte authored
Also update all the examples to use 1.0 as 0.9 shouldn't be publically recommended. Change-Id: Ic58e35bdfd3a0f3d5201fc069b7103027ba84574 Reviewed-by:
Andras Becsi <andras.becsi@digia.com>
-
- 07 Aug, 2014 - 1 commit
-
-
Peter Varga authored
Change-Id: Ic0de45c1fe2a5537d61ad446c96fe8fda7c30966 Reviewed-by:
Jocelyn Turcotte <jocelyn.turcotte@digia.com>
-
- 16 May, 2014 - 1 commit
-
-
Jocelyn Turcotte authored
Also make sure that this version number appears in the user agent string and in the QML imports. The plan, unlike other Qt modules, is to keep our module and QML versions in sync to make it easy for developers to figure out what API is available in a given version. The QTWEBENGINECORE_VERSION_STR define is explicitly set in the .pro file since we don't call syncqt to generate a version header for the core module. The 0-major version currently causes the library name to start with libQt0 instead of libQt5, but this is something that we can fix in qtbase once we want to officially support linux desktop with QtWebEngine 1.0.0. Change-Id: I31915e84869b4db456416ef1f85a2296b8a06c99 Reviewed-by:
Pierre Rossi <pierre.rossi@gmail.com> Reviewed-by:
Simon Hausmann <simon.hausmann@digia.com>
-
- 29 Apr, 2014 - 1 commit
-
-
Pierre Rossi authored
Change-Id: Ia04c86285543fa10cd5d11c52bf2b6f1b1e20db5 Reviewed-by:
Zeno Albisser <zeno.albisser@digia.com>
-
- 15 Apr, 2014 - 2 commits
-
-
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>
-
Jocelyn Turcotte authored
Change-Id: I9130151876c5bdd54092fd393675a52fc997adca Reviewed-by:
Michael Bruning <michael.bruning@digia.com>
-
- 03 Apr, 2014 - 1 commit
-
-
Peter Varga authored
Change-Id: Ibb5110eb013363f8a7ae386b6a3ccc45cc6ca0aa Reviewed-by:
Jocelyn Turcotte <jocelyn.turcotte@digia.com>
-
- 19 Mar, 2014 - 2 commits
-
-
Jocelyn Turcotte authored
This also removed experimental API uses from the quicknanobrowser example, which should be used mainly for documentation purposes. The quicktestbrowser should be the one that we use from now on as a raw testbed of new APIs. As with other targets in the tests directory, it will only be built by default if Qt is configured with -developer-build (and without -nomake tests). Change-Id: Ib4461c898cd3227bbb810493daac4d841d0d8f3e Reviewed-by:
Pierre Rossi <pierre.rossi@gmail.com>
-
Jocelyn Turcotte authored
To match other modules example directory structures we should deploy our examples in a directory matching the module name, webengine and webenginewidgets in our case. qmake uses the relative directory of each example up to the upper "examples" directory to decide where they will be deployed when running the sources install target. Change-Id: I59ce7ff8a30f98fad20064c7eecf72b784f1d275 Reviewed-by:
Pierre Rossi <pierre.rossi@gmail.com>
-
- 06 Mar, 2014 - 1 commit
-
-
Andras Becsi authored
The tabs.currentView property was probably removed in some earlier change and is undefined, use the currentWebView property instead. Change-Id: I0fc31b0cc7191f2ed2f57c27306387f062cff2e1 Reviewed-by:
Zeno Albisser <zeno.albisser@digia.com>
-
- 13 Feb, 2014 - 1 commit
-
-
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>
-
- 11 Feb, 2014 - 1 commit
-
-
Zeno Albisser authored
This patch adds a property isFullScreen and a signal fullScreenRequested to QQuickWebEngineViewExperimental. The signal fullScreenRequested is emitted when some web content requests fullscreen through the javascript API. The property isFullScreen is supposed to be set programmatically when the view is being shown fullscreen. This information is then available to the WebContentsDelegateQt when checking if the fullscreen request has been accepted. Change-Id: I04cbb45f263a188d26cc87d70ac53b0fbab63936 Reviewed-by:
Jocelyn Turcotte <jocelyn.turcotte@digia.com>
-
- 10 Feb, 2014 - 1 commit
-
-
Zeno Albisser authored
Chromium calls RenderViewHostDelegate::TakeFocus when the last focusable item within the page was reached. We then have to move the focus on to the next/previous QQuickItem. Change-Id: Id0128053602ff1220c1bced1b218050b66fef659 Reviewed-by:
Andras Becsi <andras.becsi@digia.com>
-
- 06 Feb, 2014 - 1 commit
-
-
Zeno Albisser authored
Change-Id: Ia7bb688e3ace174da7fd5957a35f47f9b886952f Reviewed-by:
Jocelyn Turcotte <jocelyn.turcotte@digia.com>
-
- 28 Jan, 2014 - 1 commit
-
-
Adam Kallai authored
Change-Id: I3670380d76d014a33e0112631bdb42927b67b9d9 Reviewed-by:
Andras Becsi <andras.becsi@digia.com>
-
- 15 Jan, 2014 - 1 commit
-
-
Pierre Rossi authored
Starting with the context Menus for QtQuick. Add default UI delegates as a subproject. We allow ourselves to use Qt Quick Controls there for in order to get a nice "out of the box" experience for things like context menus, dialogs, etc while leaving the door open for system embedders to override this. Opting out of the deployment of these QML files is still very primitive but can be done by passing WEBENGINE_CONFIG+=no_ui_delegates at qmake time. Customization of context menus could be done via a qml component, which is probably best kept in experimental for now while we address its shortcomings. Change-Id: I0705b20d5ddd3bb010f9371b65a181c6b02a03e1 Reviewed-by:
Jocelyn Turcotte <jocelyn.turcotte@digia.com>
-
- 23 Dec, 2013 - 2 commits
-
-
Zeno Albisser authored
Change-Id: I146df83948017b5ad72e40d16a8cc7105691c309 Reviewed-by:
Jocelyn Turcotte <jocelyn.turcotte@digia.com>
-
Jocelyn Turcotte authored
This implements adoptNewWindow for QQuickWebEngineView. The API is only intended to be used through QML to avoid delegating the QQuickWebEngineViewHandle ownership through a signal parameter. Another limitation of the implementation is currently to fail the handle adoption unless it is done synchronously within the adoptNewWindow call. To support this we would need to delay the call to WebContentsAdapter::initialize which will leave the adapter without a client when returning to the event loop and would require putting null checks everywhere it is used. So I would prefer to keep the API limited and avoid potential crashes. If we want to support asynchronous Loader elements or QML files fetched from the network in the future, the API should be able to scale to the task once we've adjusted the implementation. This also adds basic tabs support in the quicknanobrowser example. The url property is now set imperatively to avoid overwriting the adopted WebContentsAdapter's loading URL. Change-Id: Iba5c5dc3ffa21045f356be131ca15c01b9aee7c8 Reviewed-by:
Pierre Rossi <pierre.rossi@gmail.com> Reviewed-by:
Zeno Albisser <zeno.albisser@digia.com>
-
- 11 Oct, 2013 - 1 commit
-
-
Pierre Rossi authored
Change-Id: I48c0ed54cd946f223dc050b8a1f26282b02964a2 Reviewed-by:
Zeno Albisser <zeno.albisser@digia.com>
-
- 04 Oct, 2013 - 2 commits
-
-
Arvid Nilsson authored
Set favicon image source to the value of the icon property, not the url. D'oh! Change-Id: I411f787f4f19fbeb2db9a61e4aada79b3527dcfb Reviewed-by:
Arvid Nilsson <anilsson@blackberry.com> Reviewed-by:
Andras Becsi <andras.becsi@digia.com>
-
Arvid Nilsson authored
This exposes loadProgress in both widget and quick webengineviews. However, the progress will not change until we get an upstream change in Chromium where the content LoadProgressChanged API is exposed to all ports, not just Android. The upstream change is https://src.chromium.org/viewvc/chrome?revision=221010&view=revision Once we get that change, you'll see the widget example browser start to paint a blue progress rectangle in the background of the URL bar. Also, a progress bar was added to the quicknanobrowser, but it will be stuck at 0 for now. Change-Id: Icbaa01b86c013e0052b3abb7672c38e57128f44a Reviewed-by:
Zeno Albisser <zeno.albisser@digia.com>
-
- 03 Oct, 2013 - 1 commit
-
-
Arvid Nilsson authored
Adds a favicon API modelled after the WebKit2 QQuickWebView API, but using an http(s) URL instead of a custom protocol, because there's no icondatabase yet. The icon URL lingers even when a new load is committed, until the load finishes. It might be more prudent to clear the icon when committing a new load, but I opted to let the app take care of that detail if desired. Many browsers show a spinner instead of the favicon while loading, for example. There's no widget API implementation for favicons yet, because that API only makes sense if we have a full-fledged icon database (case in point: QWebEngineSettings::iconForUrl()). Change-Id: I1e7b85104c80de2ae46a5fe9a273104d43a5c71f Reviewed-by:
Andras Becsi <andras.becsi@digia.com>
-
- 19 Aug, 2013 - 2 commits
-
-
Jocelyn Turcotte authored
Change-Id: I58d83f4f33728f92e4bf13b6be30b15528fdd033 Reviewed-by:
Zeno Albisser <zeno.albisser@digia.com>
-
Jocelyn Turcotte authored
This also ajust the name to be consistent with other Qt examples. - Move nano browser one directory level down, also renaming them to match their target name - Remove the dashes from the target names - Rename the qtquick example directory to quick, matching the style in lib Change-Id: I4a5e31be0b919ae596eadbf731be52372ae61151 Reviewed-by:
Zeno Albisser <zeno.albisser@digia.com>
-
- 31 Jul, 2013 - 1 commit
-
-
Pierre Rossi authored
It's quite convenient when one wants to test if navigating works. Change-Id: I89404df3a9a878701180fdd5b5144b46b3f68df5 Reviewed-by:
Zeno Albisser <zeno.albisser@digia.com>
-
- 03 Jul, 2013 - 1 commit
-
-
Zeno Albisser authored
Use the same icons for the widgets and qtquick example. Remove the styling as it does not work on all platforms anyway. Change-Id: Iff59455689619ae45823eb835768d7c4fc75bd93 Reviewed-by:
Andras Becsi <andras.becsi@digia.com>
-
- 25 Jun, 2013 - 1 commit
-
-
Sergio Ahumada authored
Change-Id: If41e2991be7877060f7739877f756acf2679b688 Reviewed-by:
Zeno Albisser <zeno.albisser@digia.com>
-
- 18 Jun, 2013 - 5 commits
-
-
Zeno Albisser authored
-
Pierre Rossi authored
-
Zeno Albisser authored
-
Zeno Albisser authored
-
Pierre Rossi authored
-
- 17 Jun, 2013 - 2 commits
-
-
Pierre Rossi authored
Cleaner than deciding on startup with an env variable
-
Zeno Albisser authored
-
- 12 Jun, 2013 - 1 commit
-
-
Jocelyn Turcotte authored
-
- 11 Jun, 2013 - 1 commit
-
-
Pierre Rossi authored
-
- 06 Jun, 2013 - 1 commit
-
-
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.
-