|
|
Unify TouchAction classes
There are three TouchAction classes in chromium codebase and they look
and function exact the same. This CL unifies them into one. We put a
canonical one under cc/input/, and then the one in blink is placed under
platform/graphics, the one in blink is just using cc's TouchAction. We also
create a WebTouchAction enum under public/platform/ which directly uses the
TouchAction in platform/graphics/. The reason of adding WebTouchAction is that
there are methods in WebWidgetClient.h that is overridden by class under content/.
This CL does pure refactor, it causes no behavior change at all.
BUG= 718525
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel
Review-Url: https://codereview.chromium.org/2863693003
Cr-Commit-Position: refs/heads/master@{#470919}
Committed: https://chromium.googlesource.com/chromium/src/+/fa0199e7e18ee33c28356449b6ba48ab41c879e7
Total comments: 2
Total comments: 4
Total comments: 5
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+295 lines, -374 lines) |
Patch |
 |
M |
cc/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A |
cc/input/touch_action.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
1 chunk |
+56 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/input/input_router_impl.h
|
View
|
1
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/input/input_router_impl.cc
|
View
|
1
|
4 chunks |
+4 lines, -5 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/input/input_router_impl_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
|
12 chunks |
+13 lines, -13 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/input/touch_action_filter.h
|
View
|
1
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/input/touch_action_filter.cc
|
View
|
1
|
8 chunks |
+16 lines, -16 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/input/touch_action_filter_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
|
35 chunks |
+64 lines, -63 lines |
0 comments
|
Download
|
 |
M |
content/browser/site_per_process_browsertest.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
6 chunks |
+11 lines, -11 lines |
0 comments
|
Download
|
 |
M |
content/child/assert_matching_enums.cc
|
View
|
1
|
2 chunks |
+0 lines, -18 lines |
0 comments
|
Download
|
 |
M |
content/common/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
D |
content/common/input/touch_action.h
|
View
|
1
|
1 chunk |
+0 lines, -62 lines |
0 comments
|
Download
|
 |
M |
content/common/input_messages.h
|
View
|
1
|
4 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_view_impl.h
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/renderer/render_widget.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
3 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_widget.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/css/CSSPrimitiveValueMappings.h
|
View
|
1
|
2 chunks |
+12 lines, -11 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
|
View
|
1
|
1 chunk |
+13 lines, -10 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/events/TouchEvent.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/events/TouchEvent.cpp
|
View
|
1
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/events/TouchEventTest.cpp
|
View
|
1
2
3
4
5
6
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/input/TouchActionUtil.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/input/TouchActionUtil.cpp
|
View
|
1
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/input/TouchEventManager.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/input/TouchEventManager.cpp
|
View
|
1
2
3
4
5
6
7
8
9
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
View
|
1
|
3 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/layout/LayoutTheme.cpp
|
View
|
1
2
3
4
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/loader/EmptyClients.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/page/ChromeClient.h
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/style/ComputedStyle.h
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/style/ComputedStyleConstants.h
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+0 lines, -28 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/style/StyleRareNonInheritedData.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A |
third_party/WebKit/Source/platform/graphics/TouchAction.h
|
View
|
1
|
1 chunk |
+17 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/AssertMatchingEnums.cpp
|
View
|
1
|
2 chunks |
+0 lines, -14 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/ChromeClientImpl.h
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/ChromeClientImpl.cpp
|
View
|
1
2
3
4
5
6
7
8
9
|
3 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/WebViewImpl.h
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/WebViewImpl.cpp
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/tests/TouchActionTest.cpp
|
View
|
1
2
3
4
5
6
|
5 chunks |
+13 lines, -12 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/public/BUILD.gn
|
View
|
1
2
3
4
5
6
|
2 chunks |
+1 line, -1 line |
0 comments
|
Download
|
 |
A |
third_party/WebKit/public/platform/WebTouchAction.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
1 chunk |
+19 lines, -0 lines |
0 comments
|
Download
|
 |
D |
third_party/WebKit/public/web/WebTouchAction.h
|
View
|
1
4
|
1 chunk |
+0 lines, -68 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/public/web/WebWidgetClient.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 64 (23 generated)
|