summaryrefslogtreecommitdiffstats
path: root/src/webengine/api
Commit message (Collapse)AuthorAgeFilesLines
* Doc: Fix type name to build FormValidationMessageRequest::type docsLeena Miettinen2016-12-221-1/+1
| | | | | Change-Id: I518cd1af6a6952c5ed325b51fbf34e312d90f594 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* Doc: Describe WebEngineDownloadItem.DownloadCancelled enum valueLeena Miettinen2016-12-221-0/+2
| | | | | Change-Id: I829cd3225858be5c10b00ee5b9c586abb6431111 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* Doc: Add docs for the WebEngineNavigationRequest typeLeena Miettinen2016-12-221-0/+59
| | | | | Change-Id: I41d0d286f25aa28b859271d907f226f5740524e0 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* Doc: Fix property name JavaScriptDialogRequest::defaultTextLeena Miettinen2016-12-221-3/+2
| | | | | | | | The type value was also wrong (should have been DialogTypePrompt), so the text was changed to use natural language insted of code. Change-Id: I5e27749af54a20e722fcd0ccf793cd948151112a Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* Fix build when PDF support is disabledPeter Varga2016-12-011-0/+7
| | | | | | | | Wrap unused parameters. Change-Id: Iac550783a55b3fc585db6f7b8241aa2ae89fdf2e Reviewed-by: Michael Brüning <michael.bruning@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Move the QPrinter and QtWidgets related code out of the PDFium wrapperMichael Brüning2016-11-252-3/+10
| | | | | | | | | | | This moves the actual printing using QPrinter to the WebEngineWidgets part of the API. The printsupport module depends on the widgets module and therefore QtWebEngineCore also had a dependency to widgets. This is removed by this change. Change-Id: If6e5745709a59de18f2123b930cbe6e64390c867 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Merge remote-tracking branch 'origin/5.7' into 5.8Allan Sandfeld Jensen2016-11-251-1/+1
|\ | | | | | | | | | | | | Conflicts: src/3rdparty Change-Id: Ib9c9eca457c1c42dab948e6cb56d44b57d5da32a
| * Fix nullpointer dereferencing errorViktor Engelmann2016-10-121-1/+1
| | | | | | | | | | | | | | | | | | Check whether iconUrls is NULL before calling contains(iconUrl) on it, which, under certain circumstances, caused a SEGFAULT. Task-number: QTBUG-56330 Change-Id: Ia167d68a4c4d62af4740a8cbab2686bfbc975455 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* | Remove RequestType prefixMichal Klocek2016-11-023-12/+12
| | | | | | | | | | | | | | | | Removes RequestType prefix from FormValidationMessageRequest's RequestType enumeration members. Change-Id: I51b7eb77b0bae2a8d3109e3ee3b7ea42349b211c Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* | Update spellcheck api to support multiple languagesMichal Klocek2016-10-292-20/+20
| | | | | | | | | | | | Task-number: QTBUG-56074 Change-Id: I2a66e91dd4ed1026e5ab2539cfd3f9094263b48c Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* | Fix spellchecking for macOSAlexandru Croitor2016-10-171-3/+23
| | | | | | | | | | | | | | | | | | | | | | | | The change fixes spellchecking to work on macOS. A new WebEngine configure option is available to allow spellchecking on macOS to use either Hunspell like the other platforms, or the native spellchecker that comes with the OS. The default is to use Hunspell. Task-number: QTBUG-53135 Change-Id: I3e45b2e0d728b1bf2659c35f3d0a042b0ecd6239 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | Merge remote-tracking branch 'origin/5.7' into 5.8Liang Qi2016-10-065-12/+14
|\| | | | | | | | | | | | | | | Conflicts: src/3rdparty src/webengine/api/qquickwebenginesettings.cpp Change-Id: Ie4abadb076c51d070cbb05f29b9ebcd9705933ad
| * Merge remote-tracking branch 'origin/5.6' into 5.7Liang Qi2016-10-041-1/+1
| |\ | | | | | | | | | | | | | | | | | | Conflicts: src/3rdparty Change-Id: I49d99b5ac2cfba243eda1ea705c2a7d71b5542f6
| | * Doc: Fix initialize() documentationMichal Klocek2016-09-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | We do not share context between "processes", but between "threads" Change-Id: I20f558f913c1f19fc469ade6faab45762f42d528 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
| * | Merge remote-tracking branch 'origin/5.6' into 5.7Liang Qi2016-09-244-11/+13
| |\| | | | | | | | | | | | | | | | | | | Conflicts: src/webengine/api/qquickwebenginesettings.cpp Change-Id: Ib7e2a7558c685410c49c455218d3b9c30f32358f
| | * Merge remote-tracking branch 'origin/5.6.2' into 5.6Liang Qi2016-09-233-9/+9
| | |\ | | | | | | | | | | | | Change-Id: I3e152ee134ed38628d1bf9571df58f469b29e74b
| | | * Fix crash when using openIn on newly created viewv5.6.2Christophe Chapuis2016-09-231-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a link triggers a NewViewRequest, and the latter creates a new window with a new WebEngineView inside, the "adapter" pointer can still be NULL when the adoptWebContents is called by openIn. Therefore is it necessary to test the adapter pointer before using it. (cherry picked from commit bfc2683ab4ca3f56a2effd1b2f7e68850acb72ba) Task-number: QTBUG-55765 Change-Id: Iaa7cb4e8c7780a2e3f1a8c85b7b5da0ec541b2f3 Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
| | | * Doc: Fix types of \qmlpropertyKai Koehne2016-09-193-9/+9
| | | | | | | | | | | | | | | | | | | | Change-Id: Ie355f72a0bf575e66ab465fb2fcada0430ed8c7c Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
| | * | Fix crash when using openIn on newly created viewChristophe Chapuis2016-09-201-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a link triggers a NewViewRequest, and the latter creates a new window with a new WebEngineView inside, the "adapter" pointer can still be NULL when the adoptWebContents is called by openIn. Therefore is it necessary to test the adapter pointer before using it. Task-number: QTBUG-55765 Change-Id: Ia1a299dd65c229705462c9444b81d7b26567fc09 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | | | Doc: Do not call Greasemonkey attributes 'extensions'Kai Koehne2016-10-041-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The term stems from Chromium extensions, which are however overloaded. Sadly there's no good page we can link to inside Chrome/Chromium for the attributes we support ... Change-Id: Ife7fcdba7bdfdbd4b7248b247c4baa188a44867a Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* | | | Doc: Fix typo in qquickwebenginedialogrequestsMichal Klocek2016-10-041-4/+4
| | | | | | | | | | | | | | | | | | | | Change-Id: Iec812053f0a3681961b787ecaf4f70c5bc6e1a63 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* | | | Make argument of slots explicit in examplesKai Koehne2016-10-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make the name of arguments explicit by using the onXXX: function(arg) { syntax. Change-Id: I1b24e444d4c8e2e26561edc043b53672ccb4de23 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | | | Remove viewSource and canViewSource APIs and use WebAction insteadPeter Varga2016-10-012-17/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Task-number: QTBUG-56092 Change-Id: I026a0d153269a71e4e44f0fd30ef5ca054edd0e7 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | | | Cleanup directory structureAllan Sandfeld Jensen2016-09-272-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The src/core/renderer directory is meant to contain files that would be in the renderer process and the chrome/renderer subdirectory in chromium, but a few classes from the browser process and the renderer_host dir has snuck in. This patch cleans up the structure so that classes in the browser that serves as host classes for renderer classes goes in renderer_host. Change-Id: I9333b1322e2246d4da9b4e8cfe6be604f6d996bf Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* | | | Doc: Link focusOnNavigationEnabled to exampleKai Koehne2016-09-261-1/+2
| | | | | | | | | | | | | | | | | | | | Change-Id: I4589bc607044bed9024290fdb71fbb2c871ef583 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* | | | Fix documentation for AuthenticationDialogRequest.typeKai Koehne2016-09-261-3/+3
| | | | | | | | | | | | | | | | | | | | Change-Id: I9c369349931ed45ef4b1cdd089609210450942c6 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* | | | Doc: Replace external w3schools link with standard oneKai Koehne2016-09-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also change title to be lower case. Change-Id: I333a1a2854308b44f58e15a61dd7316787440952 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* | | | Fix documentation for new WebEngineDownloadItem::type enumerationKai Koehne2016-09-261-7/+10
| | | | | | | | | | | | | | | | | | | | Change-Id: Iaa6d1daa66d6c49c0545d36041485c7156003805 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* | | | Remove superfluous Q_REVISION markers from QML APIKai Koehne2016-09-261-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Q_REVISION does only make sense for Q_INVOKABLE's/signals/slots/properties. Change-Id: I5579ff09b85728ee99045e3619f38ab23d43d01d Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* | | | Remove experimental Quick APISzabolcs David2016-09-223-137/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QtWebEngine.experimental import is not working. It is better to get rid of that. It also removes some QNX-specific code. Change-Id: If80c1290b4d5f5e4d436c49bd7d7a6ea882ee6db Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* | | | Expose allow-running-insecure-contents as a settingAllan Sandfeld Jensen2016-09-222-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | AllowRunningInsecureContent was added as a setting in core to enable parsing a chromium command-line argument. This patch forwards the setting to our API layers. [ChangeLog][Settings] Added setting to allow secure content to run insecure content. Task-number: QTBUG-54902 Change-Id: I4e005be1a29905ccf931fabe9ccb308b7d947c62 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* | | | Merge remote-tracking branch 'origin/5.7' into 5.8Liang Qi2016-09-212-2/+2
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/3rdparty src/core/delegated_frame_node.h src/webengine/api/qquickwebenginecontextmenudata.cpp Change-Id: I163488d0d32cd981351608b2886f12e547e24672
| * | | Doc: Fix types of \qmlpropertyKai Koehne2016-09-202-6/+6
| | | | | | | | | | | | | | | | | | | | Change-Id: Ibb470580404f2b09dc8c7c2de275ade97251d612 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
| * | | Merge remote-tracking branch 'origin/5.6' into 5.7Allan Sandfeld Jensen2016-09-121-1/+1
| |\| | | | | | | | | | | | | | Change-Id: I9acebc9f1d01ab9041f75c49749f8a122ffbfe30
| | * | Improve QWebEngineSettings::JavascriptCanOpenWindows docsFlorian Bruhin2016-09-061-1/+1
| | |/ | | | | | | | | | | | | Change-Id: I44105c768a958714590b979d3877724f0db659ee Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* | | Doc: Describe spellchecking feature in overviewsLeena Miettinen2016-09-201-0/+4
| | | | | | | | | | | | | | | Change-Id: I1164a505752d37a31006175dd6a3e6555b973e20 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* | | Correct documentation for printing of CSS backgroundsMichael Brüning2016-09-181-1/+1
| | | | | | | | | | | | | | | | | | | | | It also applies to regular printing now that it is available. Change-Id: I69fcf8138177de6052977eae489f2c7e55619216 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | | Certificate transparencyAllan Sandfeld Jensen2016-09-142-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | Adds certificate errors and services to handle enforcing of certificate transparency. No logs are used though. Change-Id: If7f954487e1a9a3b0ff68e33ff3766f49ea89b0a Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* | | Add context menu request to qml apiMichal Klocek2016-08-316-373/+378
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduce qml APIs to support custom context menus. [ChangeLog][QtWebEngine][QML] Added ability to show custom context menu. Task-number: QTBUG-52554 Change-Id: Ief0cbbbf221f4c6849e16bbba7417dccee59ad61 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* | | Add dialog requests to qml apiMichal Klocek2016-08-315-10/+1189
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduce qml APIs to support custom dialogs: * http and proxy authentication * javascript dialogs * file pickers * color pickers * form validation messages [ChangeLog][QtWebEngine][QML] Added ability to provide custom dialogs for HTTP and proxy authentication, JavaScript alerts, file and color picking, and form validation messages. Task-number: QTBUG-51190 Change-Id: I559ca59264750feb36ba7d3dba0bf0647509306d Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* | | Quick: Fix assertion fail after responding to certificate errorSzabolcs David2016-08-311-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | Don't reject the error one more time if it's already answered. Task-number: QTBUG-55629 Change-Id: Ic8cbcbc41f107b9efe15af9cb67add41cf9903e6 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* | | Add setting to enable printing of CSS backgroundsMichael Bruning2016-08-282-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ChangeLog][Printing] Printing will now include the CSS background of the printed elements by default. This restores the default behavior from Qt WebKit. It can be controlled via the PrintElementBackgrounds web setting. Task-number: QTBUG-54918 Change-Id: I37c37456dfec6368f22c36c515ac3cad1bbf8006 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | | Doc: Additional Chromium extensions are supported since Qt 5.8Leena Miettinen2016-08-251-1/+2
| | | | | | | | | | | | | | | | | | Task-number: QTBUG-55242 Change-Id: Ia02ffaff1c0c39dc61b4aa73b11f8f9a6f7bc174 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | | Add widgets API for printing on a QPrinterMichael Bruning2016-08-241-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Renders the content to a PDF document and then renders this on a QPrinter-backed QPainter using the PDFium library. PDFium bitmap to QImage conversion based on work by Paulo Pinheiro <paulvap.os@gmail.com>. [ChangeLog][QtWebEngineWidgets][Printing] Enables printing QWebPage content on a QPrinter. Currently does not support previewing the document. Widgets only for the moment. Change-Id: I9a5264433093379aee90f5e4f69bf2aee8814f2b Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | | Merge dev into 5.8Oswald Buddenhagen2016-08-227-68/+70
|\ \ \ | | | | | | | | | | | | Change-Id: I23aa7e41dfbbb7c4e4259a32868e64c58c0a1310
| * | | Merge remote-tracking branch 'origin/5.7' into devLiang Qi2016-08-167-68/+70
| |\| | | | | | | | | | | | | | Change-Id: Id5f97771be23a4393e8d3be98903c321377ae809
| | * | Merge remote-tracking branch 'origin/5.6' into 5.7Liang Qi2016-08-166-53/+48
| | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/3rdparty src/webengine/api/qquickwebenginecertificateerror.cpp src/webengine/doc/src/webengineview.qdoc tools/qmake/config.tests/libcap/libcap.cpp Change-Id: I2a2cfc904a8d6b561fb71ef7a0cc4bfb860124db
| | | * Doc: Add type name to enumeration values to follow the doc conventionLeena Miettinen2016-08-095-32/+48
| | | | | | | | | | | | | | | | | | | | Change-Id: I86eea3a64a38f6ec9984f663499abffa03cd9eb2 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| | | * Doc: Move WebEngineView property docs to webengine.qdocLeena Miettinen2016-07-291-20/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The docs do not currently get built, because docs for a QML type need to reside in one file. Also edited the docs for grammar and style. Change-Id: Ic62f293e113d0e4bfe0497ce4a665a2a42971eb3 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
| | * | Doc: Add type name to enumeration values added in Qt WebEngine 1.3Leena Miettinen2016-08-084-15/+22
| | | | | | | | | | | | | | | | | | | | Change-Id: I8f3aa86b451e57d01937559e595a439529a839ce Reviewed-by: Kai Koehne <kai.koehne@qt.io>