|
Add a new code/message path for moving an insertion handle
On Android, we've been using selectRange for moving an insertion handle.
However, we don't really want the behavior of selectRange (for example,
dragging an insertion handle outside of a text box should not actual do
a "selectRange" on the position outside of the text box). The behavior
that we want has been added to WebKit as
WebFrame::moveCaretSelectionTowardsWindowPoint.
This change introduces the code/message path from the Browser side
InsertionHandleController to WebKit similar to the current SelectRange
path.
BUG= 165244, 163979, 165661
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=176454
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+223 lines, -19 lines) |
Patch |
 |
M |
content/browser/android/content_view_core_impl.h
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/android/content_view_core_impl.cc
|
View
|
1
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_impl.h
|
View
|
1
|
3 chunks |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_impl.cc
|
View
|
1
|
5 chunks |
+24 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_view_android.h
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_view_android.cc
|
View
|
1
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/common/view_messages.h
|
View
|
1
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
|
View
|
1
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/public/android/javatests/src/org/chromium/content/browser/InsertionHandleTest.java
|
View
|
1
|
7 chunks |
+146 lines, -17 lines |
0 comments
|
Download
|
 |
M |
content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TouchUtils.java
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/renderer/render_view_impl.h
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_view_impl.cc
|
View
|
1
|
2 chunks |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/test/data/android/device_files/insertion_handle/input_text.html
|
View
|
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
Total messages: 8 (0 generated)
|