- 25 Nov, 2019 40 commits
-
-
Yusuke Sato authored
The param is just ignored when the image is squashfs, but setting "rw" for the read-only fs is still confusing. This also adds a test that covers the case where no serial number is given. BUG=None TEST=try Change-Id: Id153e51f4d44432728e7735620853833f784a82a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1931919 Commit-Queue: Yusuke Sato <yusukes@chromium.org> Reviewed-by:
Hidehiko Abe <hidehiko@chromium.org> Cr-Commit-Position: refs/heads/master@{#718808}
-
Devlin Cronin authored
Push back the expiration of soon-expiring histograms that are still useful. This marks the following metrics as never expiring, since they are always valuable in monitoring extension usage or performance: Extensions.ContextMenuAction Extensions.InjectEnd_BlockingScriptCount Extensions.InjectEnd_ScriptCount Extensions.InjectIdle_BlockingScriptCount Extensions.InjectIdle_ScriptCount Extensions.InjectStart_CssCount Extensions.InjectStart_Time Extensions.LoadAllComponentTime Extensions.LoadAppUser Extensions.LoadBrowserAction Extensions.LoadNoExtensionAction Extensions.InjectStart_Time Extensions.LoadAllComponentTime Extensions.LoadAppUser Extensions.LoadBrowserAction Extensions.LoadNoExtensionAction Extensions.RuntimeHostPermissions.ExtensionHasWithheldHosts Extensions.RuntimeHostPermissions.GrantedHostCount And marks the following as expiring later, since they are still useful for now, but may not be required in the future: ExtensionInstallVerifier.GetSignatureResult ExtensionInstallVerifier.InitResult Extensions.PopupCreateTime Extensions.PopupLoadTime2 Extensions.SyncGetMessageBundle ProxyOverriddenBubble.UserSelection Bug: 1016417, 1025803, 1025818, 1025827, 1025837, 1025849, 1025850, 1025859, 1025865, 1025887 Change-Id: Ie1542aedba4c413409bb10c06ec255b51da11f14 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1927215Reviewed-by:
Robert Kaplow <rkaplow@chromium.org> Commit-Queue: Devlin <rdevlin.cronin@chromium.org> Cr-Commit-Position: refs/heads/master@{#718807}
-
bttk authored
This change reduces dependency on RecordHistogram.Natives and unblocks its refactoring in https://chromium-review.googlesource.com/c/chromium/src/+/1915193 Change-Id: I5b532083c22b94298dc087b8515709be787dbd79 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1928377Reviewed-by:
Andrew Grieve <agrieve@chromium.org> Reviewed-by:
Tibor Goldschwendt <tiborg@chromium.org> Reviewed-by:
Sky Malice <skym@chromium.org> Commit-Queue: bttk <bttk@chromium.org> Cr-Commit-Position: refs/heads/master@{#718806}
-
Lily Chen authored
This fixes a bug where cookies that would be rejected for other reasons (e.g. domain mismatch) would still generate a SameSite warning message. This led to misleading/alarming messages that implied that sites were fetching resources from domains that they were not in fact making requests to. The fix is to not attach a warning to the cookie status if there are any exclusion reasons other than the new SameSite ones. Bug: 1027318 Change-Id: I77a26ee4679aa6010b0e6b604476ec364614ce96 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1929780 Commit-Queue: Lily Chen <chlily@chromium.org> Reviewed-by:
John Abd-El-Malek <jam@chromium.org> Reviewed-by:
Maksim Orlovich <morlovich@chromium.org> Cr-Commit-Position: refs/heads/master@{#718805}
-
Eldar Rello authored
Bug: chromium:1025557 Change-Id: I34fab1c438b9cde8b7df90e75a3cf875cb327ac2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1924367 Commit-Queue: Eldar Rello <elrello@microsoft.com> Reviewed-by:
Henrik Boström <hbos@chromium.org> Cr-Commit-Position: refs/heads/master@{#718804}
-
chromium-autoroll authored
https://swiftshader.googlesource.com/SwiftShader.git/+log/a59e70ec48ac..7b29abfc486e git log a59e70ec48ac..7b29abfc486e --date=short --first-parent --format='%ad %ae %s' 2019-11-25 sugoi@google.com Improved pNext pointer handling Created with: gclient setdep -r src/third_party/swiftshader@7b29abfc486e If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/swiftshader-chromium-autoroll Please CC swiftshader-team+autoroll@google.com on the revert to ensure that a human is aware of the problem. To report a problem with the AutoRoller itself, please file a bug: https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+/master/autoroll/README.md Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_chromium_msan_rel_ng;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel Bug: chromium:b/144999059,chromium:b/119321052 Tbr: swiftshader-team+autoroll@google.com Change-Id: I6f72919542f9b4da034d0cfff0eece407baee706 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1933758Reviewed-by:
chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com> Commit-Queue: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com> Cr-Commit-Position: refs/heads/master@{#718803}
-
Reilly Grant authored
Bug: 1007633 Change-Id: I225b0ac97a202041fbe6cd92fa78ae5a1f4d79b5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1931621 Commit-Queue: Reilly Grant <reillyg@chromium.org> Auto-Submit: Reilly Grant <reillyg@chromium.org> Reviewed-by:
Steven Bennetts <stevenjb@chromium.org> Cr-Commit-Position: refs/heads/master@{#718802}
-
Jonathan Backer authored
This is a speculative fix for https://crbug.com/1022151. Based on the crash error and stack trace, it seems likely that we are calling ClearFramebufferResourceManager::Destroy after a context is unavailable (i.e. released or lost). In this case, we shouldn't be making any more GL calls. This copies a pattern of GLES2DecoderImpl::Destroy, so that CFRM::Destroy is only called if we have a current context. Bug: 1022151 Change-Id: Icc76e505fa32c3b3bc5bea68a973ac4550828bf5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1934519Reviewed-by:
Vasiliy Telezhnikov <vasilyt@chromium.org> Commit-Queue: Jonathan Backer <backer@chromium.org> Cr-Commit-Position: refs/heads/master@{#718801}
-
Daniel Rubery authored
The ternary operator here was backwards, with light mode colors being used when the system is in dark mode, and vice versa. Change-Id: Id6788f601a4cd741fb6ddce6ebe1aeb8fb44f1eb Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1933386 Auto-Submit: Daniel Rubery <drubery@chromium.org> Reviewed-by:
Thomas Anderson <thomasanderson@chromium.org> Commit-Queue: Thomas Anderson <thomasanderson@chromium.org> Cr-Commit-Position: refs/heads/master@{#718800}
-
Kristi Park authored
The actual screenshot image editor implementation lives downstream in Clank and should be used over the upstream implementation. See go/chrome-screenshotz-dd Bug: 1024586 Change-Id: Ia79a8ea9b9d95e40a5965168be435d325dc68b5f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1931270 Commit-Queue: Kristi Park <kristipark@chromium.org> Reviewed-by:
Tibor Goldschwendt <tiborg@chromium.org> Cr-Commit-Position: refs/heads/master@{#718799}
-
Theresa Wellington authored
Some clean-up from nits in http://crrev.com/c/1929262. BUG=1018170 Change-Id: Ib062e2ed3f512d3d3789099424534412519f5025 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1934449Reviewed-by:
Matthew Jones <mdjones@chromium.org> Commit-Queue: Theresa <twellington@chromium.org> Cr-Commit-Position: refs/heads/master@{#718798}
-
Lily Chen authored
Bug: 1007122 Change-Id: I1fd2715b5d18b512d3b498779c5e9495c2a6ed44 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1929986Reviewed-by:
Matt Menke <mmenke@chromium.org> Reviewed-by:
Charlie Harrison <csharrison@chromium.org> Commit-Queue: Lily Chen <chlily@chromium.org> Cr-Commit-Position: refs/heads/master@{#718797}
-
Shawn Gallea authored
This is needed to prevent a crash where WebContentController::AttachTo is called after the controller is destroyed. Bug: Internal b/144546163 Bug: Internal b/144861135 Test: Compile cast_shell Change-Id: I71b05e3f6d404a4044c623a1712650e4f459e85a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1934652Reviewed-by:
Daniel Nicoara <dnicoara@chromium.org> Commit-Queue: Shawn Gallea <sagallea@google.com> Cr-Commit-Position: refs/heads/master@{#718796}
-
Joe Downing authored
The Chrome app has been deprecated and replaced by a website. I am now cleaning up references to it throughout Chromium with the eventual goal of removing the code. Change-Id: I1e43659c82c79bb3a25b907496ee406b250e8e9e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1926538Reviewed-by:
Bruce Dawson <brucedawson@chromium.org> Commit-Queue: Joe Downing <joedow@chromium.org> Cr-Commit-Position: refs/heads/master@{#718795}
-
Khushal authored
Most code uses the StaticBitmapImage factory method for creating accelerated or unaccelerated versions of this class using an SkImage, which directs to the corresponding sub-class. As a first step towards removing support for creating an AcceleratedStaticBitmapImage with an SkImage, remove this method and have the call-sites explicitly create the sub-class based on whether the SkImage is texture backed. Subsequent patches will transition these cases to use shared images instead for allocating the texture's memory backing. The accelerated image can then be created using the shared image mailbox. R=fserb@chromium.org TBR=tsepez@chromium.org Bug: 962630 Change-Id: Ic3c7f05918c8fa9d2dd8bf365e56bffbab908a45 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1925245 Commit-Queue: Khushal <khushalsagar@chromium.org> Auto-Submit: Khushal <khushalsagar@chromium.org> Reviewed-by:
Jeremy Roman <jbroman@chromium.org> Reviewed-by:
Darwin Huang <huangdarwin@chromium.org> Reviewed-by:
Philip Rogers <pdr@chromium.org> Reviewed-by:
Fernando Serboncini <fserb@chromium.org> Cr-Commit-Position: refs/heads/master@{#718794}
-
Marc Treib authored
ProfileSyncService::GetTransportState() used to DCHECK that the engine doesn't exist if IsEngineAllowedToStart() is false. However, we *can* temporarily be in that state during ShutdownImpl(). Since it's not easily possible to check the relaxed condition, this CL removes the DCHECK. Bug: none Change-Id: Ie9361246208a69761830715f2c04c0370314d183 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1917771Reviewed-by:
Mikel Astiz <mastiz@chromium.org> Commit-Queue: Marc Treib <treib@chromium.org> Cr-Commit-Position: refs/heads/master@{#718793}
-
chromium-autoroll authored
https://chromium.googlesource.com/chromium/tools/depot_tools.git/+log/800129711d28..0ab6a9f6e41a git log 800129711d28..0ab6a9f6e41a --date=short --first-parent --format='%ad %ae %s' 2019-11-25 ehmaldonado@chromium.org depot_tools: Use system's python for vpython. Created with: gclient setdep -r src/third_party/depot_tools@0ab6a9f6e41a If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/depot-tools-chromium-autoroll Please CC agable@chromium.org on the revert to ensure that a human is aware of the problem. To report a problem with the AutoRoller itself, please file a bug: https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+/master/autoroll/README.md Bug: None Tbr: agable@chromium.org Change-Id: I88db8b8a169d4ab5f68b0fedb27750219ddefaf7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1934529Reviewed-by:
chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com> Commit-Queue: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com> Cr-Commit-Position: refs/heads/master@{#718792}
-
Bo Liu authored
If webview is in software mode, then 2d canvas are created in software mode. Make sure this works by getting the bitmap of a solid color canvas. Bug: 1027161 Change-Id: I99c547eb301f81940ea22ff8388243e3b711312d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1932418Reviewed-by:
Tobias Sargeant <tobiasjs@chromium.org> Commit-Queue: Bo <boliu@chromium.org> Cr-Commit-Position: refs/heads/master@{#718791}
-
Jasper Chapman-Black authored
Change-Id: Ic53887c62d7907f096520b5074fd55195c1ec530 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1933382 Commit-Queue: Jasper Chapman-Black <jaspercb@chromium.org> Reviewed-by:
Andrew Grieve <agrieve@chromium.org> Cr-Commit-Position: refs/heads/master@{#718790}
-
Peter Kotwicz authored
This CL makes WebappActivity use CustomTabStatusBarColorProvider BUG=997793 R=peconn, dominickn TBR=yfriedman (for location of ThemeTestUtils.java) Change-Id: Ie964caea7e7708d88934fcb16d226d7f155203df Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1858605Reviewed-by:
Peter Kotwicz <pkotwicz@chromium.org> Reviewed-by:
Peter Conn <peconn@chromium.org> Reviewed-by:
Dominick Ng <dominickn@chromium.org> Commit-Queue: Peter Kotwicz <pkotwicz@chromium.org> Cr-Commit-Position: refs/heads/master@{#718789}
-
Adenilson Cavalcanti authored
It seems that some years ago clang@Windows didn't have the proper intrinsic required, which prompted the use of inline ASM. It has a side effect in that it will allow compilation of the optimized function within the same compilation unit while using regular compiler flags (i.e. 'crc32' instruction on x86 requires some special compiler flags). Main issue is that inline ASM is blocked on dependencies (e.g. 'base') that will be linked to NaCl. The main idea here is to allow the whole Chromium code base to use the highly optimized checksums in zlib (e.g. crc32 and Adler-32), exported through an interface (i.e. base::Crc32()). This patch fixes this issue by removing the use of inline ASM. The workaround is to use clang/gcc 'target attributes' to instruct the backend to use different code generation options for the optimized function, see: https://clang.llvm.org/docs/AttributeReference.html#target Bug: 902789 Change-Id: I0d139268aefb8335310c0e3f6533006be9af6470 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1931272Reviewed-by:
Adenilson Cavalcanti <cavalcantii@chromium.org> Commit-Queue: Adenilson Cavalcanti <cavalcantii@chromium.org> Cr-Commit-Position: refs/heads/master@{#718788}
-
Nathan Zabriskie authored
This CL replaces references to GLInterface with RasterInterface in CanvasResourceSwapChain to help the transition to OOP rasterization in Canvas2D. Bug: 1023254 Change-Id: I3706ec9d7defa2dc49a6c01bdd4e50e5d18c4344 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1928637Reviewed-by:
Khushal <khushalsagar@chromium.org> Commit-Queue: Nathan Zabriskie <nazabris@microsoft.com> Cr-Commit-Position: refs/heads/master@{#718787}
-
James Hawkins authored
This is no longer accessed from JS/HTML. R=hansberry@chromium.org, reillyg@chromium.org Bug: 894585 Test: none Change-Id: Ibfde36a2c8f5c0e2c1853d85ca30d2f8f59121da Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1932169Reviewed-by:
Reilly Grant <reillyg@chromium.org> Reviewed-by:
Ryan Hansberry <hansberry@chromium.org> Commit-Queue: James Hawkins <jhawkins@chromium.org> Cr-Commit-Position: refs/heads/master@{#718786}
-
Annie Sullivan authored
Change-Id: Idf3a61002fbeae07f76b57d8f0a62c650ee33562 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1933373Reviewed-by:
Steven Holte <holte@chromium.org> Commit-Queue: Annie Sullivan <sullivan@chromium.org> Cr-Commit-Position: refs/heads/master@{#718785}
-
Chromium WPT Sync authored
Using wpt-import in Chromium f58d391f. With Chromium commits locally applied on WPT: e83dd93c "Limit backtracking on regexp called from blink." 500a74f5 "Add a runtime flag to enforce strict MIME type checks for workers." 79b9ec84 "Port webkit-mask-position-interpolation to wpt" Note to sheriffs: This CL imports external tests and adds expectations for those tests; if this CL is large and causes a few new failures, please fix the failures by adding new lines to TestExpectations rather than reverting. See: https://chromium.googlesource.com/chromium/src/+/master/docs/testing/web_platform_tests.md Directory owners for changes in this CL: rego@igalia.com: external/wpt/css/css-grid NOAUTOREVERT=true TBR=lpz No-Export: true Change-Id: I140ecf2f23cdd1520c066e28c4aa4757e501f986 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1934488Reviewed-by:
WPT Autoroller <wpt-autoroller@chops-service-accounts.iam.gserviceaccount.com> Commit-Queue: WPT Autoroller <wpt-autoroller@chops-service-accounts.iam.gserviceaccount.com> Cr-Commit-Position: refs/heads/master@{#718784}
-
Brian Sheedy authored
Re-enables the BrowserMinidumpTests on ChromeOS since the CL that was supposedly causing extra crash dumps to appear unexpectedly on Betty devices has been reverted. TBR=crouleau@chromium.org Bug: 1014754 Change-Id: I93645b8fb8994ad9e7506d7e2a07e4ce520c03f2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1933596Reviewed-by:
Brian Sheedy <bsheedy@chromium.org> Reviewed-by:
Caleb Rouleau <crouleau@chromium.org> Commit-Queue: Brian Sheedy <bsheedy@chromium.org> Cr-Commit-Position: refs/heads/master@{#718783}
-
Owen Min authored
This reverts commit 9256783c. Reason for revert: This CL may be responsible for multiple All/Overview* flaky use-of-uninitialized-value. First failed build: https://ci.chromium.org/p/chromium/builders/ci/Linux%20ChromiumOS%20MSan%20Tests/16416?blamelist=1#blamelist-tab Because the original CL has been landed for few days, the change in tools/metrics/histograms/histograms.xml are not reverted due to merge warning. Original change's description: > Cros: Add metrics for transitions in the hotseat > > Report animation smoothness for the transition into the hotseat in the > HomeLauncher. > > Bug: 1022178, 1022177 > Change-Id: I5dc5e76688aa5a88bcabb5d688b419d819932867 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1917941 > Commit-Queue: Ana Salazar <anasalazar@chromium.org> > Reviewed-by: Alex Newcomer <newcomer@chromium.org> > Reviewed-by: Manu Cornet <manucornet@chromium.org> > Reviewed-by: Nik Bhagat <nikunjb@chromium.org> > Cr-Commit-Position: refs/heads/master@{#718266} TBR=nikunjb@chromium.org,newcomer@chromium.org,manucornet@chromium.org,anasalazar@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: 1022178, 1022177, 1028255 Change-Id: If460f00f10fb8f8df2a9f7d3d41abfdd91f0ad0e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1933739 Commit-Queue: Owen Min <zmin@chromium.org> Reviewed-by:
Owen Min <zmin@chromium.org> Reviewed-by:
Manu Cornet <manucornet@chromium.org> Cr-Commit-Position: refs/heads/master@{#718782}
-
chromium-autoroll authored
https://skia.googlesource.com/skia.git/+log/61169e9c4794..4a327bcb1019 git log 61169e9c4794..4a327bcb1019 --date=short --first-parent --format='%ad %ae %s' 2019-11-25 herb@google.com Fix chrome build bots 2019-11-25 herb@google.com Structured binding for SkZip and SkEnumerate 2019-11-25 herb@google.com Simplify SubRun structure in GrTextBlob Created with: gclient setdep -r src/third_party/skia@4a327bcb1019 If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/skia-autoroll Please CC bungeman@google.com on the revert to ensure that a human is aware of the problem. To report a problem with the AutoRoller itself, please file a bug: https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+/master/autoroll/README.md Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux-blink-rel;luci.chromium.try:linux-chromeos-compile-dbg;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel Bug: None Tbr: bungeman@google.com Change-Id: I121c7bf090c7586fac33f8e24e476b9db7332164 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1933380Reviewed-by:
chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com> Commit-Queue: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com> Cr-Commit-Position: refs/heads/master@{#718781}
-
Yusuke Sato authored
This will make it easier to detect unibuild-related VM configuration errors. BUG=b:123309049 TEST=try, git cl lint Change-Id: Ie0dae50fe7df6a517ec3f41872e7e00a1e4aa8ec Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1931747 Commit-Queue: Yusuke Sato <yusukes@chromium.org> Reviewed-by:
Hidehiko Abe <hidehiko@chromium.org> Cr-Commit-Position: refs/heads/master@{#718780}
-
Michael Spang authored
GetKeyboardLayoutEngine() has the side effect of creating a stub keyboard layout engine if there's no previous layout engine. Avoid this as it shouldn't be necessary and it creates ordering dependencies between tests. In particular, running EventConverterEvdevImplTest after XkbLayoutEngineVkTest causes a crash when we enable use_xkbcommon in GN. This shows up as a flaky failure on infra: flaky failures [ignored]: EventConverterEvdevImplTest.KeyPress Removing the implicit initialization required fixes to a few components: - KeyEvent tests must create a layout engine if they call GetDomKey or GetCharacter - ozone/x11 needs to provide a layout engine to chromium. There was no layout engine support in that component at all. This needs followup work as Linux builds that need proper keyboard layout support need to use XkbKeyboardLayoutEngine rather than StubKeyboardLayoutEngine. - Chromedriver needs to create a layout engine if run headlessly in X11 (USE_X11) builds without an X display. This is a particularly unusual case as we've building ozone code in a non-ozone build. This patch makes those components create a StubKeyboardLayoutEngine explicitly, which is equivalent to the previous implicit behavior. KeyEvent tests that rely on the global layout (because they call GetDomKey or GetCharacter) now use ScopedKeyboardLayout, which has been updated to create a StubKeyboardLayoutEngine under the hood. If more control is required, a custom layout engine can be provided via ScopedKeyboardLayoutEngine (ozone specific). Bug: 1026406 Change-Id: I925ed2d0de880e19eaee41a2b36595fea467b6bb Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1928250Reviewed-by:
Scott Violet <sky@chromium.org> Reviewed-by:
Kevin Schoedel <kpschoedel@chromium.org> Reviewed-by:
John Chen <johnchen@chromium.org> Commit-Queue: Michael Spang <spang@chromium.org> Cr-Commit-Position: refs/heads/master@{#718779}
-
Owen Min authored
This reverts commit d96236b5. Reason for revert: This may cause "WebKit Linux Leak" failure First failure: https://ci.chromium.org/p/chromium/builders/ci/WebKit%20Linux%20Leak/7276 Original change's description: > Sanitize style elements in clipboard markup > > This patch sanitizes clipboard markup before pasting it into document > by removing all pasted style elements and serializing them onto > elements as inline style. In this way, we stop stylesheets in clipboard > markup from being applied to the original elements in the document. > > This patch follows the same approach as in WebKit [1]: > - First create a dummy document to insert the markup > - Then computes style and layout in the dummy document > - Re-serialize the dummy document as the markup to be inserted. This > reuses the code path that we serialize a selection range into > clipboard, where we need to serialize element computed style into > inline styles so that the element styles are preserved. > - Make sure all style elements are removed before inserting markup > into document > > This patch also adds a complete test to ensure that content pasted from > Excel is still properly styled, which is the main reason we used to > preserve style elements in clipboard markup [2]. > > [1] https://trac.webkit.org/changeset/223440 > [2] http://crbug.com/121163 > > Bug: 1017871 > Change-Id: I3bb5a4ae7530a3fdef5ba251975e004857c06f1e > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1922919 > Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org> > Reviewed-by: Yoshifumi Inoue <yosin@chromium.org> > Reviewed-by: Kent Tamura <tkent@chromium.org> > Cr-Commit-Position: refs/heads/master@{#718281} TBR=yosin@chromium.org,tkent@chromium.org,xiaochengh@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: 1017871, 1027386 Change-Id: I1d500647d6227c9be3ae14d9604ba702e9c29834 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1933452Reviewed-by:
Owen Min <zmin@chromium.org> Reviewed-by:
Xiaocheng Hu <xiaochengh@chromium.org> Commit-Queue: Owen Min <zmin@chromium.org> Cr-Commit-Position: refs/heads/master@{#718778}
-
Tim Song authored
BUG=1027262 Change-Id: Id6745691e05f337a41de1aff2c5cbda558f85c14 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1929617Reviewed-by:
Ahmed Mehfooz <amehfooz@chromium.org> Commit-Queue: Ahmed Mehfooz <amehfooz@chromium.org> Cr-Commit-Position: refs/heads/master@{#718777}
-
Vladimir Levin authored
This patch puts an early out for cases where the layout (for position) or paint (for pagination) is blocked by the display lock. This takes the growing update time on the referenced bug (example in comment 17) from ~8ms per frame to ~1ms per frame on my linux desktop. R=chrishtr@chromium.org Bug: 999486 Change-Id: I1c7a2a1948371c61565c079d30341c0ee4c7e8b7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1934509Reviewed-by:
Chris Harrelson <chrishtr@chromium.org> Commit-Queue: vmpstr <vmpstr@chromium.org> Cr-Commit-Position: refs/heads/master@{#718776}
-
Joshua Bell authored
Converting script values to Indexed DB keys is a recursive algorithm in the spec. The implementation is naively recursive as well, but this can hit stack limits on some configurations (compiler, OS, build type, etc). Convert the implementation to do recursion on the heap instead of the stack. No functional changes. Bug: 1022460 Change-Id: I7292d38113d540c5bdf725c8354e19e1e13b0f25 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1921636 Commit-Queue: Joshua Bell <jsbell@chromium.org> Reviewed-by:
Yuki Shiino <yukishiino@chromium.org> Reviewed-by:
Olivier Yiptong <oyiptong@chromium.org> Cr-Commit-Position: refs/heads/master@{#718775}
-
Lily Chen authored
Bug: 807144 Change-Id: Ia7d6f83381509113b6601839b5c1d8eacdbc4860 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1929985Reviewed-by:
Charlie Harrison <csharrison@chromium.org> Reviewed-by:
Matt Menke <mmenke@chromium.org> Commit-Queue: Lily Chen <chlily@chromium.org> Cr-Commit-Position: refs/heads/master@{#718774}
-
Yusuke Sato authored
* Add setters for testing to arc::FileSystemStatus * Add CreateArcVmClientAdapterForTesting() that allows the unit tests to rewrite the FileSystemStatus object BUG=b:123309049 TEST=try, git cl lint Change-Id: Id1054af7343c02d0f345b24ebd9546faeb98d774 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1931541 Commit-Queue: Yusuke Sato <yusukes@chromium.org> Reviewed-by:
Hidehiko Abe <hidehiko@chromium.org> Cr-Commit-Position: refs/heads/master@{#718773}
-
Henrique Nakashima authored
Follow-up CL will change the JNI API to restrict reading and writing to these keys only. Bug: 1022108 Change-Id: Ibf61af08dbffbe44f92977cc3127c0e568661af2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1930692Reviewed-by:
Donn Denman <donnd@chromium.org> Commit-Queue: Henrique Nakashima <hnakashima@chromium.org> Cr-Commit-Position: refs/heads/master@{#718772}
-
chromium-autoroll authored
https://dawn.googlesource.com/dawn.git/+log/8e9c3f663ccd..e9356045a4e0 git log 8e9c3f663ccd..e9356045a4e0 --date=short --first-parent --format='%ad %ae %s' 2019-11-25 rharrison@chromium.org Rolling 3 dependencies Created with: gclient setdep -r src/third_party/dawn@e9356045a4e0 If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/dawn-chromium-autoroll Please CC cwallez@google.com on the revert to ensure that a human is aware of the problem. To report a problem with the AutoRoller itself, please file a bug: https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+/master/autoroll/README.md Cq-Include-Trybots: luci.chromium.try:dawn-linux-x64-deps-rel;luci.chromium.try:dawn-mac-x64-deps-rel;luci.chromium.try:dawn-win10-x64-deps-rel;luci.chromium.try:dawn-win10-x86-deps-rel Bug: None Tbr: cwallez@google.com Change-Id: I8c5397947208aa856122b44bb4b7588c6c999d1a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1933759Reviewed-by:
chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com> Commit-Queue: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com> Cr-Commit-Position: refs/heads/master@{#718771}
-
Owen Min authored
The test was mistakely disabled on all platforms but Mac. However, it should be disabled in the exactly opposite way. Tbr: dpapad@chromium.org Bug: 1028129 Change-Id: Ie54a98fe84db3be5a8989bd9cf1553591c69f067 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1933597Reviewed-by:
Demetrios Papadopoulos <dpapad@chromium.org> Commit-Queue: Owen Min <zmin@chromium.org> Cr-Commit-Position: refs/heads/master@{#718770}
-
John Lee authored
This CL moves away from listening on the generic window onfocus event and moves towards sending a custom WebUI event when the AccessiblePane receives focus. This resolves 2 main issues: (1) Visual focus indicators being visible on focus caused by touch. (2) The tab strip scrolls to the very first tab on tap because the first tab immediately becomes focused on window focus. Bug: 1017472 Change-Id: I8565b2e244a205791ba81eca23ba5a475c2f441c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1929447 Commit-Queue: John Lee <johntlee@chromium.org> Reviewed-by:
Demetrios Papadopoulos <dpapad@chromium.org> Reviewed-by:
Collin Baker <collinbaker@chromium.org> Cr-Commit-Position: refs/heads/master@{#718769}
-