1. 23 Apr, 2018 40 commits
    • crystallambert@chromium.org's avatar
      [Extension Docs] Update Event/Background Pages. · 0b46e332
      crystallambert@chromium.org authored
      Current use of background page and event page is confusing.
      This document updates the terminology to Background Scripts
      with an option to use it as a page in the manifest.
      All background scripts should be persistent false,
      with little to no exceptions.
      This update had a huge focus on how to create effective
      non-persistent background scripts.
      
      Change-Id: I985caa739104d3608157c5e39119f9e27d57442e
      Reviewed-on: https://chromium-review.googlesource.com/677735
      Commit-Queue: Crystal Lambert <crystallambert@chromium.org>
      Reviewed-by: default avatarDevlin <rdevlin.cronin@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#552873}
      0b46e332
    • mark a. foltz's avatar
      [Presentation API] Remove content::PresentationConnectionState. · e8ad3202
      mark a. foltz authored
      Further replacement of a content:: enum with a blink::mojom enum for the
      Presentation API.  No behavioral changes.
      
      Bug: 817903
      Change-Id: I66fc39db2e8f1e2220aa293e81a77b61d1f69c03
      Reviewed-on: https://chromium-review.googlesource.com/1015289
      Commit-Queue: mark a. foltz <mfoltz@chromium.org>
      Reviewed-by: default avatarWill Harris <wfh@chromium.org>
      Reviewed-by: default avatarDmitry Gozman <dgozman@chromium.org>
      Reviewed-by: default avatarDerek Cheng <imcheng@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#552872}
      e8ad3202
    • Brian Osman's avatar
      Remove ICCProfile::GetParametricColorSpace() · 8c2c27cb
      Brian Osman authored
      This was only used in unit tests. Add a simpler bool accessor to
      ColorSpace that indicates if the parametric approximation is accurate,
      and use that to continue testing specific profiles. This makes the test
      logic more accurately reflect the actual logic used at runtime around
      caching of profiles.
      
      Change-Id: I5b73f13e7912ad9c7903b83af823e8bf9ac9da29
      Reviewed-on: https://chromium-review.googlesource.com/1022633Reviewed-by: default avatarMike Klein <mtklein@chromium.org>
      Reviewed-by: default avatarccameron <ccameron@chromium.org>
      Commit-Queue: Brian Osman <brianosman@google.com>
      Cr-Commit-Position: refs/heads/master@{#552871}
      8c2c27cb
    • Gabriel Charette's avatar
      Migrate MessageLoop::current() to MessageLoopCurrent in /components/history · 0137b773
      Gabriel Charette authored
      These changes were scripted as part of the effort to restrict exposure of the
      raw MessageLoop*.
      
      Note that many static methods exposed on MessageLoopCurrent are also deprecated
      so it is very well possible that this is migrating to an already deprecated
      method.
      
      The goal of this pass is to reduce usage of MessageLoop::current() (and
      ultimately make it impossible to obtain the MessageLoop* statically).
      
      As such I will not edit this CL unless the script did something logically wrong.
      I defer to owners to fix highlighted usage of already deprecated APIs.
      
      Possible script screw ups / things to look out for in this review:
       - Storing MessageLoopCurrent in a MessageLoop* variable or comparing it against
         one (I will go over that in a separate pass).
      
      Includes should have been stripped if that was the last usage of message_loop.h
      in that file.
      
      Please CQ if LGTY
      
      This CL was uploaded by git cl split.
      
      R=sky@chromium.org
      
      Bug: 825327
      Change-Id: If9302ab0bd2df5e0bb6926ff2c0a784e45442bb0
      Reviewed-on: https://chromium-review.googlesource.com/1024809
      Commit-Queue: Gabriel Charette <gab@chromium.org>
      Commit-Queue: Scott Violet <sky@chromium.org>
      Reviewed-by: default avatarScott Violet <sky@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#552870}
      0137b773
    • Joy Ming's avatar
      [Downloads location] Small UI/string changes. · d2f6e082
      Joy Ming authored
      Some clean-up UI/string changes:
      
      * Change "No SD card found" to "SD card not found" in case the user had
      another SD card but we weren't able to find one of them.
      * Include a "No available download locations" message to be shown on the
      settings page in the corner case where the user has no download options.
      * Increase the size of the title text for the download location spinner
      preference (same as other preferences).
      
      Bug: 792775
      Change-Id: I8c0a972f793b263ce59c090906e64192477c67b4
      Reviewed-on: https://chromium-review.googlesource.com/1022521Reviewed-by: default avatarDavid Trainor <dtrainor@chromium.org>
      Reviewed-by: default avatarTheresa <twellington@chromium.org>
      Commit-Queue: Joy Ming <jming@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#552869}
      d2f6e082
    • Amirhossein Simjour's avatar
      Reset Floating flag when dialog is not floating · fb0c86e6
      Amirhossein Simjour authored
      Floating flag should be set to false when a Dialog is not anchored
      to the main content.
      
      Bug: 833466
      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;master.tryserver.chromium.linux:linux_vr
      Change-Id: Idad148d25bc1d51e6ba2b764426d2b8dc6b380a4
      Reviewed-on: https://chromium-review.googlesource.com/1024231Reviewed-by: default avatarBiao She <bshe@chromium.org>
      Commit-Queue: Amirhossein Simjour <asimjour@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#552868}
      fb0c86e6
    • Gabriel Charette's avatar
      Migrate MessageLoop::current() to MessageLoopCurrent in /jingle · 7b444fb5
      Gabriel Charette authored
      These changes were scripted as part of the effort to restrict exposure of the
      raw MessageLoop*.
      
      Note that many static methods exposed on MessageLoopCurrent are also deprecated
      so it is very well possible that this is migrating to an already deprecated
      method.
      
      The goal of this pass is to reduce usage of MessageLoop::current() (and
      ultimately make it impossible to obtain the MessageLoop* statically).
      
      As such I will not edit this CL unless the script did something logically wrong.
      I defer to owners to fix highlighted usage of already deprecated APIs.
      
      Possible script screw ups / things to look out for in this review:
       - Storing MessageLoopCurrent in a MessageLoop* variable or comparing it against
         one (I will go over that in a separate pass).
      
      Includes should have been stripped if that was the last usage of message_loop.h
      in that file.
      
      Please CQ if LGTY
      
      This CL was uploaded by git cl split.
      
      R=sergeyu@chromium.org
      
      Bug: 825327
      Change-Id: I77c3da772302e295b6fee6f973b386e8dfac24f9
      Reviewed-on: https://chromium-review.googlesource.com/1024763
      Commit-Queue: Gabriel Charette <gab@chromium.org>
      Commit-Queue: Sergey Ulanov <sergeyu@chromium.org>
      Reviewed-by: default avatarSergey Ulanov <sergeyu@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#552867}
      7b444fb5
    • Sorin Jianu's avatar
      Separate updater name and version in Component Updater. · 4bfdf3ec
      Sorin Jianu authored
      Bug: 832230
      Change-Id: I31ee1843106eb158e5422a86941832e0f0e45fe7
      Reviewed-on: https://chromium-review.googlesource.com/1011598
      Commit-Queue: Sorin Jianu <sorin@chromium.org>
      Reviewed-by: default avatarJoshua Pawlicki <waffles@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#552866}
      4bfdf3ec
    • Lei Zhang's avatar
      Disable more DragAndDropBrowserTests on ChromeOS. · 999ea94e
      Lei Zhang authored
      BUG=835774
      TBR=clamy@chromium.org
      NOTRY=true
      
      Change-Id: Id7e5be2e8f423430d5b8aaf99970a1b8ef205e3c
      Reviewed-on: https://chromium-review.googlesource.com/1025113Reviewed-by: default avatarLei Zhang <thestig@chromium.org>
      Commit-Queue: Lei Zhang <thestig@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#552865}
      999ea94e
    • webrtc-chromium-autoroll@skia-buildbots.google.com.iam.gserviceaccount.com's avatar
      Roll src/third_party/webrtc/ 25acef756..9b20677c4 (11 commits) · 3e12dcaa
      https://webrtc.googlesource.com/src.git/+log/25acef756b46..9b20677c4e71
      
      $ git log 25acef756..9b20677c4 --date=short --no-merges --format='%ad %ae %s'
      
      Created with:
        roll-dep src/third_party/webrtc
      BUG=chromium:None,chromium:794608,chromium:None,chromium:None
      
      
      The AutoRoll server is located here: https://webrtc-chromium-roll.skia.org
      
      Documentation for the AutoRoller is here:
      https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
      
      If the roll is causing failures, please contact the current sheriff, who should
      be CC'd on the roll, and stop the roller if necessary.
      
      
      CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_chromium_archive_rel_ng;master.tryserver.chromium.mac:mac_chromium_archive_rel_ng
      TBR=webrtc-chromium-sheriffs-robots@google.com
      
      Change-Id: I22b580b563ed372ef59f62ef133432c79920d755
      Reviewed-on: https://chromium-review.googlesource.com/1024397
      Commit-Queue: webrtc-chromium-autoroll <webrtc-chromium-autoroll@skia-buildbots.google.com.iam.gserviceaccount.com>
      Reviewed-by: default avatarwebrtc-chromium-autoroll <webrtc-chromium-autoroll@skia-buildbots.google.com.iam.gserviceaccount.com>
      Cr-Commit-Position: refs/heads/master@{#552864}
      3e12dcaa
    • Raymond Toy's avatar
      Fix up convergence algorithm for setTargetAtTime · b0aa44ae
      Raymond Toy authored
      The algorithm to determine if a setTargetAtTime automation converged
      to the target value incorrectly said the algorithm converged when it
      had not.
      
      Adjust the algorithm, simplifying it.  There are now three simple
      criteria:
      
      1. 10 time constants have passed since the start of the event
      2. If the target is 0, the current value is less than exp(-10)
      3. If the target is not 0, the relative error between the target and
         the current value must be less than exp(-10).
      
      Bug: 835298
      Test: AudioParam/audioparam-setTargetAtTime-limit.html
      Change-Id: Iffc137b40929dc6542ad647a4e974ae11271157f
      Reviewed-on: https://chromium-review.googlesource.com/1022515
      Commit-Queue: Raymond Toy <rtoy@chromium.org>
      Reviewed-by: default avatarHongchan Choi <hongchan@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#552863}
      b0aa44ae
    • Gabriel Charette's avatar
      Migrate MessageLoop::current() to MessageLoopCurrent in /components/gcm_driver · 0889bbd9
      Gabriel Charette authored
      These changes were scripted as part of the effort to restrict exposure of the
      raw MessageLoop*.
      
      Note that many static methods exposed on MessageLoopCurrent are also deprecated
      so it is very well possible that this is migrating to an already deprecated
      method.
      
      The goal of this pass is to reduce usage of MessageLoop::current() (and
      ultimately make it impossible to obtain the MessageLoop* statically).
      
      As such I will not edit this CL unless the script did something logically wrong.
      I defer to owners to fix highlighted usage of already deprecated APIs.
      
      Possible script screw ups / things to look out for in this review:
       - Storing MessageLoopCurrent in a MessageLoop* variable or comparing it against
         one (I will go over that in a separate pass).
      
      Includes should have been stripped if that was the last usage of message_loop.h
      in that file.
      
      Please CQ if LGTY
      
      This CL was uploaded by git cl split.
      
      R=dimich@chromium.org
      
      Bug: 825327
      Change-Id: I46637a8fbfb45f7c93cc189c974b0c7aedbc8a4d
      Reviewed-on: https://chromium-review.googlesource.com/1024631
      Commit-Queue: Peter Beverloo <peter@chromium.org>
      Reviewed-by: default avatarPeter Beverloo <peter@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#552862}
      0889bbd9
    • Gabriel Charette's avatar
      Migrate MessageLoop::current() to MessageLoopCurrent in /content/shell · efa807a8
      Gabriel Charette authored
      These changes were scripted as part of the effort to restrict exposure of the
      raw MessageLoop*.
      
      Note that many static methods exposed on MessageLoopCurrent are also deprecated
      so it is very well possible that this is migrating to an already deprecated
      method.
      
      The goal of this pass is to reduce usage of MessageLoop::current() (and
      ultimately make it impossible to obtain the MessageLoop* statically).
      
      As such I will not edit this CL unless the script did something logically wrong.
      I defer to owners to fix highlighted usage of already deprecated APIs.
      
      Possible script screw ups / things to look out for in this review:
       - Storing MessageLoopCurrent in a MessageLoop* variable or comparing it against
         one (I will go over that in a separate pass).
      
      Includes should have been stripped if that was the last usage of message_loop.h
      in that file.
      
      Please CQ if LGTY
      
      This CL was uploaded by git cl split.
      
      R=peter@chromium.org
      
      Bug: 825327
      Change-Id: Ieb5a440e5b0859d571594ecadfe1602ef0f3aa31
      Reviewed-on: https://chromium-review.googlesource.com/1024658
      Commit-Queue: Peter Beverloo <peter@chromium.org>
      Reviewed-by: default avatarPeter Beverloo <peter@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#552861}
      efa807a8
    • Gabriel Charette's avatar
      Migrate MessageLoop::current() to MessageLoopCurrent in /ui/aura · dbec58dd
      Gabriel Charette authored
      These changes were scripted as part of the effort to restrict exposure of the
      raw MessageLoop*.
      
      Note that many static methods exposed on MessageLoopCurrent are also deprecated
      so it is very well possible that this is migrating to an already deprecated
      method.
      
      The goal of this pass is to reduce usage of MessageLoop::current() (and
      ultimately make it impossible to obtain the MessageLoop* statically).
      
      As such I will not edit this CL unless the script did something logically wrong.
      I defer to owners to fix highlighted usage of already deprecated APIs.
      
      Possible script screw ups / things to look out for in this review:
       - Storing MessageLoopCurrent in a MessageLoop* variable or comparing it against
         one (I will go over that in a separate pass).
      
      Includes should have been stripped if that was the last usage of message_loop.h
      in that file.
      
      Please CQ if LGTY
      
      This CL was uploaded by git cl split.
      
      R=sky@chromium.org
      
      Bug: 825327
      Change-Id: I7be1ff97076aa234b31b3b3320bd7f6f3adfce63
      Reviewed-on: https://chromium-review.googlesource.com/1024802
      Commit-Queue: Gabriel Charette <gab@chromium.org>
      Commit-Queue: Scott Violet <sky@chromium.org>
      Reviewed-by: default avatarScott Violet <sky@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#552860}
      dbec58dd
    • Peter Boström's avatar
      Use incognito icon for avatar toolbar button · cc80b13e
      Peter Boström authored
      Provides extra badging in incognito mode.
      
      Bug: chromium:822070
      Change-Id: Ifce0eee2192a5bb4a34f66e77fd7f8db4e61c383
      Reviewed-on: https://chromium-review.googlesource.com/1024889
      Commit-Queue: Bret Sepulveda <bsep@chromium.org>
      Reviewed-by: default avatarBret Sepulveda <bsep@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#552859}
      cc80b13e
    • bsheedy's avatar
      Fix --bisect-repo for VR bisect script with 0 value · c10234bd
      bsheedy authored
      Fixes the VR bisect script refusing to work with --bisiect-repo if
      either --good-value or --bad-value was 0 due to Python's implicit
      booleans.
      
      Change-Id: I1e24514f944d0020f64c9d87435d04039224c566
      Reviewed-on: https://chromium-review.googlesource.com/1024950Reviewed-by: default avatarTibor Goldschwendt <tiborg@chromium.org>
      Commit-Queue: Brian Sheedy <bsheedy@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#552858}
      c10234bd
    • Eugene But's avatar
      Fix LegacyNavigationManagerImpl::FinishGoToIndex. · 0796ec8b
      Eugene But authored
      This change fixes computing "same_document_navigation" boolean by using
      "last committed item" instead of "current item" as a source navigation
      item. "current item" can pe pending or transient and it's never correct
      to assume that same document navigation happens from pending or
      transient item.
      
      Bug: 832734
      Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs
      Change-Id: Ia2c26f29a898f69be3352e04f46fdb4498413a7f
      Reviewed-on: https://chromium-review.googlesource.com/1021659Reviewed-by: default avatarDanyao Wang <danyao@chromium.org>
      Commit-Queue: Eugene But <eugenebut@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#552857}
      0796ec8b
    • Christopher Cameron's avatar
      RemoteRWHVMac: Fix missed nullptr check in firstRectForCharacterRange · e679b81e
      Christopher Cameron authored
      In crrev.com/549621, the RenderWidgetHostViewCocoa method
      firstRectForCharacterRange was changed from doing an early-out if
      !renderWidgetHostView_->GetFocusedWidget() to doing an early-out if
      clientWasDestroyed_.
      
      These are not the same thing -- clientWasDestroyed_ is equivalent to
      checking host(). Now we're seeing crashes downstream because
      OnNSViewSyncGetFirstRectForRange is getting called when
      renderWidgetHostView_->GetFocusedWidget() is nullptr.
      
      Fold firstViewRectForCharacterRange into firstRectForCharacterRange,
      (since it had no other callers), and update the synchronous method
      OnNSViewSyncGetFirstRectForRange to query GetFocusedWidget() and
      return a success parameter indicating if it is non-nullptr.
      
      Bug: 835272, 821651
      Change-Id: I5063ed3c154cc1c1efc1f1e903153efc9aef66d1
      Reviewed-on: https://chromium-review.googlesource.com/1024411
      Commit-Queue: ccameron <ccameron@chromium.org>
      Reviewed-by: default avatarccameron <ccameron@chromium.org>
      Reviewed-by: default avatarSidney San Martín <sdy@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#552856}
      e679b81e
    • Gabriel Charette's avatar
      Migrate MessageLoop::current() to MessageLoopCurrent in /ui/base/x · 29fc747e
      Gabriel Charette authored
      These changes were scripted as part of the effort to restrict exposure of the
      raw MessageLoop*.
      
      Note that many static methods exposed on MessageLoopCurrent are also deprecated
      so it is very well possible that this is migrating to an already deprecated
      method.
      
      The goal of this pass is to reduce usage of MessageLoop::current() (and
      ultimately make it impossible to obtain the MessageLoop* statically).
      
      As such I will not edit this CL unless the script did something logically wrong.
      I defer to owners to fix highlighted usage of already deprecated APIs.
      
      Possible script screw ups / things to look out for in this review:
       - Storing MessageLoopCurrent in a MessageLoop* variable or comparing it against
         one (I will go over that in a separate pass).
      
      Includes should have been stripped if that was the last usage of message_loop.h
      in that file.
      
      Please CQ if LGTY
      
      This CL was uploaded by git cl split.
      
      R=derat@chromium.org
      
      Bug: 825327
      Change-Id: I782505eb512323fd6c5fabcb81ca522e6b530d97
      Reviewed-on: https://chromium-review.googlesource.com/1024714
      Commit-Queue: Gabriel Charette <gab@chromium.org>
      Commit-Queue: Dan Erat <derat@chromium.org>
      Reviewed-by: default avatarDan Erat <derat@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#552855}
      29fc747e
    • Lei Zhang's avatar
      Disable DownloadShelfControllerTest.HideAndUnhide. · d28e6aab
      Lei Zhang authored
      It is crashing in a flaky manner.
      
      BUG=832389
      TBR=yoichio@chromium.org
      NOTRY=true
      
      Change-Id: Ic8b28082b990c85942aea6e6d90cd98d53b01dba
      Reviewed-on: https://chromium-review.googlesource.com/1024736Reviewed-by: default avatarLei Zhang <thestig@chromium.org>
      Commit-Queue: Lei Zhang <thestig@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#552854}
      d28e6aab
    • kapishnikov's avatar
      Fixes metrics crash when a NSURLSession is created without a delegate · ac571767
      kapishnikov authored
      BUG=834401
      
      Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet
      Change-Id: I431f280cb95db8b924a826740590eeb8fb1c4399
      Reviewed-on: https://chromium-review.googlesource.com/1021600Reviewed-by: default avatarMisha Efimov <mef@chromium.org>
      Commit-Queue: Andrei Kapishnikov <kapishnikov@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#552853}
      ac571767
    • Gabriel Charette's avatar
      Migrate MessageLoop::current() to MessageLoopCurrent in /net/disk_cache · ec05f4d2
      Gabriel Charette authored
      These changes were scripted as part of the effort to restrict exposure of the
      raw MessageLoop*.
      
      Note that many static methods exposed on MessageLoopCurrent are also deprecated
      so it is very well possible that this is migrating to an already deprecated
      method.
      
      The goal of this pass is to reduce usage of MessageLoop::current() (and
      ultimately make it impossible to obtain the MessageLoop* statically).
      
      As such I will not edit this CL unless the script did something logically wrong.
      I defer to owners to fix highlighted usage of already deprecated APIs.
      
      Possible script screw ups / things to look out for in this review:
       - Storing MessageLoopCurrent in a MessageLoop* variable or comparing it against
         one (I will go over that in a separate pass).
      
      Includes should have been stripped if that was the last usage of message_loop.h
      in that file.
      
      Please CQ if LGTY
      
      This CL was uploaded by git cl split.
      
      R=morlovich@chromium.org
      
      Bug: 825327
      Change-Id: Ifa8b9ebe79cbad2e11d0bb56b9a25326ba675df3
      Reviewed-on: https://chromium-review.googlesource.com/1024870
      Commit-Queue: Maks Orlovich <morlovich@chromium.org>
      Reviewed-by: default avatarMaks Orlovich <morlovich@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#552852}
      ec05f4d2
    • Gabriel Charette's avatar
      Migrate MessageLoop::current() to MessageLoopCurrent in /components/discardable_memory · 0c781305
      Gabriel Charette authored
      These changes were scripted as part of the effort to restrict exposure of the
      raw MessageLoop*.
      
      Note that many static methods exposed on MessageLoopCurrent are also deprecated
      so it is very well possible that this is migrating to an already deprecated
      method.
      
      The goal of this pass is to reduce usage of MessageLoop::current() (and
      ultimately make it impossible to obtain the MessageLoop* statically).
      
      As such I will not edit this CL unless the script did something logically wrong.
      I defer to owners to fix highlighted usage of already deprecated APIs.
      
      Possible script screw ups / things to look out for in this review:
       - Storing MessageLoopCurrent in a MessageLoop* variable or comparing it against
         one (I will go over that in a separate pass).
      
      Includes should have been stripped if that was the last usage of message_loop.h
      in that file.
      
      Please CQ if LGTY
      
      This CL was uploaded by git cl split.
      
      R=reveman@chromium.org
      
      Bug: 825327
      Change-Id: Iade137d4c95f81821e99e5ac1c0c51cdf93dff50
      Reviewed-on: https://chromium-review.googlesource.com/1024670
      Commit-Queue: Gabriel Charette <gab@chromium.org>
      Commit-Queue: David Reveman <reveman@chromium.org>
      Reviewed-by: default avatarDavid Reveman <reveman@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#552851}
      0c781305
    • Benjamin Shaya's avatar
      Helper function for parsing command line flag as floating point. · 25ce3550
      Benjamin Shaya authored
      Bug: None
      Test: None
      Change-Id: I6550ddb82e339091dc75df1cd45792b999fb5f71
      Reviewed-on: https://chromium-review.googlesource.com/1024480Reviewed-by: default avatarKenneth MacKay <kmackay@chromium.org>
      Reviewed-by: default avatarLuke Halliwell <halliwell@chromium.org>
      Commit-Queue: Benjamin Shaya <bshaya@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#552850}
      25ce3550
    • Sean Topping's avatar
      [Chromecast] Move content/web interfaces to "public" GN target · 689ef0bc
      Sean Topping authored
      This facilitates mocking for unit tests without having to pull in all
      of chromecast/browser.
      
      Bug: None
      Test: CQ
      Change-Id: Ifeafdfeeffcdbf152a4d694f7cfc280cd5887e37
      Reviewed-on: https://chromium-review.googlesource.com/1015960
      Commit-Queue: Sean Topping <seantopping@chromium.org>
      Reviewed-by: default avatarStephen Lanham <slan@chromium.org>
      Reviewed-by: default avatarLuke Halliwell <halliwell@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#552849}
      689ef0bc
    • Erik Chen's avatar
      Add support for DebugID for macOS. · 0f2bbbfb
      Erik Chen authored
      Change-Id: I5db3464c086b7763afd4bccdc7242f462ffd7c1b
      Reviewed-on: https://chromium-review.googlesource.com/1014706
      Commit-Queue: Erik Chen <erikchen@chromium.org>
      Reviewed-by: default avatarPrimiano Tucci <primiano@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#552848}
      0f2bbbfb
    • Qiang Xu's avatar
      cros: introduce callback for GetContextMenu in ash::ShelfItemDelegate · 02b68439
      Qiang Xu authored
      Changes:
      Introduce callback for GetContextMenu in ash::ShelfItemDelegate so that
      chrome's implementation could pass this callback further to wait
      asynchronous getting menu items, such as getting menu items from
      Android.
      For ARC++ app shortcuts project, we could bind GetAppShortcutItems
      callback and run this introduced callback when android runs
      GetAppShortcutItems callback.
      
      AppListItem side change: crrev.com/c/1023064.
      
      Bug: 803291
      Test: covered by tests.
      Change-Id: I4d1e25ff8dfcf6572bb483fe4be3bd3eddba367e
      Reviewed-on: https://chromium-review.googlesource.com/1023161
      Commit-Queue: Qiang Xu <warx@google.com>
      Reviewed-by: default avatarXiyuan Xia <xiyuan@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#552847}
      02b68439
    • W. James MacLean's avatar
      Don't return base::nullopt for GesturePinch position. · ca095304
      W. James MacLean authored
      One possible crash mechanism for this crash is if we return
      base::nullopt when the touch_id == 0, cf.
      DispatchTouchscreenGestureEvent().
      
      Bug: 824774
      Change-Id: I20e3c01bb4b8cbac8c5dbe3ad41d28a6b6843b78
      Reviewed-on: https://chromium-review.googlesource.com/1024651Reviewed-by: default avatarKen Buchanan <kenrb@chromium.org>
      Commit-Queue: James MacLean <wjmaclean@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#552846}
      ca095304
    • Steven Holte's avatar
      Rename IsHistorySyncEnabledOnAllProfiles · 0221a1b1
      Steven Holte authored
      Bug: 793917
      Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs
      Change-Id: I80bcead4276b5be658588d5b32ab09ebf9e952dc
      Reviewed-on: https://chromium-review.googlesource.com/1008406Reviewed-by: default avatarOlivier Robin <olivierrobin@chromium.org>
      Reviewed-by: default avatarAlexei Svitkine <asvitkine@chromium.org>
      Reviewed-by: default avatarRobert Kaplow <rkaplow@chromium.org>
      Commit-Queue: Steven Holte <holte@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#552845}
      0221a1b1
    • Dmitry Gozman's avatar
      Blink: do not generate blink variant for public_typemaps · 361b9434
      Dmitry Gozman authored
      Public typemaps may use non-wtf types, since they are consumed by embedder.
      Generating blink variant for them fails. One example would be a manifest
      typemap which currently resides in content, but will be moved to blink.
      
      Those typemaps which can be used inside blink (and are used already)
      are added to blink_typemaps instead. These are usually enum typemaps
      and can be shared verbatim between variants.
      
      Bug: none
      Change-Id: Ifd969c6de92e6e0507b40b2426e0b33119ea599b
      Reviewed-on: https://chromium-review.googlesource.com/1015228Reviewed-by: default avatarDaniel Cheng <dcheng@chromium.org>
      Reviewed-by: default avatarKen Rockot <rockot@chromium.org>
      Reviewed-by: default avatarKinuko Yasuda <kinuko@chromium.org>
      Commit-Queue: Dmitry Gozman <dgozman@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#552844}
      361b9434
    • Gabriel Charette's avatar
      Migrate MessageLoop::current() to MessageLoopCurrent in... · a0adee2a
      Gabriel Charette authored
      Migrate MessageLoop::current() to MessageLoopCurrent in /chrome/browser/safe_browsing/incident_reporting
      
      These changes were scripted as part of the effort to restrict exposure of the
      raw MessageLoop*.
      
      Note that many static methods exposed on MessageLoopCurrent are also deprecated
      so it is very well possible that this is migrating to an already deprecated
      method.
      
      The goal of this pass is to reduce usage of MessageLoop::current() (and
      ultimately make it impossible to obtain the MessageLoop* statically).
      
      As such I will not edit this CL unless the script did something logically wrong.
      I defer to owners to fix highlighted usage of already deprecated APIs.
      
      Possible script screw ups / things to look out for in this review:
       - Storing MessageLoopCurrent in a MessageLoop* variable or comparing it against
         one (I will go over that in a separate pass).
      
      Includes should have been stripped if that was the last usage of message_loop.h
      in that file.
      
      Please CQ if LGTY
      
      This CL was uploaded by git cl split.
      
      R=caitkp@chromium.org
      
      Bug: 825327
      Change-Id: Id8cdae2fc85f60f7cd66d5d88fd404128ba723ac
      Reviewed-on: https://chromium-review.googlesource.com/1024241
      Commit-Queue: Cait Phillips <caitkp@chromium.org>
      Reviewed-by: default avatarCait Phillips <caitkp@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#552843}
      a0adee2a
    • Gabriel Charette's avatar
      Migrate MessageLoop::current() to MessageLoopCurrent in /components/exo · 8581c063
      Gabriel Charette authored
      These changes were scripted as part of the effort to restrict exposure of the
      raw MessageLoop*.
      
      Note that many static methods exposed on MessageLoopCurrent are also deprecated
      so it is very well possible that this is migrating to an already deprecated
      method.
      
      The goal of this pass is to reduce usage of MessageLoop::current() (and
      ultimately make it impossible to obtain the MessageLoop* statically).
      
      As such I will not edit this CL unless the script did something logically wrong.
      I defer to owners to fix highlighted usage of already deprecated APIs.
      
      Possible script screw ups / things to look out for in this review:
       - Storing MessageLoopCurrent in a MessageLoop* variable or comparing it against
         one (I will go over that in a separate pass).
      
      Includes should have been stripped if that was the last usage of message_loop.h
      in that file.
      
      Please CQ if LGTY
      
      This CL was uploaded by git cl split.
      
      R=reveman@chromium.org
      
      Bug: 825327
      Change-Id: Ica981f82dc4a5bdd14254101f18fc581dfd2bfdd
      Reviewed-on: https://chromium-review.googlesource.com/1024664
      Commit-Queue: Gabriel Charette <gab@chromium.org>
      Commit-Queue: David Reveman <reveman@chromium.org>
      Reviewed-by: default avatarDavid Reveman <reveman@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#552842}
      8581c063
    • Torne (Richard Coles)'s avatar
      Update isAtLeastP implementation. · 62ab79e0
      Torne (Richard Coles) authored
      P SDK will be 28 - update to final implementation.
      
      Also convert an undesirable use of >OMR1 to isAtLeastP (it's best never
      to compare to "greater than the last public version" in case another SDK
      is added in between).
      
      Bug: 834499
      Change-Id: Ibfcd3fea02317bc1a89d10ebe752e02d0cc3bb46
      Reviewed-on: https://chromium-review.googlesource.com/1022396Reviewed-by: default avatarTobias Sargeant <tobiasjs@chromium.org>
      Commit-Queue: Richard Coles <torne@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#552841}
      62ab79e0
    • Alexander Alekseev's avatar
      Chrome OS, first run UI: Update rules for showing Sync Settings screen. · 6d6667f3
      Alexander Alekseev authored
      This cl implements waiting for the sync engine status update before showing
      Sync Settings screen in the First Run UI.
      
      Bug: 757081
      Change-Id: Ic7a6aafaaa1216bcc55c4901cfdb2cdaa54bb24a
      Reviewed-on: https://chromium-review.googlesource.com/1023590Reviewed-by: default avatarWenzhao (Colin) Zang <wzang@chromium.org>
      Commit-Queue: Alexander Alekseev <alemate@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#552840}
      6d6667f3
    • Vaclav Brozek's avatar
      Add a test for setting FormFieldData::is_focusable · 52f4ca77
      Vaclav Brozek authored
      Bug: 833838
      Change-Id: I703356548edde4f316d19e8c68dbd41b09c804fe
      Reviewed-on: https://chromium-review.googlesource.com/1016765
      Commit-Queue: Vaclav Brozek <vabr@chromium.org>
      Reviewed-by: default avatarVadym Doroshenko <dvadym@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#552839}
      52f4ca77
    • Chris Blume's avatar
      Short circuit LocalSurfaceId allocation · 7c21abdb
      Chris Blume authored
      When a child allocates a LocalSurfaceId, it informs the parent of that
      new allocation. The child doesn't begin using it until the parent
      acknowledges that it was accepted.
      
      We can short circuit this case and assume it will be accepted.
      
      In the case where the parent does not accept, it will continue to inform
      the child that there is a new LocalSurfaceId to use.
      
      BUG=805073,811944
      
      Change-Id: Ica8e1e2b6e98ef4392fec4cfc3cc4c9f806c88ac
      Reviewed-on: https://chromium-review.googlesource.com/1020533Reviewed-by: default avatarFady Samuel <fsamuel@chromium.org>
      Commit-Queue: Chris Blume <cblume@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#552838}
      7c21abdb
    • Maggie Chen's avatar
      Skip the Vulkan info collection for the older AMD drivers to avoid crashes · a345ac3d
      Maggie Chen authored
      The older versions of the AMD Vulkan driver are broken. It crashes when
      vkCreateInstance gets called. The CL will detect amdvlk64.dll file
      version and skip the vulkan info collection if the version number is
      1.0.54.0 or older. Those bad versions cause crashes in the other apps like
      vulkaninfo.exe and SDK cube.exe as well.
      
      From the crash logs in the bug report, three bad amdvlk64.dll versions are
      recorded - 1.0.39.0, 1.0.51.0 and 1.0.54.0.
      
      The Vulkan info collection will continue with the newer AMD drivers since this
      bug has been fixed in the newer versions.
      
      BUG=832698
      TEST=manual,Chrome://histograms
      R=zmo@chromium.org
      
      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
      Change-Id: I7f53210c559cd1e2c189fec6ed6fb000b38256fa
      Reviewed-on: https://chromium-review.googlesource.com/1022517Reviewed-by: default avatarZhenyao Mo <zmo@chromium.org>
      Commit-Queue: Maggie Chen <magchen@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#552837}
      a345ac3d
    • Lei Zhang's avatar
      Disable DragAndDropBrowserTest.DropTextFromOutside on ChromeOS. · 77d5c4b1
      Lei Zhang authored
      BUG=835774
      TBR=clamy@chromium.org
      NOTRY=true
      
      Change-Id: I3c6562d95f35b918a38e653dd48ef7dbb7553f36
      Reviewed-on: https://chromium-review.googlesource.com/1025017Reviewed-by: default avatarLei Zhang <thestig@chromium.org>
      Commit-Queue: Lei Zhang <thestig@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#552836}
      77d5c4b1
    • Gabriel Charette's avatar
      Migrate MessageLoop::current() to MessageLoopCurrent in /ash/wayland · 30c65c50
      Gabriel Charette authored
      These changes were scripted as part of the effort to restrict exposure of the
      raw MessageLoop*.
      
      Note that many static methods exposed on MessageLoopCurrent are also deprecated
      so it is very well possible that this is migrating to an already deprecated
      method.
      
      The goal of this pass is to reduce usage of MessageLoop::current() (and
      ultimately make it impossible to obtain the MessageLoop* statically).
      
      As such I will not edit this CL unless the script did something logically wrong.
      I defer to owners to fix highlighted usage of already deprecated APIs.
      
      Possible script screw ups / things to look out for in this review:
       - Storing MessageLoopCurrent in a MessageLoop* variable or comparing it against
         one (I will go over that in a separate pass).
      
      Includes should have been stripped if that was the last usage of message_loop.h
      in that file.
      
      Please CQ if LGTY
      
      This CL was uploaded by git cl split.
      
      R=reveman@chromium.org
      
      Bug: 825327
      Change-Id: I4c61eee6791fb40e90830967f5be3ec6800034d3
      Reviewed-on: https://chromium-review.googlesource.com/1024509
      Commit-Queue: Gabriel Charette <gab@chromium.org>
      Commit-Queue: David Reveman <reveman@chromium.org>
      Reviewed-by: default avatarDavid Reveman <reveman@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#552835}
      30c65c50
    • W. James MacLean's avatar
      Speculative fix for crash in RWHVCF::SetTooltipText(). · dcd04115
      W. James MacLean authored
      Since the use of GetCursorManager() came after this bug was filed, let's
      assume we're hitting either a null frame_connector_ or the root view
      is unavailable.
      
      Bug: 831972
      Change-Id: I9868fca6872c15a7b178fbb6b5d489dabfdf4729
      Reviewed-on: https://chromium-review.googlesource.com/1023166Reviewed-by: default avatarKen Buchanan <kenrb@chromium.org>
      Commit-Queue: James MacLean <wjmaclean@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#552834}
      dcd04115