|
Replace pinch scrollbars with regular scrollbars.
This patch makes the visual-viewport-managed scrollbars exclusive to
Android and improves normal scrollbars to be usable during pinch as follows:
1. Attach the scrollbar layers to the visual viewport, so they're always
onscreen as you zoom in (as already shipped on Mac).
2. Set the container layer to the inner clip layer, so that the size and
position of the thumb reflects the sum of the two viewports,
instead of just the layout viewport.
Note that result of these changes is visually indistiguishable at
minimum page scale. It only improves the behavior when zoomed in.
BUG= 523056
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201285
Total comments: 5
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+142 lines, -44 lines) |
Patch |
 |
M |
LayoutTests/TestExpectations
|
View
|
1
2
3
4
5
6
|
3 chunks |
+14 lines, -3 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/compositing/geometry/fixed-position.html
|
View
|
1
2
3
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/compositing/geometry/fixed-position-composited-page-scale.html
|
View
|
1
2
3
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/compositing/geometry/fixed-position-composited-page-scale-down.html
|
View
|
1
2
3
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/compositing/geometry/fixed-position-iframe-composited-page-scale.html
|
View
|
1
2
3
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/compositing/geometry/fixed-position-iframe-composited-page-scale-down.html
|
View
|
1
2
3
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/compositing/geometry/fixed-position-transform-composited-page-scale.html
|
View
|
1
2
3
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/compositing/geometry/fixed-position-transform-composited-page-scale-down.html
|
View
|
1
2
3
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/compositing/geometry/vertical-scroll-composited.html
|
View
|
1
2
3
|
1 chunk |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/compositing/overflow/fixed-position-ancestor-clip.html
|
View
|
1
2
3
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/compositing/scaling/tiled-layer-recursion.html
|
View
|
1
2
3
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/repaint/absolute-position-changed.html
|
View
|
1
2
3
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/scrolling/overflow-clip-with-page-scale.html
|
View
|
1
2
3
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/frame/FrameView.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/frame/FrameView.cpp
|
View
|
1
2
3
4
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/frame/VisualViewport.h
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/frame/VisualViewport.cpp
|
View
|
1
2
3
4
5
6
7
8
|
7 chunks |
+34 lines, -25 lines |
0 comments
|
Download
|
 |
M |
Source/core/layout/compositing/CompositedDeprecatedPaintLayerMapping.cpp
|
View
|
1
2
3
4
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/layout/compositing/DeprecatedPaintLayerCompositor.cpp
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
Source/core/page/scrolling/ScrollingCoordinator.cpp
|
View
|
1
2
3
4
|
3 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
M |
Source/core/paint/DeprecatedPaintLayerScrollableArea.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/paint/DeprecatedPaintLayerScrollableArea.cpp
|
View
|
1
2
3
4
5
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/platform/scroll/ScrollableArea.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
Source/platform/scroll/ScrollbarThemeAndroid.cpp
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
Source/platform/scroll/ScrollbarThemeOverlay.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/platform/scroll/ScrollbarThemeOverlay.cpp
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/web/DevToolsEmulator.cpp
|
View
|
1
2
3
4
5
6
7
8
|
5 chunks |
+3 lines, -6 lines |
0 comments
|
Download
|
Total messages: 19 (6 generated)
|