1. 31 Oct, 2017 7 commits
    • Bo Liu's avatar
      Reset GPU timeout on retry · e1249bf1
      Bo Liu authored
      Only for Android. Right now OnEstablishedOnIO retries on failure
      indefinitely. The main reason this is a problem on android is in
      CompositorImpl, there is a timeout waiting for EstablishChannel. If the
      failure is due to a gpu timeout, then CompositorImpl doesn't known about
      the try and doesn't reset its timeout, thus making it more like to have
      the entire browser be killed.
      
      Move the timeout logic into BrowserGpuChannelHostFactory instead so
      that the timeout can be reset when EstablishGpuChannel is retried.
      
      Bug: 680777
      Change-Id: I47da7d3f2b3ca238c3aec547497adf57dc63a73d
      Reviewed-on: https://chromium-review.googlesource.com/742484
      Commit-Queue: Bo <boliu@chromium.org>
      Reviewed-by: default avatarAntoine Labour <piman@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#512687}
      e1249bf1
    • Antoine Labour's avatar
      gpu fuzzers: take configuration bits from input data · 72bb2907
      Antoine Labour authored
      Some of the decoder code paths depend on underlying driver (e.g.
      version, extensions, workarounds), and of the client configuration (e.g.
      context type and options). This CL allows the fuzzers to take some bits
      from the input data to configure the decoder in different ways, to allow
      exploring those various code paths and increasing coverage.
      
      Bug: None
      Cq-Include-Trybots: master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
      Change-Id: I23a77878414ade4400a267b30d89f979a0ff4374
      Reviewed-on: https://chromium-review.googlesource.com/744735Reviewed-by: default avatarVictor Miura <vmiura@chromium.org>
      Commit-Queue: Antoine Labour <piman@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#512686}
      72bb2907
    • Hiroshige Hayashizaki's avatar
      Add IntegrityMetadataSet to ScriptFetchOptions · 17090875
      Hiroshige Hayashizaki authored
      This CL
      - introduces integrity-related members to ScriptFetchOptions,
      - sets them in PrepareScript(), WorkletGlobalScope.cpp and
        DynamicModuleResolver.cpp as specced, and
      - uses them for classic scripts, in ClassicPendingScript::Fetch().
      
      For module scripts, the integrity-related members are not used,
      and are sometimes set incorrectly.
      This will be fixed in a subsequent CL.
      
      Bug: 771486, 772100
      Change-Id: I0983bc6ad02b73472d67bf1b2ce169d2d71c5be3
      Reviewed-on: https://chromium-review.googlesource.com/736721
      Commit-Queue: Hiroshige Hayashizaki <hiroshige@chromium.org>
      Reviewed-by: default avatarKouhei Ueno <kouhei@chromium.org>
      Reviewed-by: default avatarYutaka Hirano <yhirano@chromium.org>
      Reviewed-by: default avatarHiroki Nakagawa <nhiroki@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#512685}
      17090875
    • Ryan Hansberry's avatar
      Remove all screen lock logic from TetherService. · 7ec9bdc8
      Ryan Hansberry authored
      Bug: 779649
      Change-Id: Ic3ffb1886a3d3dae5389aef0d5a52c12c6c31635
      Reviewed-on: https://chromium-review.googlesource.com/744422
      Commit-Queue: Dan Erat <derat@chromium.org>
      Reviewed-by: default avatarJeremy Klein <jlklein@chromium.org>
      Reviewed-by: default avatarSteven Holte <holte@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#512684}
      7ec9bdc8
    • lpy's avatar
      Revert "Make resource_coordinator/ strongly typed." · 5d86ecd0
      lpy authored
      This reverts commit 8a3a84dc.
      
      Reason for revert: Unit test failed in Linux Test, see https://luci-milo.appspot.com/buildbot/chromium.linux/Linux%20Tests/63991
      
      Original change's description:
      > Make resource_coordinator/ strongly typed.
      > 
      > This patch:
      > 1. Added CU relation manipulation methods in mojo interface and public APIs;
      > 2. Created one type of *ResourceCoordinator for each coordination unit type;
      > 3. Removed generic CoordinationUnit mojo interface and implementation;
      > 4. Replaced every call of SetProperty and SendEvent with new public APIs;
      > 5. Added more tests.
      > 
      > BUG=775691
      > 
      > Cq-Include-Trybots: master.tryserver.chromium.linux:linux_site_isolation
      > Change-Id: I10b5c6a5ce9d8f0fbe3c2c3afef4ee4da7da0757
      > Reviewed-on: https://chromium-review.googlesource.com/736036
      > Commit-Queue: lpy <lpy@chromium.org>
      > Reviewed-by: Peter Beverloo <peter@chromium.org>
      > Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
      > Reviewed-by: oysteine <oysteine@chromium.org>
      > Reviewed-by: Zhen Wang <zhenw@chromium.org>
      > Reviewed-by: Daniel Cheng <dcheng@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#512654}
      
      TBR=dcheng@chromium.org,kinuko@chromium.org,peter@chromium.org,zhenw@chromium.org,japhet@chromium.org,oysteine@chromium.org,lpy@chromium.org
      
      Change-Id: I0ecfcf6fe272d6be9dacf022e9221db346294abd
      No-Presubmit: true
      No-Tree-Checks: true
      No-Try: true
      Bug: 775691
      Cq-Include-Trybots: master.tryserver.chromium.linux:linux_site_isolation
      Reviewed-on: https://chromium-review.googlesource.com/745282Reviewed-by: default avatarlpy <lpy@chromium.org>
      Commit-Queue: lpy <lpy@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#512683}
      5d86ecd0
    • Jay Civelli's avatar
      Servicifying ShellHandlerWin. · 8232f416
      Jay Civelli authored
      As part of the effort to deprecate UtilityProcessMojoClient, changing
      ShellHandlerWin to a service and consumers to bind the service through
      the service manager.
      Renamed the interface from ShellHandlerWin to WinShellUtil.
      
      Bug: 777032
      Change-Id: I71a45a38a5fd0d5d02a8a0bccabf6a7e140acbd7
      Reviewed-on: https://chromium-review.googlesource.com/736147
      Commit-Queue: Jay Civelli <jcivelli@chromium.org>
      Reviewed-by: default avatarScott Violet <sky@chromium.org>
      Reviewed-by: default avatarTom Sepez <tsepez@chromium.org>
      Reviewed-by: default avatarPatrick Monette <pmonette@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#512682}
      8232f416
    • Mohsen Izadi's avatar
      Adjust overscroll thresholds for touchpad · 4ef8db7d
      Mohsen Izadi authored
      To improve touchpad overscroll sensitivity, start and completion
      thresholds for touchpad are increased by 20%. This needed splitting some
      threshold into two separate ones for touchpad and touchscreen.
      
      Also, both vertical and horizontal overscroll now use maximum of screen
      width and screen height to calculate completion threshold. Previously,
      vertical overscroll was using screen height and horizontal overscroll
      was using screen width. This change makes overscroll in both dimensions
      more consistent.
      
      Also, some parameters had different values for vertical vs horizontal
      overscroll. They have been merged into a single parameter.
      
      BUG=772103
      TEST=RenderWidgetHostViewAuraOver*Test.* in content_unittests
      
      Change-Id: Id4efa17b247fffdbd13c0087be5afbec85f81131
      Reviewed-on: https://chromium-review.googlesource.com/740782Reviewed-by: default avatarAlex Moshchuk <alexmos@chromium.org>
      Reviewed-by: default avatarSadrul Chowdhury <sadrul@chromium.org>
      Commit-Queue: Mohsen Izadi <mohsen@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#512681}
      4ef8db7d
  2. 30 Oct, 2017 33 commits