- 25 Sep, 2019 40 commits
-
-
Brian Sheedy authored
Switches use of PrintResult in command_buffer_perftests to PerfResultReporter and whitelists the tests for conversion to histograms before uploading to the perf dashboard. Bug: 923564 Change-Id: I9e956a7a299b029201e1707dcfe1b0ba842866cf Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1812092 Commit-Queue: Brian Sheedy <bsheedy@chromium.org> Auto-Submit: Brian Sheedy <bsheedy@chromium.org> Reviewed-by:
Zhenyao Mo <zmo@chromium.org> Cr-Commit-Position: refs/heads/master@{#700014}
-
Dana Fried authored
Provides ability to specify an alignment that kicks in after a child view expands beyond its preferred size. The view can stretch to fill the available flex space (kStretch), or float to the leading or trailing edges or center of the container (kStart, kEnd, and kCenter, respectively). Change-Id: Iaeee58630ca4eab5a4f6a07554900cad0ad940f7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1825717Reviewed-by:
Peter Kasting <pkasting@chromium.org> Commit-Queue: Peter Kasting <pkasting@chromium.org> Cr-Commit-Position: refs/heads/master@{#700013}
-
Yao Xiao authored
Some extension browser tests are failing when split cache is enabled, because the request is not considered as cacheable when the Network Isolation Key is missing. This CL fills in the Network Isolation Key for the factory used by request from extensions. This factory is used for xhr and fetch requests from the extension’s background script. Bug: 1003882 Change-Id: If5ff7f159dbccb490b1f8ec5d5f98e08301ba1bf Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1811477 Commit-Queue: Yao Xiao <yaoxia@chromium.org> Reviewed-by:
Devlin <rdevlin.cronin@chromium.org> Reviewed-by:
John Abd-El-Malek <jam@chromium.org> Reviewed-by:
Łukasz Anforowicz <lukasza@chromium.org> Reviewed-by:
Shivani Sharma <shivanisha@chromium.org> Cr-Commit-Position: refs/heads/master@{#700012}
-
Renjie Tang authored
Change-Id: I107fe923f70f641a08fe13326aaea55c8da1a0a0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1823760Reviewed-by:
Eric Roman <eroman@chromium.org> Commit-Queue: Renjie Tang <renjietang@chromium.org> Cr-Commit-Position: refs/heads/master@{#700011}
-
Anand K. Mistry authored
BUG=None Change-Id: I3ffb028e0f657cf986eca367be40f621a1d02c83 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1824718Reviewed-by:
Michael Giuffrida <michaelpg@chromium.org> Commit-Queue: Anand Mistry <amistry@chromium.org> Cr-Commit-Position: refs/heads/master@{#700010}
-
Michael Crouse authored
This change creates a PredictionModelFetcher for fetching PredictionModels from the Optimization Guide Service. The fetcher request specifies the ModelTypes and features supported by the client. The fetch also requests HostModelFeatures for the hosts the client is likely to request predictions for. Future CLs will populate the ModelInfo and hosts based on the PredictionModels enabled on the client and the hosts that the client engages with most frequently, captured by the OptimizationGuideTopHostProvider. Model fetches will only be enabled by a Finch Feature flag to be included in a future change. Bug: 1001194 Change-Id: Ic9b8418cb17e82c713888571de2da2a03c634754 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1818436 Commit-Queue: Michael Crouse <mcrouse@chromium.org> Auto-Submit: Michael Crouse <mcrouse@chromium.org> Reviewed-by:
Nicolas Ouellet-Payeur <nicolaso@chromium.org> Reviewed-by:
Doug Arnett <dougarnett@chromium.org> Reviewed-by:
Tarun Bansal <tbansal@chromium.org> Cr-Commit-Position: refs/heads/master@{#700009}
-
Ben Kelly authored
The parallel read experiment shows that cache match miss rate regresses on android for some reason. All other platforms show big progressions. Therefore we are going to keep parallel reads disabled on just android while enabling it by default for all other platforms. Bug: 985379 Change-Id: I05c24f94f4ce2fe5246f2811ed605adf094412f6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1825398Reviewed-by:
Matt Falkenhagen <falken@chromium.org> Commit-Queue: Ben Kelly <wanderview@chromium.org> Cr-Commit-Position: refs/heads/master@{#700008}
-
Lily Chen authored
Received API_OWNERS LGTMs to ship this feature. Received launch approval for Stable (crbug.com/1003925). Bug: 966576 Change-Id: I099cec9ac6518a80df06b495cca26e45c5710664 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1804274Reviewed-by:
John Abd-El-Malek <jam@chromium.org> Commit-Queue: Lily Chen <chlily@chromium.org> Cr-Commit-Position: refs/heads/master@{#700007}
-
Dan Beam authored
Also fixes an RTL issue with promo icons. Screenshots: * screen/hehqtqE4ufa * screen/b4oZ75qGFmS * screen/5pTjRC4v6iq * screen/wuMG0SOZ7Bj * screen/zRA7bqZxCut * screen/1ridYUv2oYj R=mahmadi@chromium.org Bug: 1003508 Change-Id: Ic3446f54fb28f9a5420f84780532525ac0f43752 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1824069 Auto-Submit: Dan Beam <dbeam@chromium.org> Reviewed-by:
Moe Ahmadi <mahmadi@chromium.org> Commit-Queue: Dan Beam <dbeam@chromium.org> Cr-Commit-Position: refs/heads/master@{#700006}
-
Daniel Soromou authored
Change-Id: I5aa79823c36380303e75b429774f64c710e9159b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1799691Reviewed-by:
Tsuyoshi Horo <horo@chromium.org> Reviewed-by:
Matt Falkenhagen <falken@chromium.org> Commit-Queue: Daniel Soromou <fosoromo@microsoft.com> Cr-Commit-Position: refs/heads/master@{#700005}
-
Lukasz Anforowicz authored
This method has no callers (outside of unittests). The last caller (ResourceDispatcherHostImpl::ShouldServiceRequest) has been removed in r682144. The removal is especially desirable, given that CanSetAsOriginHeader is one of few places which used to call CanAccessDataForOrigin from an IO thread (making it difficult to introduce Citadel-style Site Isolation enforcements). Bug: 764958 Change-Id: I9d38e00c29fc7d391cfdbbde17987b9c2e1b66a0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1824145 Commit-Queue: Łukasz Anforowicz <lukasza@chromium.org> Reviewed-by:
Alex Moshchuk <alexmos@chromium.org> Cr-Commit-Position: refs/heads/master@{#700004}
-
Andrew Luo authored
Bug: 1001734 Change-Id: I3ba0d285a6bded1d103633a374f54b7ac0260425 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1819628Reviewed-by:
Ben Pastene <bpastene@chromium.org> Commit-Queue: Andrew Luo <aluo@chromium.org> Cr-Commit-Position: refs/heads/master@{#700003}
-
chromium-autoroll authored
https://webrtc.googlesource.com/src.git/+log/d63f8f88a1b0..30c2b66fbabe git log d63f8f88a1b0..30c2b66fbabe --date=short --no-merges --format='%ad %ae %s' 2019-09-25 chromium-webrtc-autoroll@webrtc-ci.iam.gserviceaccount.com Roll chromium_revision edf70056..489dde9b (699748:699869) 2019-09-25 danilchap@webrtc.org Implement TaskQueueBase interface by SingleThreadedTaskQueueForTesting 2019-09-25 srte@webrtc.org Cleanup of unused field trials and options in SendSideBandwidthEstimation Created with: gclient setdep -r src/third_party/webrtc@30c2b66fbabe If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/webrtc-chromium-autoroll Please CC webrtc-chromium-sheriffs-robots@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 TBR=webrtc-chromium-sheriffs-robots@google.com Bug: chromium:None Change-Id: I145c12b7e8bfd1b5850f5e87f0a7ac408bdd3a1b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1825863Reviewed-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@{#700002}
-
Daniel Hosseinian authored
Print preview UI expects the initial settings key to be in camelCase, like |previewIsPdf|. Bug: 989978 Change-Id: Ifcfee6f71e3dcdb4902054b7f9407c814898a481 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1825897 Auto-Submit: Daniel Hosseinian <dhoss@chromium.org> Reviewed-by:
Rebekah Potter <rbpotter@chromium.org> Commit-Queue: Daniel Hosseinian <dhoss@chromium.org> Cr-Commit-Position: refs/heads/master@{#700001}
-
Kevin Qin authored
Renaming OpenXR location related variables/functions so their meanning is more clear Change-Id: I760b143b9f4d4a498741278b507b9608bca51b6c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1820022Reviewed-by:
Alexander Cooper <alcooper@chromium.org> Commit-Queue: Zheng Qin <zheqi@microsoft.com> Cr-Commit-Position: refs/heads/master@{#700000}
-
chromium-autoroll authored
https://chromium.googlesource.com/chromiumos/chromite.git/+log/d1d142297302..3ef6d975b402 git log d1d142297302..3ef6d975b402 --date=short --no-merges --format='%ad %ae %s' 2019-09-25 vapier@chromium.org pylint: enable docstyle checker 2019-09-25 vapier@chromium.org pylint: re-enable bad-builtins Created with: gclient setdep -r src/third_party/chromite@3ef6d975b402 If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/chromite-chromium-autoroll Please CC chrome-os-gardeners@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:chromeos-kevin-rel TBR=chrome-os-gardeners@google.com Bug: None Change-Id: Iae9eb96a01e85226f3c9b331bc15ca99c0832d15 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1825783Reviewed-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@{#699999}
-
Peter K. Lee authored
Declare them as extern in .h files and have a single implementation in .mm file. Nothing bad happened fortunately because this variable is a const, but it's wrong. Bug: None Change-Id: Ia9bcb4121594fae9dd6c95679cdcdf6b67f411ef Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1825170Reviewed-by:
Peter Lee <pkl@chromium.org> Reviewed-by:
Sergio Collazos <sczs@chromium.org> Auto-Submit: Peter Lee <pkl@chromium.org> Commit-Queue: Sergio Collazos <sczs@chromium.org> Cr-Commit-Position: refs/heads/master@{#699998}
-
Samuel Huang authored
This CL restructures PAK inclusion for DevUI pages to be hierarchical: * Each DevUI page has its own "atomic" PAK files (currently only done for chrome://bluetooth-internals). * On *all* architectures, pages intended for the DevUI DFM are repacked into dev_ui_page_resources.pak. * For non-Android, or if DevUI DFM is off, dev_ui_page_resources.pak is simply repacked with other resources to form resources.pak. This produces the same result as before. * For Android with DevUI DFM on (APK and bundles): * dev_ui_page_resources.pak and DevUI support resources are repacked into dev_ui_resources.pak. * Remaining resources go into resources.pak. This CL also centralizes atomic PAK files targets and deps into a single target (dev_ui_paks) in chrome/browser/resources/BUILD.gn, making it easier to edit dev_ui_page_resources.pak contents. Change-Id: Ieeaa18a322b46ed5102b2cbec20fab44a2b4ab82 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1785007Reviewed-by:
Tibor Goldschwendt <tiborg@chromium.org> Reviewed-by:
Dan Beam <dbeam@chromium.org> Reviewed-by:
Andrew Grieve <agrieve@chromium.org> Commit-Queue: Samuel Huang <huangs@chromium.org> Cr-Commit-Position: refs/heads/master@{#699997}
-
Lukasz Anforowicz authored
ChromeSerializedNavigationDriver::Sanitize may rewrite some session restore entries stored in sessions::SerializedNavigationEntry. Such rewrite needs to leave the data in a self-consistent state. This becomes more important now, because r698995 introduced extra DCHECKs that enforce the self-consistency. Before this CL, ChromeSerializedNavigationDriver::Sanitize would modify PageState (which contains the URL, Referrer and other pieces of data), but would not modify the referrer stored in the SerializedNavigationEntry. This CL fixes this. Bug: 1007532 Change-Id: I0e8722914f1d7a7283a1d87b26b645e058b1c18b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1825461 Commit-Queue: Łukasz Anforowicz <lukasza@chromium.org> Reviewed-by:
Scott Violet <sky@chromium.org> Cr-Commit-Position: refs/heads/master@{#699996}
-
Henrique Nakashima authored
These are simple files to move so doing both in the same CL. Bug: 995916 Change-Id: I67b61f9d3ffea0f66bd493f350f069affea708e1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1812117 Commit-Queue: Henrique Nakashima <hnakashima@chromium.org> Reviewed-by:
Peter Wen <wnwen@chromium.org> Reviewed-by:
Tommy Nyquist <nyquist@chromium.org> Cr-Commit-Position: refs/heads/master@{#699995}
-
liberato@chromium.org authored
This re-lands: https://chromium-review.googlesource.com/c/chromium/src/+/1699138 which was reverted by: https://chromium-review.googlesource.com/c/chromium/src/+/1824081 due to asan failures. The failures were test-only. It used a base::Unretained in a mock that, due to a posted callback, was being destroyed during test teardown before the callback had a chance to run. When it did run, asan got mad. This CL replaces the unretained with a weak ptr. Changes are in mock_shared_image_video_provider.* . TBR=sandersd,vikassoni,mpearson Change-Id: I85e6f85a6f81964a6c4b286d2b8219d0b4840958 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1825900 Commit-Queue: Frank Liberato <liberato@chromium.org> Reviewed-by:
Frank Liberato <liberato@chromium.org> Cr-Commit-Position: refs/heads/master@{#699994}
-
Giovanni Ortuño Urquidi authored
Adds: 1. "enable_typescript_bindings" gn arg, which must be set to true to test Typescript bindings. 2. "use_typescript_sources" gn variable that can be set to opt-in a target into generating Typescript bindings. 3. Test interfaces folder where interfaces will be added as features are implemented. 4. A mojom gn target that includes the tests interfaces. This target is included as part of mojo_unittests 5. Basic template and generator implementation. 6. Script to compile generated Typescript bindings into JS bindings. Bug: 1002798 Change-Id: Id8424d707ad4b2ec9a773b291fd4a41332623274 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1817860Reviewed-by:
Dan Beam <dbeam@chromium.org> Reviewed-by:
Ken Rockot <rockot@google.com> Commit-Queue: Giovanni Ortuño Urquidi <ortuno@chromium.org> Cr-Commit-Position: refs/heads/master@{#699993}
-
Brandon Wylie authored
The following icons should be colored according to the current theme: - search loupe - globe I've changed the functionality from setting properties in the model to setting the resource values intermediate variables (icon/tint) and settings those in the model at the end of the branch. This simplifies the code a bit and makes it easier to read. To allow for this change, I've altered the favicon fetching logic to post a task back to the ui thread for the callback. This way the callback isn't invoked immediately, which avoids crbug.com/997343 from resurfacing due to this change. Bug: 1004903 Change-Id: I6e8102f47e81d0037761d9b111b98d4f1999a225 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1818604 Commit-Queue: Brandon Wylie <wylieb@chromium.org> Reviewed-by:
Theresa <twellington@chromium.org> Reviewed-by:
Ender <ender@google.com> Cr-Commit-Position: refs/heads/master@{#699992}
-
Nate Fischer authored
No change to logic, only docs. This adds navbar.md (supported by gitiles markdown) to the mojo docs. This makes http://go/mojo-docs/ slightly easier to navigate, as the top bar will link to some of the high-level documents. This does not link to every mojo doc, to avoid over-cluttering the navbar. Test: Upload to gerrit > open file > click "gitiles" Change-Id: I2cad169397ae8a0d12b23da735fb9d641a1eff64 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1824062 Commit-Queue: Nate Fischer <ntfschr@chromium.org> Reviewed-by:
Oksana Zhuravlova <oksamyt@chromium.org> Cr-Commit-Position: refs/heads/master@{#699991}
-
Etienne Bergeron authored
This CL is proposing to lift the call to FcInit to ensures the font-config is initialized. Currently, the FcInit(...) is lazily called on first use. On windows, the DWrite is early initialized to avoid the lazy initialisation. We proposed to do the same on Linux. The behavior should be the same on Windows. On Linux, FcInit should be called on startup, as we need fonts for any rendering. The main goal of this change is to help collapsing the bugs / crashes stack to point to a single culprit. Currently, they are spread over multiple stackframes in incorrectly reporter. Memory leak with FcInit(...) - crbug/1000881, crbug/977249 Iterator corrupt, initialisation - crbug/1004254 More signatures are available here: https://bugs.chromium.org/p/chromium/issues/detail?id=1004254#c11 Change-Id: I1f6d80c790829b1d9416b773d5c9cdba16f90eef Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1808447Reviewed-by:
Thomas Anderson <thomasanderson@chromium.org> Reviewed-by:
Dominik Röttsches <drott@chromium.org> Reviewed-by:
Alexei Svitkine <asvitkine@chromium.org> Reviewed-by:
Scott Violet <sky@chromium.org> Reviewed-by:
Robert Liao <robliao@chromium.org> Commit-Queue: Etienne Bergeron <etienneb@chromium.org> Cr-Commit-Position: refs/heads/master@{#699990}
-
Robert Liao authored
Quick cleanup for ScreenCaptureNotificationUIViews in preparation for Layout changes in http://crbug.com/1005568. BUG= TBR=pkasting@chromium.org Trivial changes. Change-Id: Ic2934537d91e05467429e11976fba5b0ef96604c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1825728 Commit-Queue: Robert Liao <robliao@chromium.org> Reviewed-by:
Peter Kasting <pkasting@chromium.org> Reviewed-by:
Robert Liao <robliao@chromium.org> Cr-Commit-Position: refs/heads/master@{#699989}
-
chromium-autoroll authored
https://chromium.googlesource.com/angle/angle.git/+log/d4c75347e4d3..29f7916fd56e git log d4c75347e4d3..29f7916fd56e --date=short --no-merges --format='%ad %ae %s' 2019-09-25 jmadill@chromium.org Vulkan: Store current Serial in RendererVk. 2019-09-25 ynovikov@chromium.org Temporarily disable SwiftShader everywhere. 2019-09-25 jonahr@google.com GLX: Forward XExposeEvents to parent window Created with: gclient setdep -r src/third_party/angle@29f7916fd56e If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/angle-chromium-autoroll Please CC ynovikov@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_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel TBR=ynovikov@google.com Bug: chromium:1008100,chromium:991577 Change-Id: Ib83f0b48defba45f982a0e9ab4e9af5a35c8b795 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1825627Reviewed-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@{#699988}
-
Michael Thiessen authored
For https://bugs.chromium.org/p/chromium/issues/detail?id=1007570, I can't reproduce the issue, but my best guess is that somehow we're relying on DiscardPendingEntry getting called when we don't have a pending entry to clear the failed_pending_entry_id_. This makes sure that we don't skip calls to DiscardPendingEntry when we've set a failed_pending_entry_id_. Bug: 1007570 Change-Id: I3e1f46515247b99a0adbd68b3fea82aa719e474a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1825592 Commit-Queue: Michael Thiessen <mthiesse@chromium.org> Commit-Queue: Charlie Reis <creis@chromium.org> Reviewed-by:
Charlie Reis <creis@chromium.org> Cr-Commit-Position: refs/heads/master@{#699987}
-
Daniel Clark authored
For a <section> element with an accessible name, change the ControlType from Pane to Group and the LocalizedControlType from "region" to "section". <section> elements with no accessible name are not changed. Spec reference: https://w3c.github.io/html-aam/#el-section This change required the introduction of ax::mojom::Role::kSection. kRegion had previously been used for <section>, but this no longer works because we need to distinguish between these two cases: <section aria-label='section'></section> <div role='region' aria-label='region'></div> Where only the former has LocalizedControlType == "section". Introduction of the new kSection role also allows us to eliminate dependencies on the kHtmlTag StringAttribute in a few places. The UIA ControlType of the Region role is also updated to Group per https://www.w3.org/TR/core-aam-1.1/#role-map-region Bug: 999730 Change-Id: I1008d27b5744fe22b5fa5fefc58bb9d16dedcef1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1779430 Commit-Queue: Dan Clark <daniec@microsoft.com> Reviewed-by:
Dominic Mazzoni <dmazzoni@chromium.org> Reviewed-by:
Ben Wells <benwells@chromium.org> Reviewed-by:
Daniel Cheng <dcheng@chromium.org> Reviewed-by:
Kevin Babbitt <kbabbitt@microsoft.com> Cr-Commit-Position: refs/heads/master@{#699986}
-
Dominic Mazzoni authored
The code in ui/accessibility is designed to be used outside of the browser process, it works with generic cross-platform accessibility data structures. The code in ui/accessibility/platform contains the implementation of platform-specific accessibility APIs and the internal abstractions of these. It doesn't make sense to include anything from this directory from a renderer process, or on platforms that don't have a native accessibility API. AXTreeManager (in ui/accessibility) had two functions that returned an AXPlatformNodeDelegate, which violates this layering and makes it impossible to use AXTreeManager in places where we don't want to depend on ui/accessibility/platform. The underlying reason that these functions were added to AXTreeManager were because there was no way to retrieve an AXPlatformNode given a (tree id, node id) pair. So instead, this change adds that interface to AXPlatformNodeDelegate, which is a better place for this than AXTreeManager. That fix required two changes as a consequence: First, AXRange was using AXTreeManager's hook into AXPlatformNodeDelegate to call platform bounds rect code. I fixed that by having GetScreenRects() take a helper class as a parameter, so that the caller can provide an implementation of the platform-specific logic that AXRange needs. This enables the current usage of AXRange to work without precluding using AXRange from elsewhere in the codebase in the future. Second, the autofill code was using AXTreeManager's APIs to find the focused text field given its [AXTreeID, node id]. This change just required getting an AXPlatformNode from WebContents, and then calling the new AXPlatformNodeDelegate API. Bug: 1006402 Change-Id: I640ecebf00baded00ae968197a8ecd7bffad0cea Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1815221 Commit-Queue: Dominic Mazzoni <dmazzoni@chromium.org> Reviewed-by:
Kurt Catti-Schmidt <kschmi@microsoft.com> Reviewed-by:
David Tseng <dtseng@chromium.org> Reviewed-by:
Evan Stade <estade@chromium.org> Cr-Commit-Position: refs/heads/master@{#699985}
-
chromium-internal-autoroll authored
https://chrome-internal.googlesource.com/chrome/src-internal.git/+log/01c20b755102..95d5e25ad030 Created with: gclient setdep -r src-internal@95d5e25ad030 If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://skia-autoroll.corp.goog/r/src-internal-chromium-autoroll Please CC jbudorick@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.chrome.try:linux-chromeos-chrome TBR=jbudorick@google.com Bug: chromium:None,chromium:None Change-Id: Ib36b15ec68e60e87947f924291092199d704be95 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1825626Reviewed-by:
chromium-internal-autoroll <chromium-internal-autoroll@skia-corp.google.com.iam.gserviceaccount.com> Commit-Queue: chromium-internal-autoroll <chromium-internal-autoroll@skia-corp.google.com.iam.gserviceaccount.com> Cr-Commit-Position: refs/heads/master@{#699984}
-
Rob Schonberger authored
This adds a timer histogram for all PalmDetectionFilter->Filter executions. We'll keep the timer whenever we change the underlying filter implementation. Adds a unit test that ensures the timer is populated. Bug: 982118 Change-Id: I410ca0348bca9c556f4dff05ab5e228a1f09516d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1824796Reviewed-by:
Michael Spang <spang@chromium.org> Commit-Queue: Rob Schonberger <robsc@google.com> Cr-Commit-Position: refs/heads/master@{#699983}
-
Devlin Cronin authored
base::Version::GetString() returned a `const std::string`; there's no reason to do this, since it's a new string (and not a reference to a member). Additionally, this could potentially result in invocations of Version::GetString() creating a copy, if the caller did something like: std::string version_string = version.GetString(); Since the result would be a `const std::string`, a copy might be made to fit into the non-const std::string required by the caller. Hopefully, the compiler is smart enough to optimize this out, but it's better to just un-const the result altogether. Bug: None Change-Id: I5afb69b5e1e04dab03eb8629ea7e2d124e91f755 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1825460Reviewed-by:
Albert J. Wong <ajwong@chromium.org> Commit-Queue: Devlin <rdevlin.cronin@chromium.org> Cr-Commit-Position: refs/heads/master@{#699982}
-
Paul Lewis authored
This reverts commit 25a9b3bd. Reason for revert: Memory snapshots work again Original change's description: > Revert "[DevTools]: Moves common to ES modules" > > This reverts commit e0645533. > > Reason for revert: Memory tool fails to take heap snapshots with this > error: https://imgur.com/hzR9Eqw > > Original change's description: > > [DevTools]: Moves common to ES modules > > > > This CL converts the contents of the common/ folder over to ES modules > > from the current custom module system. It includes statements in each > > file that will pollute the global namespace, allowing the non-ESM code > > to continue working as before. > > > > Bug: 1006759 > > Change-Id: Ib591e49155000381f85999a5da6c467ad0160996 > > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1816563 > > Reviewed-by: Yang Guo <yangguo@chromium.org> > > Commit-Queue: Paul Lewis <aerotwist@chromium.org> > > Cr-Commit-Position: refs/heads/master@{#699728} > > > Change-Id: Ic0d526780451e8bb4de538f11c85859a3badfb0f > No-Presubmit: true > No-Tree-Checks: true > No-Try: true > Bug: 1006759 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1825463 > Commit-Queue: Yang Guo <yangguo@chromium.org> > Reviewed-by: Yang Guo <yangguo@chromium.org> > Cr-Commit-Position: refs/heads/master@{#699835} Bug: 1006759 Change-Id: I48c7e84262bb295e5830cac8a79a274226df046c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1825420 Commit-Queue: Paul Lewis <aerotwist@chromium.org> Reviewed-by:
Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#699981}
-
Chris Lu authored
Code does not use these experiment enums anymore. Only kSmoothScrollingDefault is used to determine how to adjust the viewport insets. Bug: 914042 Change-Id: I71c4112d7f2f820a4793d74d0c5a0726513f300a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1812121Reviewed-by:
Kurt Horimoto <kkhorimoto@chromium.org> Commit-Queue: Chris Lu <thegreenfrog@chromium.org> Cr-Commit-Position: refs/heads/master@{#699980}
-
Yuly Novikov authored
Remove a suppression on oboslete AMD Radeon 6450. TBR=kbr Bug: 1008125, 479975 Change-Id: Id683c79e37be6fb99e8cc05796e3ed9c08b96023 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1825475Reviewed-by:
Yuly Novikov <ynovikov@chromium.org> Commit-Queue: Yuly Novikov <ynovikov@chromium.org> Cr-Commit-Position: refs/heads/master@{#699979}
-
chromium-autoroll authored
https://chromium.googlesource.com/chromium/tools/depot_tools.git/+log/6a5cb2517a2c..69b63c9f97d0 git log 6a5cb2517a2c..69b63c9f97d0 --date=short --no-merges --format='%ad %ae %s' 2019-09-25 pwnall@chromium.org Fix sys.platform mapping in download_from_google_storage.py. Created with: gclient setdep -r src/third_party/depot_tools@69b63c9f97d0 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 TBR=agable@chromium.org Bug: chromium:1007872 Change-Id: I44a40fad86d62e9822a640bf394a2e20c63c7578 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1825625Reviewed-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@{#699978}
-
Toni Barzic authored
If app list view state transition is started during app list page transition, the initial search box position should be calculated as a position for the current app list page, otherwise the search box will initially be misplaced. BUG=999273 Change-Id: I053ab7f962b7c0a00914be97a0532f9ea445af42 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1824363Reviewed-by:
Xiyuan Xia <xiyuan@chromium.org> Commit-Queue: Toni Baržić <tbarzic@chromium.org> Cr-Commit-Position: refs/heads/master@{#699977}
-
Eugene But authored
This test verifies that prerender request reaches the server before the use taps on omnibox suggestion and that there are no further requests. Bug: 995641, 834116 Change-Id: I06cdc323ccd2eafc500fad6e6849a2a5223e7238 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1815712 Commit-Queue: Eugene But <eugenebut@chromium.org> Reviewed-by:
Kurt Horimoto <kkhorimoto@chromium.org> Cr-Commit-Position: refs/heads/master@{#699976}
-
rbpotter authored
There are a number of externs files for closure compiler that are autogenerated from files in chrome/common/extensions/api/ or extensions/common/api/ that do not have PRESUBMIT checks. Add checks for these files. Bug: None Change-Id: I9df36c4ef819244287c13538d28c765f9aba78cb Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1815986 Commit-Queue: Rebekah Potter <rbpotter@chromium.org> Reviewed-by:
Devlin <rdevlin.cronin@chromium.org> Cr-Commit-Position: refs/heads/master@{#699975}
-