| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| |
| |
| | |
Task-number: QTBUG-47058
Change-Id: Ia695d78bfba90fc31f598582032fceb6fda83e79
Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
We were setting the meta modifier twice. This breaks CTRL short-cuts
on OS X since it may cause both CTRL and Meta to set.
Change-Id: Ia4fa229b5b466235207afbe4a27a8078b3b2c876
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
We should not try to write to the selection clipboard on platforms
where selection clipboards are not supported.
Change-Id: I05a4e5a5181c0a2cd83f115e3181902a1e349ed0
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Do not build the AudioClassifier, it is not used anywhere in the code
but references private Opus APIs and can cause linking errors if not
optimized away.
Change-Id: I0029aa643160177e626a48a9c8ad75a08bd8f846
Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| | |
Remove member that was forgotten in commit 84f31c11
Change-Id: I9e0f1366e15022042572827e3e43f4f51f171ad8
Reviewed-by: Jocelyn Turcotte (Woboq GmbH) <jturcotte@woboq.com>
|
| |
| |
| |
| |
| |
| | |
Change-Id: I508aabbdd6a33e7ed8edcd7438e71297d4c0e895
Reviewed-by: Szabolcs David <davidsz@inf.u-szeged.hu>
Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Uniformly use the <Module/class.h> style, like
https://wiki.qt.io/Coding_Conventions
mandates.
Change-Id: I4c05599fa689f375158fd3b0a54aada8571e5c59
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add methods to set the Accept-Language field in QWebEngineProfile and
QQuickWebEngineProfile.
Task-number: QTBUG-47412
Change-Id: Ifa376bb3551fdc1fb3d68279d734b7f7735782fc
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This patch is adding a QWebEngineUrlRequestInterceptor interface
that can be subclassed to observe or intercept all resource requests
making it possible to implement browser features like adblocking
and setting custom request headers for url requests.
The interceptRequest virtual function is executed on the IO thread.
This patch also includes a unit test for the testable API parts.
Change-Id: Ibe740fc55551a9a5da40794088ccb6d03d913631
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Reviewed-by: Martin Rotter <rotter.martinos@gmail.com>
Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Change 7a1e0d57d1a1683442 determined the Visual Studio version based
on the 'VisualStudioVersion' environment variable. While this variable
is defined by the default Visual Studio command line prompt, it isn't
necessarily set in other environments.
Anyhow, Qt already determined the compiler/Visual Studio version in the
mkspec. We can just reuse this here.
Change-Id: Ibee9526e91ae855151940da6be438705de048c0c
Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
The revision was accidentally stepped twice.
Change-Id: I5af7cba7d12be432d09cf6672dac422c72b09852
Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This breaks the initial scale of some pages on embedded Linux
and is mostly tied to Android codepaths in chromium and might
be removed soon from public switches.
See: https://code.google.com/p/chromium/issues/detail?id=513214
and: https://code.google.com/p/chromium/issues/detail?id=232102
Change-Id: I9eb6577bcc9c3aeb583ac6576e9de34c230c36c3
Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
|
| |
| |
| |
| |
| |
| |
| | |
Also updates snapshot script for removed, added and renamed modules.
Change-Id: Ie511cbddc2f7c03d9f73f7ae190701539bc91d4d
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add qmake command line option to use system FFMPEG and report result
and option in the configure summary. Also checks libraries FFMPEG and
chromium both uses are available on the system since linking will
otherwise fail. Does not check if the version of the libav libraries are
correct, but leaves that to whomever enables the option.
Change-Id: I39c9c47eba19a6e40872a2e9b24a9010cdea1011
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Now that QtWebEngineCore has public API, we should document the module.
Change-Id: I29660243da80b5923836bb2d0394dc2e8be209e2
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| | |
Snappy doesn't use pkg-config so we use a configure check to detect it.
Change-Id: I54f02d493139069ca8838f7008041340990fc016
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Adds a post configure step to test qmake arguments, summerize
options, and make it possible to enable using system ICU, but
leaving it default off for now. Also summerizes the proprietary
codec configuration.
Change-Id: I620a69dcdbb14b49143770d38eecb5aeab48ad05
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fixes a regression of 99e98f7bf6aec78fe0d647fb898e65d13ff522e4
by delaying applying the background color if the client hasn't
been set on the WebContentsViewQt yet.
Task-number: QTBUG-41960
Change-Id: I1c138777f616541179976570d8c29f8f4d49ecbf
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Connect the user setting to the webengine settings, and make it
available in the demo browser
Change-Id: Id4da8a4125a9f982cb687d433b6fce123e72c4c7
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Adds configure check and configures chromium to use system libsrtp if
available.
Change-Id: I134c50e1179bfb6acf01347456f8be26f27bf559
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Uses pkg-config to detect libevent, libwebp, flac, jsoncpp, opus,
speex and vpx, and configure chromium to link with system versions.
Change-Id: Ic6c5bbe07929a7c2b79abcb760a8c61b0c9ed92f
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
|
| |
| |
| |
| |
| | |
Change-Id: I4b5afc22a1884f59d6903593b1e62e991eaba57f
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Let applications tell QtWebEngine whether they support the fullscreen
API or not.
Change-Id: I97681cf1c68a9d7a3b8bb7dcca861ec0b0a79ed6
Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Instead of subclassing net::NetworkDelegateImpl and potentially
introduce silent behavior changes, use the common pattern of
implementing the pure virtual functions of the abstract base
class in our implementation of NetworkDelegateQt.
Change-Id: I54a22c60b0cfd54291515b9381535c5ce958efbf
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This tests the part of the cookie API that can be tested locally.
The notification about third-party cookies (acceptCookieFromUrl)
can not be tested locally since it requires cookies to be set from
a different domain than the main frame, which requires a remote
host or a local web server with support for virtual DNS.
Testing requires the ability to set cookies for local pages loaded
through the qrc scheme.
We could eventually extend this in the future to enable setting cookies
on registered custom schemes, but for that we might have to implement
our own cookie store.
Since Chromium's cookie store relies on source url's to manage cookies
and qrc:// cookies do not specify a domain, a specific source url is
needed to be able to delete an individual cookie that has been set by
a page loaded through qrc://.
This patch requires a new function on QNetworkCookie to be able to
forward the source url of the cookie to Chromium.
Change-Id: I97dd04b27fbb8ec63060f9b741ad65c29a773a6c
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Chromium now links statically to ffmpeg, and the ffmpegsumo plugin is
no longer built.
This also makes the plugin dir unneeded.
Change-Id: I2204ce966b067886d57a9548d8aec829b73642d8
Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Also switch to parsing DEPS instead of .DEPS.git as the latter has been
removed from upstream chromium.
Change-Id: Ie449e310202458c5c514a5eb6af2d30486ec0891
Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This also allows setting a transparent color to see through
the web view's body if its background color isn't specified.
The color is initially held by the top API view and is pulled
by the WebContentsAdapter in order to set it on the RenderView.
Since both blink and our local compositors (in the QOpenGLWidget
case) need to know about this color, RWHVQt takes care of pushing
it to both. The former through an IPC message and the latter
directly on the RWHVQtDelegate.
Task-number: QTBUG-41960
Change-Id: Ie13317b2d087f5612ad9c5fb0e05ca3e91aec9af
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
We need to take into account that canvases don't have a valid media URL.
Task-number: QTBUG-47187
Change-Id: I01e1097c74df623a7d28189b6ab25fdc27c5e766
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Implements the remaining WebActions from the widgets API in the QML
API, so the available actions matches.
Change-Id: I60dfd4a574b80cdd82b8891abfb27a8bfb1b88ec
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This patch adds support for deleteSessionCookies, deleteAllCookies
and getAllCookies to make these features directly accessible without
the need of subclassing QWebEngineCookieStoreClient and having to
implement a less efficient equivalent.
Change-Id: I6645bee7fcef38d00dccfaa81f4e9ada86c491df
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Add the web actions DownloadLinkToDisk, DownloadImageToDisk and
DownloadMediaToDisk.
Change-Id: If6c9c8a3f4b95ad3032cff71ffc53a48be26e083
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
|
|\ \ |
|
| |\ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Bumbs the Chromium version to 44 and merges the 'wip/44-based' branch,
which contains all the patches to build against Chromium 44.
Change-Id: If03dd301cb2a5cf7da3fe0a92ce1134f1239bf00
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Define the needed extension when not available at compile time.
Change-Id: I93be828facb2d2e3bf16ac98c04ef3544d695675
Reviewed-by: Pierre Rossi <pierre.rossi@theqtcompany.com>
Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Adds and changes interfaces to work with Chromium 44.
Change-Id: Id7c02e7b1be255d591f7ac5449dde5823c261eb5
Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
AboutToNavigateRenderView(RenderViewHost*) no longer exists so we
must listen to something else to know when to send the scripts to a
new RenderView.
Change-Id: Ic4d296feab722a149ba304b35bfceaf4952c136e
Reviewed-by: Pierre Rossi <pierre.rossi@theqtcompany.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Updates shaders and rendering logic to match the new similar logic from
Chromium. This includes separate UV and YA channels and different YUV
color spaces.
Change-Id: I677ec5477207a00d259d69989be6b8737803221d
Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
QtWebEngine triggers asserts on Windows due to OnProxyConfigChanged
called with a still pending configuration.
Change-Id: I835860507c17110e642f3fa0628b5f7cb531e0e4
Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
If available use the system versions of these basic libraries on Linux.
Change-Id: Iebcd5c11c53d0d491c457ccff71be04f8b2cac1c
Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Link to system libpng on Linux if Qt was configured to do so.
Change-Id: Ic86120aabb206173738e5a1977cad1d762794f2a
Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Minor changes for Chromium 44 that didn't fit in anywhere else.
Change-Id: I569422239acd077e33e1878a1d5dc7afeac0bea6
Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This callback is no longer available from Chromium, and was not very
important to the API in the first place.
Change-Id: If65509380f2c27053cb4c04801b4e50694440d6a
Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Frame to navigate has been moved from NavigationEntry to LoadURLParams.
Change-Id: Ic421867ba067a79bbc499904e24066d40ff9b1ea
Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Not currently used by Chromium except asserted not to be zero.
Change-Id: I8eaab67fa316c80bd5b18af46993395c06aa8801
Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
We need access to Qt classes to extract the EGLDisplay.
Change-Id: I4e57aa72f3f7e08a55bc5e9694389e35f258e039
Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
These are now always defined in Chromium or have been removed.
Change-Id: I8f59805d793ecb91e51dede68b58a696dc3f84cd
Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Implementing the new PermissionManager API.
Change-Id: If0fdac24b8fec561a898aba009345576b5ce7fc6
Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Handle moved and refactored methods, and the removal of the short-cut
to not forward events.
Change-Id: I11ef205c5d575a15ee6fe8f36b8a71505d656fe8
Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Chromium will now use the sync extension on OpenGL ES3, this means
we shouldn't check for DesktopGL specific define, and since we do not
use anything directly from the extension we don't need the ifdef.
Change-Id: If664a885042c216079f1c58c8e6245b1c5447c9e
Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
|