- 07 Apr, 2015 - 1 commit
-
-
Pierre Rossi authored
Appears to be an oversight for widgets, as the API was there, but just wasn't wired. Also add it for QQuickWebEngineView while we're at it. Change-Id: I07d6e356cbaf22b79f3fc5a82df78c6821993e8d Reviewed-by:
Zeno Albisser <zeno.albisser@digia.com>
-
- 24 Mar, 2015 - 1 commit
-
-
Szabolcs David authored
Change-Id: Iaf5a9c7915cdce36fe3219dd686059973d1a6251 Reviewed-by:
Michael Brüning <michael.bruning@theqtcompany.com>
-
- 20 Mar, 2015 - 1 commit
-
-
Pierre Rossi authored
Switch JS dialogs test to using this over the testsupport plugin. This is a less intrusive approach that lives as self contained qml modules within the test infrastructure. As an added benefit, it covers the UI delegation logic from end to end, including what happens in ui_delegates_manager.cpp. Change-Id: I1cc0afaf5514d53e1f3b4b0682379dd2d8d8a913 Reviewed-by:
Andras Becsi <andras.becsi@theqtcompany.com>
-
- 16 Mar, 2015 - 2 commits
-
-
Szabolcs David authored
When the user does a middle click on a link which originally opens a new tab (target="_blank"), the newly created RenderView is hidden, so the new tab has no visible content. We need to unhide it explicitly. This also adds background tab support for the Quick example browsers and fixes the profile mismatching warning in the case when we adopt a new tab without WebContents. Change-Id: Ia3c2e752a4784d32133cee0ff278c2849b151582 Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
-
Szabolcs David authored
Change-Id: Ifc0baac73daad9146eb8f2878e49257d25310555 Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@theqtcompany.com> Reviewed-by:
Andras Becsi <andras.becsi@theqtcompany.com>
-
- 13 Mar, 2015 - 1 commit
-
-
Peter Varga authored
HTML5 provides built-in form validation that is supported by chromium. The form validation messages should be shown by the browser therefore new MessageBubble UI element has been added to Quick and Widget implementations. This patch implements chromium's form validation events and shows the messages in a MessageBubble. Change-Id: I0c8f4f102823117e2bfb16ff8a4c503635491939 Reviewed-by:
Andras Becsi <andras.becsi@theqtcompany.com>
-
- 11 Mar, 2015 - 1 commit
-
-
Szabolcs David authored
Test alert, confirm and prompt dialogs via test support API. Change-Id: I9057a887491ac68e86ccd87181d4091323f6ee6f Reviewed-by:
Peter Varga <pvarga@inf.u-szeged.hu> Reviewed-by:
Andras Becsi <andras.becsi@theqtcompany.com>
-
- 09 Mar, 2015 - 1 commit
-
-
Szabolcs David authored
Introduce a new FullScreenRequest object as the parameter of the fullScreenRequested signal and expose the isFullScreen property as read-only. This makes the API harder to misuse. Change-Id: Ibb072ec93843e6df265bd930e8721d244bc2f4bc Reviewed-by:
Andras Becsi <andras.becsi@theqtcompany.com>
-
- 06 Mar, 2015 - 1 commit
-
-
Peter Varga authored
The testsupport API is used for test those features that are not planned to be accessible via the public API. For example, signals of the chromium's error page should not be visible for the develepor but it is important to test whether the error page is loaded properly. Change-Id: Ie5b3265a207d05649cabd624a001a6ffe2e45971 Reviewed-by:
Andras Becsi <andras.becsi@theqtcompany.com>
-
- 04 Mar, 2015 - 2 commits
-
-
Szabolcs David authored
- Add a default 0 value for the FindFlags parameter - Update tests and examples - Import documentation from the Widgets side Change-Id: Ifb627a81247028416bc7a31068676ea871f6dcf4 Reviewed-by:
Andras Becsi <andras.becsi@theqtcompany.com>
-
Paulo Pinheiro authored
This patch enables Quick API to handle multiple certificate errors per requests and update the example projects. Chromium 40 branch raise an certificate error for every resource loaded in a request (.js, .css, .html) instead of only one (previous behavior), so requests with more than one certificate error were automatically rejected. Change-Id: Ibaa3027cd6e7f22b5dc51dcd52f76ccf5ea162d3 Reviewed-by:
Pierre Rossi <pierre.rossi@theqtcompany.com>
-
- 02 Mar, 2015 - 1 commit
-
-
Allan Sandfeld Jensen authored
Adds the QtWebEngineCore namespace to all internal core API. This ensures we don't export any internal symbols in the global namespace. Change-Id: I26af888ea7c6c4c4d0f04c24a377c1a9d3c92751 Reviewed-by:
Andras Becsi <andras.becsi@theqtcompany.com>
-
- 22 Feb, 2015 - 1 commit
-
-
Pierre Rossi authored
QObject-based, allowing the same things as the Widgets API in a declarative fashion. Change-Id: I9c9819b691b2098ec47e0536d47ccd2a950126c2 Reviewed-by:
Andras Becsi <andras.becsi@theqtcompany.com>
-
- 19 Feb, 2015 - 1 commit
-
-
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>
-
- 18 Feb, 2015 - 1 commit
-
-
Pierre Rossi authored
Add an offset role to the models. Implement goBackAndForward that uses this offset. Also add a complete model, items, that includes current navigation entry (at offset 0) to allow for the Firefox-style single menu, and add that one to the nano browser example. The models are now instantiated lazily as it's unlikely the three models will be used by the same app. Change-Id: Ib551738611497c7eb9c501f045cda315968a2ada Reviewed-by:
Andras Becsi <andras.becsi@theqtcompany.com>
-
- 16 Feb, 2015 - 1 commit
-
-
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>
-
- 13 Feb, 2015 - 1 commit
-
-
Pierre Rossi authored
Add a notify signal to go with the setter. Parent the default-provided channel to the view. Comes with basic documentation. Change-Id: I2bde8153df5928fc92ac36b7fa4d4b3b1da22f53 Reviewed-by:
Andras Becsi <andras.becsi@theqtcompany.com>
-
- 12 Feb, 2015 - 1 commit
-
-
Pierre Rossi authored
Provide a transport mechanism for WebChannel over chromium IPC and expose WebChannel in our experimental QML API. Co-authored by Milian Wolff. Change-Id: Ia24b1d4ebc8515de677d4849ec33cb55c963918e Reviewed-by:
Andras Becsi <andras.becsi@theqtcompany.com>
-
- 06 Feb, 2015 - 1 commit
-
-
Michael Brüning authored
Change-Id: Ida74680a4180f4366746874a656041364563d548 Reviewed-by:
Andras Becsi <andras.becsi@theqtcompany.com>
-
- 05 Feb, 2015 - 2 commits
-
-
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>
-
- 02 Feb, 2015 - 2 commits
-
-
Allan Sandfeld Jensen authored
To avoid crashing due to a mismatch of browser-contexts used by webcontent and webcontent adapters and clients, we refuse to open content in a new window witha different profile and prints a warning so the developers may fix their software. Change-Id: I704266a96de2d7a5f8e1fa3ccf49a50f1d2307c9 Task-number: QTBUG-43898 Reviewed-by:
Andras Becsi <andras.becsi@theqtcompany.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>
-
- 23 Jan, 2015 - 2 commits
-
-
Szabolcs David authored
This moves the API to public, with proper versioning, adds documentation and adjust the warning to also report an null parameter to openIn that would cause the load to fail. The experimental example code is copied from quicktestbrowser to quicknanobrowser. Change-Id: I23b06c7a5add0323d0540a783873584438d85ea8 Reviewed-by:
Szabolcs David <davidsz@inf.u-szeged.hu> Reviewed-by:
Andras Becsi <andras.becsi@theqtcompany.com>
-
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>
-
- 22 Jan, 2015 - 1 commit
-
-
Jocelyn Turcotte authored
The current implementation would enable or disable the inspector globally when the inspectable property was set on a WebEngineView, overwriting the value previously set by other pages. Instead of havind default port for the debugging server and having to enable debugging on individual pages, use an environment variable, QTWEBENGINE_REMOTE_DEBUGGING, to enable the debugging server for the whole application at the same time as specifying the port. The format is the same as for QTWEBKIT_INSPECTOR_SERVER in QtWebKit. QTWEBENGINE_REMOTE_DEBUGGING is set by default in quicktestbrowser to ease development. This also keeps the input reading from the --remote-debugging-port command line switch for convenience, but its usage should be considered internal. This patch also take the opportunity to remove the unused DevToolsHttpHandlerDelegateQt::m_browserContext and to move the ownership from ContentBrowserClientQt to WebEngineContext since the list of inspectable pages isn't bound to the BrowserContext anyway. Change-Id: I772687f88f4feee0cc14dd182b0129cc0ea384dd Reviewed-by:
Pierre Rossi <pierre.rossi@theqtcompany.com>
-
- 16 Jan, 2015 - 1 commit
-
-
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>
-
- 06 Jan, 2015 - 1 commit
-
-
Robin Burchell authored
This doesn't seem to be too much sense, and according to the QQmlContext documentation, may not work as expected: "This is only valid for components created directly from QML." Change-Id: I49db5dad49288d196e8519b1a60dcf2192147672 Reviewed-by:
Pierre Rossi <pierre.rossi@theqtcompany.com>
-
- 12 Dec, 2014 - 1 commit
-
-
Allan Sandfeld Jensen authored
Introduces the QML API for the WebEngineProfiles already implemented for QtWebEngineWidgets. [ChangeLog][QtWebEngineQML][QQuickWebEngineProfile] New API for profiles applying to groups of QQuickWebEnginePages. Change-Id: Ideccddb9f1fb19628297592fe0cec504c9890e46 Reviewed-by:
Andras Becsi <andras.becsi@theqtcompany.com>
-
- 24 Nov, 2014 - 2 commits
-
-
Pierre Rossi authored
In the same way it was done for widgets. Change-Id: I03ff6ed587346b00c76cf7314483263fd4f90a2d Reviewed-by:
Jocelyn Turcotte <jocelyn.turcotte@digia.com>
-
Pierre Rossi authored
Change-Id: I1a5fedc4167dd780655b004811211e49631663c5 Reviewed-by:
Andras Becsi <andras.becsi@digia.com> Reviewed-by:
Zeno Albisser <zeno.albisser@digia.com>
-
- 06 Nov, 2014 - 1 commit
-
-
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>
-
- 28 Oct, 2014 - 1 commit
-
-
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>
-
- 21 Oct, 2014 - 1 commit
-
-
Jarred Nicholls authored
A tab's disposition can be foreground (e.g. target="_blank") or background (Ctrl+Click, or middle-click). API consumers should be able to discern between the two intents, so they can decide whether or not to focus their new view. Change-Id: Iab3ccb9e9f0b85256892f4f74204515bdeefa695 Reviewed-by:
Zeno Albisser <zeno.albisser@digia.com>
-
- 13 Oct, 2014 - 1 commit
-
-
Pierre Rossi authored
and add shortcuts in the examples (with a basic UI in the test browser) Change-Id: I237a04cf0b1fce2e0c6f8a19891ff3cb51727a40 Reviewed-by:
Zeno Albisser <zeno.albisser@digia.com>
-
- 07 Oct, 2014 - 1 commit
-
-
Kai Koehne authored
It's faster to use QLatin1String in places where we don't actually need a QString object (like for comparison, or when creating a string with QStringBuilder). Change-Id: I9b8e28040dc2b79a767e15015b85822d06141bbe Reviewed-by:
Zeno Albisser <zeno.albisser@digia.com>
-
- 12 Sep, 2014 - 1 commit
-
-
Jocelyn Turcotte authored
This method will be called if JavaScript calls window.close() and it currently crashes because of Q_UNREACHABLE. Change-Id: I50e261ff459879e9befb2a754f0108d7d2f18ca2 Reviewed-by:
Michael Bruning <michael.bruning@digia.com>
-
- 05 Sep, 2014 - 1 commit
-
-
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>
-
- 02 Sep, 2014 - 2 commits
-
-
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>
-
Pierre Rossi authored
Expose settings in experimental for now. Simply use the global/per-view mechanism as a group level in between seems like overkill. Change-Id: I7610e9c7765ccb41674702acdd24a52b87716da8 Reviewed-by:
Jocelyn Turcotte <jocelyn.turcotte@digia.com>
-