summaryrefslogtreecommitdiff
path: root/Source/WebKit/qt/WidgetApi
Commit message (Collapse)AuthorAgeFilesLines
* Import QtWebKit commit 55ed4f703de7bfbb0f554cd05dccff4c6db1bba3Konstantin Tokarev2019-09-051-0/+4
| | | | | Change-Id: I5063dd830f1cedda84e1ae66b0e659ffe7efa22c Reviewed-by: Konstantin Tokarev <annulen@yandex.ru>
* Import QtWebKit commit 1c054b639030b02ff98964cc915beaa45b18e6ceKonstantin Tokarev2019-09-021-10/+0
| | | | | Change-Id: Ieac288ef14217f25da44d69e1d191c47290182c3 Reviewed-by: Konstantin Tokarev <annulen@yandex.ru>
* Import QtWebKit commit 58390740ab21cbf3ad8d7b51972c9b24fdf58a9cKonstantin Tokarev2019-08-131-1/+1
| | | | | Change-Id: Ia730b2ca3e5c8c1556fed3301cdf2da7cfbd802f Reviewed-by: Konstantin Tokarev <annulen@yandex.ru>
* Import WebKit commit 85c24b4e854b971f0705bb3411cfd4c0b821f491Konstantin Tokarev2017-10-132-5/+50
| | | | | Change-Id: I3f9320f43d5d1fc5169a6c1b9dcea454974d6578 Reviewed-by: Konstantin Tokarev <annulen@yandex.ru>
* Import WebKit commit 3ca7a25a550e473d60bbbe321475c6c0ef114b31Konstantin Tokarev2017-06-023-1/+43
| | | | | Change-Id: I480668a0cb8114dccf7a1195190a993282875759 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Import WebKit commit 7aa9943a36e7f3e72207dbf448d2d80fb368a300Konstantin Tokarev2017-04-282-0/+9
| | | | | Change-Id: I7e96b8e5ba5eef9b0c6c0835e200f770200573ed Reviewed-by: Konstantin Tokarev <annulen@yandex.ru>
* Import WebKit commit 3040e0455efecd271f1aeef53cf287e75486a70dKonstantin Tokarev2017-04-251-4/+4
| | | | | Change-Id: I7df106cef8ce93ce33e49ad6fb0d202cd066d87c Reviewed-by: Konstantin Tokarev <annulen@yandex.ru>
* Import WebKit commit 1686903dfa4ab621a1b16a1a87529c88b07414a6Konstantin Tokarev2017-04-111-2/+1
| | | | | Change-Id: I07d705b9195c04d2d269586d67604150a5bda554 Reviewed-by: Konstantin Tokarev <annulen@yandex.ru>
* Import WebKit commit 13ac532967b6ac2d18d6fc4ea72c4ca35eccff20Konstantin Tokarev2017-03-313-14/+63
| | | | | Change-Id: I12a5c8f98aeaac1b542ce20c0ff297c57b5d84d1 Reviewed-by: Konstantin Tokarev <annulen@yandex.ru>
* Import WebKit commit 17e8bfb1ff30314a838b9bf641c112f63a11dba4Konstantin Tokarev2017-03-261-6/+6
| | | | | Change-Id: Ib6549e44a04300c7b7b07ddc9094b823b37f3183 Reviewed-by: Konstantin Tokarev <annulen@yandex.ru>
* Imported WebKit commit 7952fc64448c2e3c95c814b81cb055211c400786Konstantin Tokarev2017-02-036-15/+49
| | | | | Change-Id: I55b781a0908e86519ba08df274b16b8f169631dd Reviewed-by: Konstantin Tokarev <annulen@yandex.ru>
* Imported WebKit commit bdab88b903fe1a254c80af20161183976670cd3bKonstantin Tokarev2017-02-021-1/+2
| | | | | Change-Id: Idc1156f4a64df4e7d89e90d4e03451f004c8ae6d Reviewed-by: Konstantin Tokarev <annulen@yandex.ru>
* Imported WebKit commit 30997fb33975697a4af9cc6eef69967313d0ec9aKonstantin Tokarev2017-02-022-0/+6
| | | | | Change-Id: I8a2348dd9eb59df840dde6b66141d562aff29bf4 Reviewed-by: Konstantin Tokarev <annulen@yandex.ru>
* Imported WebKit commit 12fbea815480c3b3fad139cd8dfb82e8c954bc9aKonstantin Tokarev2017-02-024-0/+26
| | | | | Change-Id: Iccbb1e8bd8b7f72322614224c203fc509a8dbb79 Reviewed-by: Konstantin Tokarev <annulen@yandex.ru>
* Imported WebKit commit 490f716dd2dd07fb0d6652795c62586e2e28ae27Konstantin Tokarev2017-02-028-80/+75
| | | | | Change-Id: I9f66467721cf923468af87915c260c1bb44e013e Reviewed-by: Konstantin Tokarev <annulen@yandex.ru>
* Imported WebKit commit eb954cdcf58f9b915b2fcb6f8e4cb3a60650a4f3Konstantin Tokarev2017-02-024-0/+17
| | | | | Change-Id: I8dda875c38075d43b76fe3a21acb0ffa102bb82d Reviewed-by: Konstantin Tokarev <annulen@yandex.ru>
* Imported QtWebKit TP3 (git b57bc6801f1876c3220d5a4bfea33d620d477443)Konstantin Tokarev2017-02-0210-186/+199
| | | | | Change-Id: I3b1d8a2808782c9f34d50240000e20cb38d3680f Reviewed-by: Konstantin Tokarev <annulen@yandex.ru>
* Make more ctors explicitMarc Mutz2016-03-041-1/+1
| | | | | | | | | | Added explicit where it was missing. This is not a source- incompatible change, because code that breaks by this is a bug. Let's not have this sitting around in an LTS. Change-Id: If2e979aa5772b8dc0b9a4a9360914740144d47a7 Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* Make public headers compile with -Wzero-as-null-pointer-constantMarc Mutz2016-03-044-9/+9
| | | | | | | | | | | | ... or equivalent. QtBase 5.6 headers already compile that way, so let the other modules follow suit. Change-Id: I9e521f91abe7972843eeeb6406f8605778dabbaf Task-number: QTBUG-45291 Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* Fixed unfinished phrase in documentation of evaluateJavaScript.Konstantin Tokarev2016-02-041-4/+3
| | | | | | Change-Id: I5b5f43c68feedbace330494e7eb051cfe8a54128 Reviewed-by: Dmitry Shachnev <mitya57@gmail.com> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* Handle WebKitErrorDomain error like other errorsJoni Poikelin2016-01-291-1/+1
| | | | | | Change-Id: Ie4dd08b18706e44947a00b4d61a185b5fc43f478 Reviewed-by: Konstantin Tokarev <annulen@yandex.ru> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* Improved documentation of evaluateJavaScript().Konstantin Tokarev2016-01-211-1/+16
| | | | | Change-Id: I47d8f4c0e392ffb70655db9725b035d22a7cad91 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* Merge remote-tracking branch 'origin/5.4' into 5.5v5.5.0-alpha1Allan Sandfeld Jensen2015-03-103-2/+13
|\ | | | | | | Change-Id: I824a984e8552340c2f9f631ac951f2c9eaa90b74
| * Doc: Link issues Qt WebKitNico Vertriest2015-03-051-1/+1
| | | | | | | | | | | | | | | | Removed obsolete references QInputContext and QtDeclarative Task-number: QTBUG-43775 Change-Id: I308931beaec5ef2067350649135c26df1fe3817b Reviewed-by: Martin Smith <martin.smith@digia.com>
| * Forward show and hide events to PluginViewsMichael Bruning2015-02-263-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | This was causing issues with windows plugins on windows, which were always visible on top of all other widgets and not hidden correctly when the owning web view was hidden. Task-number: QTBUG-44401 Task-number: QTBUG-42588 Task-number: QTBUG-43024 Change-Id: Ie0307fa2f7b2bf59f51a76db5feef2e8446c359d Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* | Merge remote-tracking branch 'origin/5.4' into 5.5Frederik Gladhorn2015-02-201-5/+55
|\ \ | |/ | | | | | | | | | | Conflicts: .qmake.conf Change-Id: Ic900e9207ae48520c99894345fe0b4d0ab58ec44
| * Add documentation for feature permission related APIs.Florian Bruhin2015-01-221-0/+49
| | | | | | | | | | | | | | | | Those are mostly taken from QWebEnginePage's documentation with some slight adjustments. Change-Id: Ifbde5252cc46505c117a9d75ffa2af6e3b6eec11 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
| * Editor actions should only be checked when page is editableAllan Sandfeld Jensen2015-01-201-5/+6
| | | | | | | | | | | | | | | | | | | | In the split of qt4 QWebPage the check for GUI level editor actions was incorrectly moved to being checked when the page is not editable instead of when it is editable Task-number: QTBUG-44019 Change-Id: I3776cec6ee05f27e43139e40cc18480905300888 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
* | Add QWebHitTestResult::linkTitleString().Florian Bruhin2015-01-272-1/+20
|/ | | | | | | | | | | | QWebHitTestResult::linkTitle returned the link title as an (invalid) QUrl. Since the return type can not be changed before Qt 6, it is now obsolete and replaced by a linkTitleString method with a correct (QString) return type. Task-number: QTBUG-44052 Change-Id: I0636de3112eac19942db7c29c7cc5b8a0ac1e05a Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* Fix documentation for QWebPage::scrollRequested signal.Florian Bruhin2014-12-021-3/+1
| | | | | | | | | | | The documentation says the scrollRequested signal will be emitted if no view was set, however the signal gets emitted unconditionally. This behavior was changed in https://bugs.webkit.org/show_bug.cgi?id=21790 Change-Id: I3d6df9935fc5d6efb14bc956c43c03b655f9a2ad Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* Fix selections after leave eventAllan Sandfeld Jensen2014-11-061-0/+4
| | | | | | | | | | | | We were sending a bad fake mouse event on leave events that caused WebCore to stop tracking mousepresses correctly. Since we continue to receive mouse-events after leave if a mouse button is down, we don't need the fake mouse event to unset hover states and can skip, and can skip sending it. Task-number: QTBUG-41419 Change-Id: I8d50c440f7556f7e34bb0c05248577583c2550b4 Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
* Remove dead code for support Qt 5.0 and 5.1Allan Sandfeld Jensen2014-08-161-4/+0
| | | | | | | | QtWebKit can not build with Qt 5.0 or 5.1, so the code for those version is dead and should be removed. Change-Id: Ief9e08bed372ba9e9f2e0dd115763ad0b8812bfa Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
* Merge remote-tracking branch 'origin/5.3' into devFrederik Gladhorn2014-06-261-1/+1
|\ | | | | | | | | | | | | Conflicts: .qmake.conf Change-Id: I60f650c77f74c20c23c07644a2d3c3d55ff27607
| * Prevent crashes when the QWebView gets reparented.Michael Brüning2014-06-241-1/+1
| | | | | | | | | | | | | | | | | | Wrap the QWindow pointer in a QPointer so it gets set to NULL when the QWindow gets deleted without notification. Task-number: QTBUG-39524 Change-Id: I7c8fbe0f6f1921a7b48c58dc502d6a0a3409d084 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@digia.com>
* | Merge remote-tracking branch 'origin/stable' into devFrederik Gladhorn2014-03-243-40/+10
|\ \ | |/ | | | | Change-Id: I633b40f8083ed0a056df5effaf19cf22e2f9a5d9
| * Fix doc warningsJocelyn Turcotte2014-03-173-40/+10
| | | | | | | | | | | | | | | | | | | | - Qt for Embedded Linux Requirements isn't available since Qt5 - NOTIFY signal documentations are now ignored and are part of their property - The QtQuick1 WebView code isn't available anymore - Adjust to other renamed and removed pages Change-Id: Ife04becb1a847fb0bfb11dfafa6db2caa36aa9f0 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@digia.com>
* | Merge remote-tracking branch 'origin/stable' into devSergio Ahumada2014-03-112-4/+7
|\ \ | |/ | | | | Change-Id: Iaf17b7c575252c72104fc8aa234b3fde81853c80
| * Fix missing image in QWebView class documentation.Michael Brüning2014-03-101-1/+1
| | | | | | | | | | | | | | | | | | | | Add a current image of a QWebView showing the Qt Project Homepage previewed in Qt Creator. Task-number: QTBUG-37208 Change-Id: Iedfee6965aa0ef35ba2a532a937e8054c4a0a9d5 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@digia.com> Reviewed-by: Michael Bruning <michael.bruning@digia.com>
| * Fix documentation of the selector APIAllan Sandfeld Jensen2014-03-101-3/+6
| | | | | | | | | | | | | | | | | | | | | | We support all CSS selectors WebKit supports since the methods map internally to the DOM Selectors API. We should therefore update the documentation to claim more than CSS2 selector support. Task-number: QTBUG-37208 Change-Id: I4eae7c897f13bbb17221995ef764020d9341d1f8 Reviewed-by: Michael Bruning <michael.bruning@digia.com> Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* | When checking if relative URL is local, take baseUrl into accountDmitry Shachnev2014-03-101-0/+3
|/ | | | | | | | | | | Links with empty schemes (href="file.html") or anchored links (href="#someid") should now be treated as local links if base url is local. See <https://bugs.webkit.org/show_bug.cgi?id=94360>. Change-Id: I31e254ad7341bd54965c91d2e9dd2fbff7a99776 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@digia.com>
* Fix build with QT_NO_GRAPHICSVIEWSergio Martins2014-02-091-0/+2
| | | | | Change-Id: Ia909a560db58d6cdc6ec4bbac879249eb5e286ef Reviewed-by: Allan Sandfeld Jensen <allan.jensen@digia.com>
* Update device pixel ratio on screen changeAllan Sandfeld Jensen2014-02-073-4/+38
| | | | | | | | | This patch makes QWebPage listen to QWindow::screenChangedEvent and update the device pixel ratio when it is received. Task-number: QTBUG-36190 Change-Id: Ia28571ef241a3a2f970876f6e474b01c1ac001e1 Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
* Forward devicePixelRatio to WebCore PageAllan Sandfeld Jensen2014-01-311-0/+2
| | | | | | | | | The device pixel ratio must be set on Page for CSS image set and CSS media queries to work correctly. Task-number: QTBUG-36190 Change-Id: I76694c1375194f35df7f62e942bc8565f065a3bc Reviewed-by: Michael Bruning <michael.bruning@digia.com>
* Do not accept all touch eventsAllan Sandfeld Jensen2013-12-202-8/+4
| | | | | | | | | | | | | | | | QtWebKit currently accepts all touch events to prevent the lack of accept on a TouchBegin from preventing receiving TouchUpdate and TouchEnd. This behavior prevents QGuiApplication from converting touch events to mouse events, and makes the WebView widget impossible to interact with by touch. This patch modifies the behavior slighly so that QtWebKit only accepts touch events if they are needed for the active document. Task-number: QTBUG-31938 Change-Id: Iba80ebfaf31c93f82356e3f0622039120921172a Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
* Fix fullscreen support with GStreamerAllan Sandfeld Jensen2013-11-072-0/+4
| | | | | | | | | | | | | Fullscreen support has not been working with GStreamer since Qt 4.8, the issue was the native fullscreen window was not fully ported, and was affected by some bitrot. This patch fixes the native fullscreen window for GStreamer, ensures the fullscreen options are available on WebKit1, and adds a context menu and web action to toggle fullscreen mode. Change-Id: I9c6c5a1e36fbbc8e1d1fae371bdf9abc1aee7775 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
* Support HTML5 media context menu itemsAllan Sandfeld Jensen2013-10-284-2/+41
| | | | | | | | Support most of the items WebCore populates the context menu with when the user right clicks an HTML5 audio or video element. Change-Id: I331a3271f68075fe70d914e2675620f617d53b42 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
* Crash on GeoLocation demoAllan Sandfeld Jensen2013-10-041-1/+1
| | | | | | | | Apply missing QtLocation -> QtPositioning renaming. This was causing GeoLocationController to never be set. Change-Id: Id6b110ee2df3047b11e1c13ff5a1d2eb9d8b4c40 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@digia.com>
* Import Qt5x2 branch of QtWebkit for Qt 5.2Allan Sandfeld Jensen2013-09-194-28/+38
| | | | | | | Importing a new snapshot of webkit. Change-Id: I2d01ad12cdc8af8cb015387641120a9d7ea5f10c Reviewed-by: Allan Sandfeld Jensen <allan.jensen@digia.com>
* Update location of qaccessiblewidget.hAllan Sandfeld Jensen2013-09-191-1/+1
| | | | | | | The definition of QAccessibleWidget has moved again. Change-Id: Ibeebdd236d5a5d40e4e811975524e5c3c5ee0673 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@digia.com>
* [Qt] Add Page Visibility API supportBenjamin Dupont2013-08-092-1/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://bugs.webkit.org/show_bug.cgi?id=109422 Patch by Benjamin Dupont <bdupont@nds.com> on 2013-08-06 Reviewed by Simon Hausmann. * WebCoreSupport/QWebPageAdapter.cpp: (webPageVisibilityStateToWebCoreVisibilityState): (webCoreVisibilityStateToWebPageVisibilityState): (QWebPageAdapter::setVisibilityState): (QWebPageAdapter::visibilityState): * WebCoreSupport/QWebPageAdapter.h: * WidgetApi/qwebpage.cpp: (QWebPage::setVisibilityState): (QWebPage::visibilityState): * WidgetApi/qwebpage.h: * tests/qwebpage/tst_qwebpage.cpp: (tst_QWebPage::changeVisibilityState): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153751 268f45cc-cd09-0410-ab3c-d52691b4dbfc [Qt] Build fix after r153751 Unreviewed build fix. Fix build when PAGE_VISIBILITY_API is disabled. * WebCoreSupport/QWebPageAdapter.cpp: (QWebPageAdapter::visibilityState): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153782 268f45cc-cd09-0410-ab3c-d52691b4dbfc Change-Id: I7c99337a902d7d06cde03107ebf71e3fce430fdf Reviewed-by: Allan Sandfeld Jensen <allan.jensen@digia.com>