summaryrefslogtreecommitdiff
path: root/chromium/content/browser
Commit message (Collapse)AuthorAgeFilesLines
* Update TextSelection for non-user initiated eventsPeter Varga2017-07-1911-19/+40
| | | | | | | | | | | | | | | | This makes Chromium Content API to be able to notify about text selection changes triggered by non-user events (eg. JavaScript, IME, autofill). Based on: https://codereview.chromium.org/2903833002 Corresponding Chromium bug report: https://bugs.chromium.org/p/chromium/issues/detail?id=671986 Change-Id: I86a7f203d789853199469b301facd06fe5ba54bd Task-number: QTBUG-53134 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* [Backport] Initialize RenderSandboxHostLinux in --no-zygote mode to not crash.Peter Varga2017-07-121-2/+5
| | | | | | | | | | | | | | | | | | http://crrev.com/2384163002 skipped initializing RenderSandboxHostLinux If the sandbox and zygote are both disabled. But the RendererSocket is used even in this case by the Linux ChildProcessLauncherHelper, so it lead to a crash. Instead initialize the RenderSandboxHostLinux unconditionally. This appears to be what some code expects in multi-process code. Tested: cr run chrome --no-zygote --no-sandbox http://www.google.com BUG=712779 Change-Id: I391205092c13c6c2a4e7c59c74729d2b068dcb9f Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* [Backport] Fix for occasional crashes in FindRequestManager::OnFindReply().Peter Varga2017-06-301-3/+5
| | | | | | | | | | | | | | | | The problem was that sometimes a find reply would come in from a frame that has already been removed. This was assumed not to be possible (which is the reason for the original DCHECK present). The right thing to do is just ignore these replies, so the DCHECK has been turned into an early exit. BUG=624738 Review-Url: https://codereview.chromium.org/2399923002 Cr-Commit-Position: refs/heads/master@{#458551} Change-Id: I94f27a4f17a5a27b56a78c09e1b9b5e8f059f2a2 Task-number: QTBUG-60472 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Fix DCHECK with audio-only desktop captureJüri Valdmann2017-06-211-0/+9
| | | | | | | | | Return MEDIA_DEVICE_NOT_SUPPORTED to JavaScript instead of triggering DCHECK in MediaStreamManager::SetupDeviceCaptureRequest. Task-number: QTBUG-60832 Change-Id: Iadb99244fc4345580faa1a3a1af3264d91c3fa8f Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* FIXUP: Allow Service Workers without HTTP headersViktor Engelmann2017-06-212-5/+6
| | | | | | | | | | | | | | | Service Workers may be loaded over different schemes than HTTP(S) (chromium itself provides interfaces to register schemes for this!). Despite this, chromium assumes in many places, that Service Workers were always loaded over HTTP(S). The code for registering Service Workers often blindly dereferences the requests "header" pointer without checking it for NULL beforehand and assumes the status code to be an HTTP status (implying an error if it is not between 200 and 299). Task-number: QTBUG-56169 Change-Id: Id63789bbe974e1958981b651ccc15cfbb067b4af Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Suppress error message on unneeded V8 external startup filesPeter Varga2017-06-091-0/+9
| | | | | | | | | | | | | When v8_use_external_startup_data is disabled natives_blob.bin and snapshot_blob.bin external files are not generated. Skip try to open them for their file descriptors to suppress "Ignore invalid file" error messages due to non-existent files. This change adds back guards removed in https://codereview.chromium.org/2684433003 Change-Id: I0bb93c0e05df18905083423a84d1e56c22232e4d Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Merge branch 'upstream-master' into 58-basedAllan Sandfeld Jensen2017-05-0516-74/+291
|\ | | | | | | Change-Id: I8c280ca9068fdda9cf6276725bfb8608eccb497a
| * BASELINE: Update Chromium to 58.0.3029.98Allan Sandfeld Jensen2017-05-0516-74/+291
| | | | | | | | | | Change-Id: Ib913750d687f29e036959c62a0cabf2412a8faa7 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* | Fix false dependency on mus, tracing and mojo_runnerAllan Sandfeld Jensen2017-05-032-3/+3
| | | | | | | | | | | | | | We do not need these just because we use most of Aura. Change-Id: I49f7894bcc6b18b8719ebf59927154730f9e54d2 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* | Fix API to allow InspectElement to work with remote inspectorAllan Sandfeld Jensen2017-05-031-1/+1
| | | | | | | | | | | | | | | | | | With the remote inspector, the internal server creates the clients, and we in the external API does not know the client. The devtools agent host impl does however and can stop being stupid and force us to guess. Change-Id: I55a79cc90d39e6203d74a63ce86575599fe58232 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* | Fix building without WebSpeechAllan Sandfeld Jensen2017-05-033-23/+34
| | | | | | | | | | | | | | | | WebSpeech requires Google API keys, so we do not support it, and disabling it also gets rid of libspeex and libFLAC. Change-Id: I80a54ec4c6a13ea4c443289aa42369196c2e095a Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | Fix linking issues on WindowsMichal Klocek2017-05-032-2/+7
| | | | | | | | | | Change-Id: I1d6f3f396d39cccf4275b539919748888b3e19b1 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Remove various test and telemetry dependenciesAlexandru Croitor2017-05-031-0/+4
| | | | | | | | | | | | | | This allows removing the catapult dependency Change-Id: Ia2bf777b07e9f88e28d6637bf3aab5d6a97ca7e6 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* | Expose a status callback for the DevToolsHttpHandlerJocelyn Turcotte2017-05-031-0/+1
| | | | | | | | | | | | | | | | | | This allows us to give our own feedback on the console about the outcome of the server socket binding, outside of the Chromium logging. Change-Id: Ib16dd97b6f5e07ad2e889d3c4520b2fda1eb532b Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* | Qt GN integrationMichal Klocek2017-05-031-0/+37
| | | | | | | | | | | | | | Exclude source files we override in the qt webengine sources. Change-Id: I79925220265602bd0c39e5e03162cf1dca15befe Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | Add ifdefs to exclude ATL and accessibility from the buildAllan Sandfeld Jensen2017-05-033-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | ATL currently isn't distributed with MSVS Express, only with the Professional version. Chromium requires downloading the WDK iso for express users just to be able to use the ATL version that was shipped with it. We can avoid the extra dependency for now by cutting off all the accessibility code, which is currently the only part of the content layer depending on ATL. We will use the Qt accessibility code anyway. Change-Id: Iec25231250ccfc9405fdf342752733814888f348 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* | Fix assert in Flash and incognito modeAllan Sandfeld Jensen2017-05-031-1/+1
| | | | | | | | | | | | | | | | | | Changes the assert to a logged error. Task-number: QTBUG-50566 Change-Id: I70f315553bfde53db3b4c4b57cf46f2f42c4260d Reviewed-by: Michael Brüning <michael.bruning@qt.io> Reviewed-by: Viktor Engelmann <viktor.engelmann@qt.io>
* | Do not call Ole(Un)InitializeJoerg Bornemann2017-05-031-2/+4
| | | | | | | | | | | | | | | | | | | | | | The Windows platform plugin already calls OleInitialize. When ScopedOleInitializer detects that OleInitialize was already called it will yield an error message. This is not much of a problem but unsettles users. Task-number: QTBUG-53746 Change-Id: If5e978c6ef022a7ec0637a2e171fc0f9b3e92a41 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* | Remove the Running without SUID sandbox error messageAllan Sandfeld Jensen2017-05-031-1/+1
| | | | | | | | | | | | | | | | We currently do not support the SUID sandbox and the error pollutes the auto tests output. Change-Id: I2675aa2e03394f1c03e4df6bd1b21764ed19206a Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* | Allow late fullscreen changed signalAllan Sandfeld Jensen2017-05-033-32/+26
| | | | | | | | | | | | | | | | | | Chromium expected fullscreen mode to be accepted or rejected synchronously, that fits poorly with our API, so instead we add the option to signal when fullscreen mode actually changes. Change-Id: I72b93417790cf273194df480a220a498a71deb74 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* | Export API to allow javascript injectionAllan Sandfeld Jensen2017-05-031-1/+3
| | | | | | | | | | | | | | | | To enable standard webview API including javascript injection we need to be allowed to enabled it like the Android webview does. Change-Id: I3e8bcaa4508a65f7d8f56671e86c6ac4f44d0ca4 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* | Fix Renderer and GPU threads on windowsPeter Varga2017-05-033-3/+3
| | | | | | | | | | | | | | | | | | | | | | These threads are using the UI message loop on Windows per default. This won't work since the UI message loop is handled by Qt and the Renderer and GPU threads won't work with it properly. Force these threads for using the default message loop as they use it on Linux platform. Change-Id: I8b04ba9070912378cf1d13173ddff48e98f9a49b Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* | Fix webfonts with wrong hinting on LinuxAllan Sandfeld Jensen2017-05-031-1/+2
| | | | | | | | | | | | | | | | This patch makes webfonts to read the fontconfig defaults for their size and font style. Change-Id: I80ffd8e2ff27d438c60457ca2b1836999e528783 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* | Fixup select elements.Allan Sandfeld Jensen2017-05-034-7/+9
| | | | | | | | | | | | | | | | | | | | We use RenderWidgetHostViewQt, not RWHVMac, even on macOS. Since some platform decisions seem to have transpired all the way to the content layer, we should simply use the web ui for select elements on mac for the time being. Change-Id: Ib430f8686862cf0958ccdbfefb8bfa36af590e97 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* | Do not bundle the tracing UI resourcesJocelyn Turcotte2017-05-022-3/+3
| | | | | | | | | | | | | | | | We do not support loading the chrome://tracing WebUI and therefore we shouldn't bundle those resources in our library. Change-Id: If3aa4c676b22a55e772f19487e21b4cd48babe65 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* | <chromium> BrowserAccessibilityManager::Create is implemented in Qt sources.Zeno Albisser2017-05-021-7/+7
|/ | | | | | | | | | | BrowserAccessibilityManagerQt derives from BrowserAccessibilityManager. Exactly as on Windows or Mac, we therefore need our own implementation of the Create function. Change-Id: I3ead20628c3da32bb60c45afc2eff44c8cf081b2 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com> Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
* BASELINE: Update Chromium to 58.0.3029.54Allan Sandfeld Jensen2017-04-11848-22769/+30726
| | | | | Change-Id: I67f57065a7afdc8e4614adb5c0230281428df4d1 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* BASELINE: Update Chromium to 57.0.2987.144Allan Sandfeld Jensen2017-04-111018-29536/+44022
| | | | | Change-Id: I29db402ff696c71a04c4dbaec822c2e53efe0267 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* BASELINE: Update Chromium to 56.0.2924.122Allan Sandfeld Jensen2017-03-20896-21563/+31958
| | | | | Change-Id: I4e04de8f47e47e501c46ed934c76a431c6337ced Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* BASELINE: Update Chromium to 55.0.2883.105Allan Sandfeld Jensen2017-01-051365-44186/+59292
| | | | | | | And updates ninja to 1.7.2 Change-Id: I20d43c737f82764d857ada9a55586901b18b9243 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* BASELINE: Update Chromium to 53.0.2785.117Allan Sandfeld Jensen2016-09-1415-71/+198
| | | | | Change-Id: Ie4ea15fc770a1973f58739ce99df06c98d3dda79 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* BASELINE: Update Chromium to 53.0.2785.80Allan Sandfeld Jensen2016-08-2520-156/+497
| | | | | | | Also adds 3rdparty libraries under pdfium. Change-Id: I29afb23f1642fa55765d056697d5d145afa22bb2 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* BASELINE: Update Chromium to 53.0.2785.41Allan Sandfeld Jensen2016-08-04753-21702/+23895
| | | | | | | Also adds a few extra files for extensions. Change-Id: Iccdd55d98660903331cf8b7b29188da781830af4 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* BASELINE: Update Chromium to 52.0.2743.76 and Ninja to 1.7.1Allan Sandfeld Jensen2016-08-041216-28031/+27444
| | | | | Change-Id: I382f51b959689505a60f8b707255ecb344f7d8b4 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* BASELINE: Update Chromium to 51.0.2704.106Allan Sandfeld Jensen2016-07-0110-61/+277
| | | | | | | Also add a few extra files we might need for future features. Change-Id: I517c35e43221c610976d347c966d070ad44d4c2b Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* BASELINE: Update Chromium to 51.0.2704.79Allan Sandfeld Jensen2016-06-0238-313/+453
| | | | | | | Also adds a few files for url_parsing in extensions. Change-Id: Ie4820c3da75f0a56b3cc86dccc077d671227077b Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* BASELINE: Update Chromium to 51.0.2704.47Allan Sandfeld Jensen2016-05-1211-80/+266
| | | | | | | And adds in a few missing files. Change-Id: Id0d85c81f5efc1b1c8cf9cb3241da26bf7245026 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* BASELINE: Update Chromium to 51.0.2704.41Allan Sandfeld Jensen2016-05-091131-35618/+56938
| | | | | | | Also adds in all smaller components by reversing logic for exclusion. Change-Id: Ibf90b506e7da088ea2f65dcf23f2b0992c504422 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* BASELINE: Update Chromium to 49.0.2623.111Allan Sandfeld Jensen2016-04-016-7/+103
| | | | | Change-Id: I5f8c7bd936a259c7229924aba755ae6064ac9240 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* BASELINE: Update Chromium to 49.0.2623.91Allan Sandfeld Jensen2016-03-0823-284/+451
| | | | | | | And adds sources hunspell dictionary convertion tool. Change-Id: Ifb016b018e7b7cc5a2c56d8e4c1b1b563bd5eaed Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* BASELINE: Update Chromium to 49.0.2623.48Allan Sandfeld Jensen2016-02-115-5/+176
| | | | | Change-Id: I684541113ff518e3a7d51dfd0b31962b06d10af1 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* BASELINE: Update Chromium to 49.0.2623.34Allan Sandfeld Jensen2016-02-0117-23/+162
| | | | | Change-Id: I89af6c0074347d4415cc1ce35a6d54a3760e6ad2 Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
* BASELINE: Update Chromium to 49.0.2623.23Allan Sandfeld Jensen2016-01-251718-36318/+61681
| | | | | | | Also adds missing printing sources. Change-Id: I3726b8f0c7d6751c9fc846096c571fadca7108cd Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
* BASELINE: Update Chromium to 47.0.2526.109Allan Sandfeld Jensen2016-01-0511-42/+131
| | | | | | | Also adds sources for CDM. Change-Id: Id1c834411de135c71deb23b884f2dce902190136 Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
* BASELINE: Update Chromium to 47.0.2526.71Allan Sandfeld Jensen2015-11-2330-124/+758
| | | | | | | | Also adds a few missing spellcheck sources. Change-Id: I300864710316ff3cd3ad456dd7a3d048b45f57d5 Reviewed-by: Michal Klocek <michal.klocek@theqtcompany.com> Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
* BASELINE: Update Chromium to 47.0.2526.34 and Ninja to 1.6.0Allan Sandfeld Jensen2015-10-2727-245/+1526
| | | | | Change-Id: Ie8863b493c7ff19eb46478935dfe7602679b227e Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
* BASELINE: Update Chromium to 47.0.2526.14Allan Sandfeld Jensen2015-10-14937-18642/+39041
| | | | | | | Also adding in sources needed for spellchecking. Change-Id: Idd44170fa1616f26315188970a8d5ba7d472b18a Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
* BASELINE: Update chromium to 45.0.2454.101upstream-45Allan Sandfeld Jensen2015-09-293-3/+7
| | | | | | | Also adds web_cache component Change-Id: I51238ceea8ee99854cc4989ae70a4fc2fc6bedcb Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* BASELINE: Update chromium to 45.0.2454.79Allan Sandfeld Jensen2015-08-2613-18/+112
| | | | | | | Also remove third_party trace-viewer and hunspell again. Change-Id: Iee0b3b27abcef9b1e87a0e39b71f6b785d1d19be Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* BASELINE: Update chromium to 45.0.2454.40Allan Sandfeld Jensen2015-08-14802-20880/+32856
| | | | | Change-Id: Id2121d9f11a8fc633677236c65a3e41feef589e4 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>