|
Route selection bounds updates through WebLayerTreeView
Currently, the selection bounds are pulled from the WebView at the start of each
frame. This approach works only if the queried bounds are always in-sync with
the visible content, which will not always hold with accelerated compositing.
Instead, plumb the selection bounds region through the WebLayerTreeView,
providing appropriate composited layers for each endpoint. This allows the
compositor to transform the bounds as necessary to provide consistent
positioning of visible selection handles.
BUG= 135959
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=182460
Total comments: 2
Total comments: 12
Total comments: 9
Total comments: 8
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+372 lines, -53 lines) |
Patch |
 |
M |
Source/core/editing/FrameSelection.cpp
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/editing/RenderedPosition.h
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/editing/RenderedPosition.cpp
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+20 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/frame/FrameView.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/frame/FrameView.cpp
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
3 chunks |
+33 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/core/page/ChromeClient.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/RenderLayer.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/RenderLayer.cpp
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+23 lines, -8 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/RenderObject.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/RenderObject.cpp
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
2 chunks |
+19 lines, -10 lines |
0 comments
|
Download
|
 |
A + |
Source/core/rendering/compositing/CompositedSelectionBound.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+31 lines, -17 lines |
0 comments
|
Download
|
 |
M |
Source/platform/RuntimeEnabledFeatures.in
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/web/AssertMatchingEnums.cpp
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
3 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/web/ChromeClientImpl.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
Source/web/ChromeClientImpl.cpp
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
4 chunks |
+19 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/web/WebRuntimeFeatures.cpp
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/web/WebViewImpl.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/web/WebViewImpl.cpp
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/web/tests/WebFrameTest.cpp
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
3 chunks |
+80 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/web/tests/WebViewTest.cpp
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/web/tests/data/Ahem.ttf
|
View
|
1
2
3
|
Binary file |
0 comments
|
Download
|
 |
A |
Source/web/tests/data/composited_selection_bounds_basic.html
|
View
|
1
2
3
4
|
1 chunk |
+22 lines, -0 lines |
0 comments
|
Download
|
 |
A |
Source/web/tests/data/composited_selection_bounds_iframe.html
|
View
|
1
2
3
|
1 chunk |
+15 lines, -0 lines |
0 comments
|
Download
|
 |
A |
Source/web/tests/data/composited_selection_bounds_none.html
|
View
|
1
2
3
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
 |
A |
Source/web/tests/data/composited_selection_bounds_split_layer.html
|
View
|
1
2
3
4
|
1 chunk |
+29 lines, -0 lines |
0 comments
|
Download
|
 |
A |
Source/web/tests/data/composited_selection_bounds_transformed.html
|
View
|
1
2
3
4
|
1 chunk |
+23 lines, -0 lines |
0 comments
|
Download
|
 |
M |
public/platform/WebSelectionBound.h
|
View
|
1
2
3
|
2 chunks |
+0 lines, -7 lines |
0 comments
|
Download
|
 |
M |
public/web/WebRuntimeFeatures.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
Total messages: 55 (7 generated)
|