- Feb 06, 2014
-
-
Zeno Albisser authored
Change-Id: Ia7bb688e3ace174da7fd5957a35f47f9b886952f Reviewed-by:
Jocelyn Turcotte <jocelyn.turcotte@digia.com>
-
- Jan 28, 2014
-
-
Adam Kallai authored
Change-Id: I3670380d76d014a33e0112631bdb42927b67b9d9 Reviewed-by:
Andras Becsi <andras.becsi@digia.com>
-
- Jan 15, 2014
-
-
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>
-
- Dec 23, 2013
-
-
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>
-
- Oct 11, 2013
-
-
Pierre Rossi authored
Change-Id: I48c0ed54cd946f223dc050b8a1f26282b02964a2 Reviewed-by:
Zeno Albisser <zeno.albisser@digia.com>
-
- Oct 04, 2013
-
-
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>
-
- Oct 03, 2013
-
-
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>
-
- Aug 19, 2013
-
-
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>
-
- Jul 31, 2013
-
-
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>
-
- Jul 03, 2013
-
-
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>
-
- Jun 25, 2013
-
-
Sergio Ahumada authored
Change-Id: If41e2991be7877060f7739877f756acf2679b688 Reviewed-by:
Zeno Albisser <zeno.albisser@digia.com>
-
- Jun 18, 2013
-
-
Zeno Albisser authored
-
Pierre Rossi authored
-
Zeno Albisser authored
-
Zeno Albisser authored
-
Pierre Rossi authored
-
- Jun 17, 2013
-
-
Pierre Rossi authored
Cleaner than deciding on startup with an env variable
-
Zeno Albisser authored
-
- Jun 12, 2013
-
-
Jocelyn Turcotte authored
-
- Jun 11, 2013
-
-
Pierre Rossi 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.
-
- Jun 05, 2013
-
-
Zeno Albisser authored
The current preliminary implementation uses the QQuickPaintedItem. The RasterWindow is being replaced by an abstract NativeViewQt class, which can be instantiated as QWidgetNativeView or QQuickNativeView. The NativeViewContainerQt builds a wrapper around an instance of these classes and serves as a common api towards chromium. Due to the current design where the view is being created by the shell, we introduce a browser_window.qml which provides a very basic browser UI. The content is then being injected into an item within that browser window. Just executing the example the "regular" way will launch the Widgets example. To launch the QtQuick2 example, the environment variable QQUICKWEBENGINE must be defined.
-