- Mar 24, 2015
-
-
Szabolcs David authored
Change-Id: Iaf5a9c7915cdce36fe3219dd686059973d1a6251 Reviewed-by:
Michael Brüning <michael.bruning@theqtcompany.com>
-
- Mar 20, 2015
-
-
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>
-
- Mar 18, 2015
-
-
Robin Burchell authored
QtQuick doesn't have a convenient interface to interact with files, and even if that were the case, it would either be more awkward (and with increased overhead -- the price of an extra QObject, property, signal, etc) just to fetch the contents. So, we provide a convenience to allow fetching a user script from a file. Setting the sourceCode directly will reset sourceUrl (if it is set), and setting sourceUrl will ultimately result in a sourceCode change signal, too. Change-Id: Iee5abc0d719e2aeeacf1265f695b5a7efee9e0e8 Reviewed-by:
Andras Becsi <andras.becsi@theqtcompany.com>
-
- Mar 16, 2015
-
-
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>
-
Michael Brüning authored
The documentation of the settings is more or less copied from the widgets equivalent. Change-Id: Ib969c26aaeda92d1a01450f3903c85a3e1079523 Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
-
- Mar 13, 2015
-
-
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>
-
- 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>
-
Robin Burchell authored
The name 'source' is unclear, and doesn't match current conventions in QtQuick (e.g. Image::source). Furthermore, such a property inhibits adding convenience API to fetch a user script from an external URI. Change-Id: I518b3963f64f0986f9e2d08fe7c5f69122372e0c Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
-
- Mar 11, 2015
-
-
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>
-
- Mar 09, 2015
-
-
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>
-
- Mar 06, 2015
-
-
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>
-
- Mar 04, 2015
-
-
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>
-
- Mar 02, 2015
-
-
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>
-
- Feb 22, 2015
-
-
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>
-
- Feb 19, 2015
-
-
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 18, 2015
-
-
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>
-
- 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
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>
-
- Feb 12, 2015
-
-
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>
-
- Feb 06, 2015
-
-
Szabolcs David authored
- Add missing "REVISION 1" to the new parts of the API: zoomFactor, certificateError and profile. - setZoomFactor should not be a slot. Change-Id: I02551ee7eb7323ff8dbb0b62ea503ed08b2051c2 Reviewed-by:
Andras Becsi <andras.becsi@theqtcompany.com>
-
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>
-
Andras Becsi authored
Rename the download signal to downloadRequested and only start a download if it has been explicitly accepted by the user, else cancel it by default. Replace the downloadPercentage property with totalBytes and receivedBytes to also give the user information about download size. Additionally this patch adds missing documentation. Change-Id: I9d895386cf033f2efffe3ebac6f08f94c6fe0c19 Reviewed-by:
Michael Brüning <michael.bruning@theqtcompany.com> Reviewed-by:
Jocelyn Turcotte <jturcotte@woboq.com>
-
Michael Brüning authored
Change-Id: Ida74680a4180f4366746874a656041364563d548 Reviewed-by:
Andras Becsi <andras.becsi@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
-
-
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>
-
Jocelyn Turcotte authored
Change-Id: If703ff2e5d8fd8ebfe92ad1ac3603c1abe5c7e53 Reviewed-by:
Pierre Rossi <pierre.rossi@theqtcompany.com>
-
- Jan 29, 2015
-
-
Allan Sandfeld Jensen authored
The rename was only done in QWebEngineProfile but is missing in QQuickWebEngineProfile. Change-Id: Ib90d075fe3f4ddf5dbc7e22861d8e76574abb8dd Reviewed-by:
Michael Brüning <michael.bruning@theqtcompany.com>
-
- Jan 28, 2015
-
-
Adam Kallai authored
- Also fix the qtwebengineglobal_p.h header include in quickwebneignedownloaditem_p.h, because it is searched for wrong manner from the tst_publicapi testcase. Change-Id: I8997fafbf198f19a3d54b194f3408def6370417e Reviewed-by:
Jocelyn Turcotte <jocelyn.turcotte@digia.com>
-
- Jan 27, 2015
-
-
Allan Sandfeld Jensen authored
Change-Id: I63621cec0f307fc3c0e71c84f99c68c0372d2992 Reviewed-by:
Andras Becsi <andras.becsi@theqtcompany.com>
-
- Jan 23, 2015
-
-
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>
-
- Jan 22, 2015
-
-
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>
-
Adam Kallai authored
When the ListView component is created from the QQuickWebEngineHistoryListModel model. It requires an adapter to get the currentNavigationEntryIndex and navigationEntryCount for the QQuickWebEngineHistoryListModel::rowCount. Add the default rowCount value while the adapter is not unavailable because of the lazy adapter initialization. Change-Id: Id80d6f56adfea613bdc2c13d9caa1a12f50fddca Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@theqtcompany.com> Reviewed-by:
Andras Becsi <andras.becsi@theqtcompany.com>
-
- Jan 20, 2015
-
-
Andras Becsi authored
This extends the carried information from Chromium's content::DownloadItem with url, totalBytes and receivedBytes in preparation of adding a Widget API for downloads. DownloadItemInfo struct is now constructed to carry information about individual downloads from the content layer to the Qt API layer. Change-Id: I3ee7aea02b74994e612e1b3709195776d5e7570b Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@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 12, 2015
-
-
Andras Becsi authored
This patch exposes downloadStarted and downloadFinished signals on the WebEngineProfile to notify about downloads. The WebEngineDownloadItem exposes a subset of Chromium's content::DownloadItem functionality. For now we expose minimal requirements to be able to control downloads in QML but this can be extended in the future. This patch also adds a DownloadView to quicktestbrowser to demonstrate the usage of the new API. [ChangeLog][QtWebEngineQML] Add QtQuick download API Change-Id: I8d8f0daf02c4e0151000427fc2a4b37d28b9db52 Reviewed-by:
Jocelyn Turcotte <jocelyn.turcotte@digia.com>
-