1. 08 Jul, 2017 3 commits
    • Tien-Ren Chen's avatar
      [SPv2] Apply non-composited effects in group · f62169af
      Tien-Ren Chen authored
      This CL reworks PaintChunksToCcLayer to handle effect grouping properly.
      
      Prior to this CL each paint chunk applies its property state all the way from the
      layer state then pop all the way back. This CL implemented an algorithm to lazily
      pop states so that contiguous paint chunks enclosed by the same effect will apply
      the effect atomically.
      
      As an optimization, clip region is also popped lazily. Note that this doesn't mean
      AA-clips are applied as a group but still apply to individual draw commands
      separately. It does improve performance by reusing previously generated clip region
      when a complex clip region applies to multiple chunks repeatedly. Rounded clip
      support is also added as a side change.
      
      Transforms are always applied on the spot. This is because we can compute the
      matrix between arbitrary nodes in O(1). Also this automatically handles "transform
      inversion" cases as we don't even need to detect the relationship between nodes.
      
      Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
      Change-Id: I64657b657fad3e19132b9eb0d64db494955f2139
      Reviewed-on: https://chromium-review.googlesource.com/540737
      Commit-Queue: Tien-Ren Chen <trchen@chromium.org>
      Reviewed-by: default avatarChris Harrelson <chrishtr@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#485109}
      f62169af
    • Jian Li's avatar
      Make service worker interceptor fall back to load the offline snapshot · e1603262
      Jian Li authored
      When the user open the downloaded page, a specific offline header is
      added in the request to mean to load the offline snapshot. In this
      case, the service worker interceptor should fall back in order for
      the subsequent offline page interceptor to bring up the offline
      snapshot.
      
      BUG=736917
      TEST=new tests added
      
      Change-Id: I5e57ed437d7534bd54f6406d4d527c4599bd9a41
      Reviewed-on: https://chromium-review.googlesource.com/557479
      Commit-Queue: Jian Li <jianli@chromium.org>
      Reviewed-by: default avatarKinuko Yasuda <kinuko@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#485108}
      e1603262
    • weidongg's avatar
      Avoid toggling app list if interrupted by mouse · 272d1bb2
      weidongg authored
      If mouse press/release occurs between search key down and up, avoid
      toggling app list. This is helpful when user is chromoting from chromeos
      to other system which uses 'Win+Click' as a gesture.
      
      BUG=665897
      TEST=
      ash_unittests --gtest_filter=
      'AcceleratorControllerTest.GlobalAcceleratorsToggleAppList'
      ash_unittests --gtest_filter=
      'AcceleratorFilterTest.ToggleAppListInterruptedByMouseEvent'
      
      Review-Url: https://codereview.chromium.org/2923723002
      Cr-Commit-Position: refs/heads/master@{#485107}
      272d1bb2
  2. 07 Jul, 2017 37 commits