Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(282)

Issue 1995333002: Handle newCursorPosition correctly for Android's commitText() (Closed)

Created:
4 years, 7 months ago by yabinh
Modified:
4 years, 3 months ago
CC:
blink-reviews, blink-reviews-api_chromium.org, chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, dcheng, dglazkov+blink, dtapuska, jam, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-blink_chromium.org, mlamouri+watch-content_chromium.org, nasko+codewatch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Handle newCursorPosition correctly for Android's commitText() Android’s InputConnection API specifies a way to commit (confirm) the current composition and move the cursor at the same time: https://developer.android.com/reference/android/view/inputmethod/ InputConnection.html#commitText(java.lang.CharSequence, int) Currently, commitText doesn't conform to the documentation nor to Android TextView's behavior when newCursorPosition is not 1. newCursorPosition is a relative value that depends on the location of the text being committed. When |newCursorPosition| < 1, the cursor should move to the left of the committing text by |newCursorPosition| characters. If the cursor exceeds the left boundary, it will clamp to the left boundary. When |newCursorPosition| >= 1, the cursor will move to the right of the committing text by |newCursorPosition - 1| characters. If the cursor exceeds the right boundary, it will clamp to the right boundary. BUG=570920

Patch Set 1 #

Total comments: 5

Patch Set 2 : adjust selection in confirmCompositionOrInsertText() #

Total comments: 38

Patch Set 3 : For changwan@'s review #

Patch Set 4 : Sync. Almost the same to the previous patch. #

Total comments: 4

Patch Set 5 : Add 3 tests #

Total comments: 8

Patch Set 6 : change for aelias@'s review #

Total comments: 25

Patch Set 7 : For aelias@'s 2nd review #

Total comments: 1

Patch Set 8 : Remove unused function #

Patch Set 9 : For compile error. #

Total comments: 8

Patch Set 10 : For yosin@'s review #

Total comments: 20

Patch Set 11 : For yosin@'s 2nd review #

Total comments: 5

Patch Set 12 : For tkent@'s review #

Patch Set 13 : Move caret even when text is empty, and add a test. #

Patch Set 14 : Move caret within composing text. #

Total comments: 5

Patch Set 15 : Split confirmComposition into 2 #

Total comments: 14

Patch Set 16 : For aelias and yosin review #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+813 lines, -365 lines) Patch
M components/test_runner/text_input_controller.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +2 lines, -2 lines 0 comments Download
M components/test_runner/web_widget_test_client.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/browser_plugin/browser_plugin_guest.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +4 lines, -4 lines 0 comments Download
M content/browser/browser_plugin/browser_plugin_guest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +15 lines, -10 lines 0 comments Download
M content/browser/renderer_host/ime_adapter_android.h View 1 2 3 4 5 6 1 chunk +3 lines, -2 lines 0 comments Download
M content/browser/renderer_host/ime_adapter_android.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +18 lines, -9 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +14 lines, -5 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +9 lines, -6 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +7 lines, -6 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 4 chunks +21 lines, -8 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 8 chunks +11 lines, -15 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac_unittest.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 5 chunks +20 lines, -21 lines 0 comments Download
M content/common/browser_plugin/browser_plugin_messages.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +7 lines, -2 lines 0 comments Download
M content/common/input_messages.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +7 lines, -3 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/input/ImeAdapter.java View 1 2 3 2 chunks +3 lines, -2 lines 0 comments Download
M content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +59 lines, -1 line 0 comments Download
M content/renderer/browser_plugin/browser_plugin.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +5 lines, -3 lines 0 comments Download
M content/renderer/browser_plugin/browser_plugin.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +15 lines, -8 lines 0 comments Download
M content/renderer/pepper/pepper_plugin_instance_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/render_frame_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +8 lines, -5 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +52 lines, -23 lines 0 comments Download
M content/renderer/render_view_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 7 chunks +52 lines, -53 lines 0 comments Download
M content/renderer/render_widget.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +5 lines, -3 lines 0 comments Download
M content/renderer/render_widget.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 4 chunks +30 lines, -13 lines 0 comments Download
M third_party/WebKit/Source/core/editing/InputMethodController.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +25 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/core/editing/InputMethodController.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 4 chunks +77 lines, -24 lines 1 comment Download
M third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 8 chunks +26 lines, -26 lines 0 comments Download
M third_party/WebKit/Source/web/WebFrameWidgetImpl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +2 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +12 lines, -15 lines 0 comments Download
M third_party/WebKit/Source/web/WebLocalFrameImpl.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/web/WebLocalFrameImpl.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +0 lines, -13 lines 0 comments Download
M third_party/WebKit/Source/web/WebViewFrameWidget.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +2 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/web/WebViewFrameWidget.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +4 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/web/WebViewImpl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +2 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/web/WebViewImpl.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +12 lines, -14 lines 0 comments Download
M third_party/WebKit/Source/web/tests/WebViewTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 chunks +262 lines, -15 lines 0 comments Download
M third_party/WebKit/public/web/WebLocalFrame.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/public/web/WebPlugin.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +10 lines, -4 lines 0 comments Download
M third_party/WebKit/public/web/WebView.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/public/web/WebWidget.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +6 lines, -12 lines 0 comments Download

Messages

Total messages: 129 (80 generated)
yabinh
changwan@, can you take a look at this patch?
4 years, 7 months ago (2016-05-20 11:35:52 UTC) #3
dcheng
Note that we don't allow default args on virtual functions.
4 years, 7 months ago (2016-05-20 20:07:38 UTC) #5
Changwan Ryu
https://codereview.chromium.org/1995333002/diff/1/third_party/WebKit/Source/core/editing/InputMethodController.cpp File third_party/WebKit/Source/core/editing/InputMethodController.cpp (right): https://codereview.chromium.org/1995333002/diff/1/third_party/WebKit/Source/core/editing/InputMethodController.cpp#newcode349 third_party/WebKit/Source/core/editing/InputMethodController.cpp:349: const EphemeralRange& startRange = PlainTextRange(0, start).createRange(*rootEditableElement); There is a ...
4 years, 7 months ago (2016-05-24 08:35:51 UTC) #6
yabinh
https://codereview.chromium.org/1995333002/diff/1/third_party/WebKit/Source/web/WebViewImpl.cpp File third_party/WebKit/Source/web/WebViewImpl.cpp (right): https://codereview.chromium.org/1995333002/diff/1/third_party/WebKit/Source/web/WebViewImpl.cpp#newcode2396 third_party/WebKit/Source/web/WebViewImpl.cpp:2396: newCursorPosition = newCursorPosition + textInputInfo().compositionStart; InputMethodController::m_compositionRange doesn't work for ...
4 years, 5 months ago (2016-07-06 11:44:30 UTC) #9
yabinh
changwan@, can you take a look of this patch? https://codereview.chromium.org/1995333002/diff/20001/third_party/WebKit/Source/core/editing/InputMethodController.cpp File third_party/WebKit/Source/core/editing/InputMethodController.cpp (right): https://codereview.chromium.org/1995333002/diff/20001/third_party/WebKit/Source/core/editing/InputMethodController.cpp#newcode250 third_party/WebKit/Source/core/editing/InputMethodController.cpp:250: ...
4 years, 4 months ago (2016-08-03 05:12:09 UTC) #12
Changwan Ryu
Please try to minimize API changes. https://codereview.chromium.org/1995333002/diff/20001/components/test_runner/text_input_controller.cc File components/test_runner/text_input_controller.cc (right): https://codereview.chromium.org/1995333002/diff/20001/components/test_runner/text_input_controller.cc#newcode167 components/test_runner/text_input_controller.cc:167: view()->confirmComposition(1); you don't ...
4 years, 4 months ago (2016-08-03 07:37:30 UTC) #15
yabinh
changwan@, PTAL, thanks. https://codereview.chromium.org/1995333002/diff/20001/components/test_runner/text_input_controller.cc File components/test_runner/text_input_controller.cc (right): https://codereview.chromium.org/1995333002/diff/20001/components/test_runner/text_input_controller.cc#newcode167 components/test_runner/text_input_controller.cc:167: view()->confirmComposition(1); On 2016/08/03 07:37:29, Changwan Ryu ...
4 years, 4 months ago (2016-08-08 07:33:44 UTC) #18
yabinh
changwan@, PTAL. Thanks.
4 years, 4 months ago (2016-08-24 01:14:06 UTC) #23
Changwan Ryu
It seems that we don't have WebViewTest to cover the != 1 cases. Could you ...
4 years, 4 months ago (2016-08-24 01:32:04 UTC) #24
yabinh
On 2016/08/24 01:32:04, Changwan Ryu wrote: > It seems that we don't have WebViewTest to ...
4 years, 4 months ago (2016-08-24 06:04:40 UTC) #29
yabinh
https://codereview.chromium.org/1995333002/diff/60001/content/browser/renderer_host/ime_adapter_android.h File content/browser/renderer_host/ime_adapter_android.h (right): https://codereview.chromium.org/1995333002/diff/60001/content/browser/renderer_host/ime_adapter_android.h#newcode53 content/browser/renderer_host/ime_adapter_android.h:53: int new_cursor_pos = 1); On 2016/08/24 01:32:03, Changwan Ryu ...
4 years, 4 months ago (2016-08-24 06:05:01 UTC) #30
Changwan Ryu
On 2016/08/24 06:05:01, yabinh wrote: > https://codereview.chromium.org/1995333002/diff/60001/content/browser/renderer_host/ime_adapter_android.h > File content/browser/renderer_host/ime_adapter_android.h (right): > > https://codereview.chromium.org/1995333002/diff/60001/content/browser/renderer_host/ime_adapter_android.h#newcode53 > ...
4 years, 4 months ago (2016-08-24 06:48:14 UTC) #31
yabinh
On 2016/08/24 06:48:14, Changwan Ryu wrote: > On 2016/08/24 06:05:01, yabinh wrote: > > > ...
4 years, 4 months ago (2016-08-24 07:16:47 UTC) #39
Changwan Ryu
lgtm, but I don't have all the ownership here. yosin@, could you take a look?
4 years, 4 months ago (2016-08-24 08:00:43 UTC) #43
aelias_OOO_until_Jul13
https://codereview.chromium.org/1995333002/diff/20001/third_party/WebKit/Source/core/editing/InputMethodController.cpp File third_party/WebKit/Source/core/editing/InputMethodController.cpp (right): https://codereview.chromium.org/1995333002/diff/20001/third_party/WebKit/Source/core/editing/InputMethodController.cpp#newcode254 third_party/WebKit/Source/core/editing/InputMethodController.cpp:254: newCursorPosition += compositionRange.end(); On 2016/08/08 at 07:33:44, yabinh wrote: ...
4 years, 4 months ago (2016-08-24 08:13:07 UTC) #45
aelias_OOO_until_Jul13
https://codereview.chromium.org/1995333002/diff/20001/third_party/WebKit/Source/core/editing/InputMethodController.cpp File third_party/WebKit/Source/core/editing/InputMethodController.cpp (right): https://codereview.chromium.org/1995333002/diff/20001/third_party/WebKit/Source/core/editing/InputMethodController.cpp#newcode254 third_party/WebKit/Source/core/editing/InputMethodController.cpp:254: newCursorPosition += compositionRange.end(); On 2016/08/24 at 08:13:07, aelias wrote: ...
4 years, 4 months ago (2016-08-24 08:16:01 UTC) #46
yabinh
aelias@, can you take another look of this patch? https://codereview.chromium.org/1995333002/diff/80001/content/common/input_messages.h File content/common/input_messages.h (right): https://codereview.chromium.org/1995333002/diff/80001/content/common/input_messages.h#newcode174 content/common/input_messages.h:174: ...
4 years, 4 months ago (2016-08-25 02:32:21 UTC) #49
aelias_OOO_until_Jul13
Looking pretty good, just a few more details. https://codereview.chromium.org/1995333002/diff/100001/third_party/WebKit/Source/core/editing/InputMethodController.cpp File third_party/WebKit/Source/core/editing/InputMethodController.cpp (right): https://codereview.chromium.org/1995333002/diff/100001/third_party/WebKit/Source/core/editing/InputMethodController.cpp#newcode293 third_party/WebKit/Source/core/editing/InputMethodController.cpp:293: if ...
4 years, 4 months ago (2016-08-25 02:50:57 UTC) #50
aelias_OOO_until_Jul13
https://codereview.chromium.org/1995333002/diff/100001/content/renderer/render_frame_impl.h File content/renderer/render_frame_impl.h (right): https://codereview.chromium.org/1995333002/diff/100001/content/renderer/render_frame_impl.h#newcode373 content/renderer/render_frame_impl.h:373: int relative_cursor_pos = 1); Default arguments violate Chromium style ...
4 years, 4 months ago (2016-08-25 03:02:11 UTC) #51
aelias_OOO_until_Jul13
4 years, 4 months ago (2016-08-25 03:02:17 UTC) #52
yabinh
https://codereview.chromium.org/1995333002/diff/100001/content/renderer/render_frame_impl.h File content/renderer/render_frame_impl.h (right): https://codereview.chromium.org/1995333002/diff/100001/content/renderer/render_frame_impl.h#newcode373 content/renderer/render_frame_impl.h:373: int relative_cursor_pos = 1); On 2016/08/25 03:02:10, aelias wrote: ...
4 years, 3 months ago (2016-08-25 10:27:08 UTC) #57
aelias_OOO_until_Jul13
Almost there, thanks for following up! https://codereview.chromium.org/1995333002/diff/100001/third_party/WebKit/Source/core/editing/InputMethodController.h File third_party/WebKit/Source/core/editing/InputMethodController.h (right): https://codereview.chromium.org/1995333002/diff/100001/third_party/WebKit/Source/core/editing/InputMethodController.h#newcode66 third_party/WebKit/Source/core/editing/InputMethodController.h:66: bool replaceComposition(const String& ...
4 years, 3 months ago (2016-08-25 22:43:16 UTC) #60
aelias_OOO_until_Jul13
lgtm assuming replaceComposition() is made private. Feel free to add yosin@ as reviewer once that ...
4 years, 3 months ago (2016-08-25 22:44:49 UTC) #61
yabinh
https://codereview.chromium.org/1995333002/diff/100001/third_party/WebKit/Source/core/editing/InputMethodController.h File third_party/WebKit/Source/core/editing/InputMethodController.h (right): https://codereview.chromium.org/1995333002/diff/100001/third_party/WebKit/Source/core/editing/InputMethodController.h#newcode66 third_party/WebKit/Source/core/editing/InputMethodController.h:66: bool replaceComposition(const String& text, ConfirmCompositionBehavior confirmBehavior = KeepSelection); On ...
4 years, 3 months ago (2016-08-26 01:23:20 UTC) #62
aelias_OOO_until_Jul13
https://codereview.chromium.org/1995333002/diff/100001/third_party/WebKit/Source/core/editing/InputMethodController.h File third_party/WebKit/Source/core/editing/InputMethodController.h (right): https://codereview.chromium.org/1995333002/diff/100001/third_party/WebKit/Source/core/editing/InputMethodController.h#newcode66 third_party/WebKit/Source/core/editing/InputMethodController.h:66: bool replaceComposition(const String& text, ConfirmCompositionBehavior confirmBehavior = KeepSelection); On ...
4 years, 3 months ago (2016-08-26 02:08:59 UTC) #63
yabinh
https://codereview.chromium.org/1995333002/diff/100001/third_party/WebKit/Source/core/editing/InputMethodController.h File third_party/WebKit/Source/core/editing/InputMethodController.h (right): https://codereview.chromium.org/1995333002/diff/100001/third_party/WebKit/Source/core/editing/InputMethodController.h#newcode66 third_party/WebKit/Source/core/editing/InputMethodController.h:66: bool replaceComposition(const String& text, ConfirmCompositionBehavior confirmBehavior = KeepSelection); On ...
4 years, 3 months ago (2016-08-26 02:46:23 UTC) #64
aelias_OOO_until_Jul13
https://codereview.chromium.org/1995333002/diff/100001/third_party/WebKit/Source/core/editing/InputMethodController.h File third_party/WebKit/Source/core/editing/InputMethodController.h (right): https://codereview.chromium.org/1995333002/diff/100001/third_party/WebKit/Source/core/editing/InputMethodController.h#newcode75 third_party/WebKit/Source/core/editing/InputMethodController.h:75: On 2016/08/26 at 02:46:23, yabinh wrote: > On a ...
4 years, 3 months ago (2016-08-26 05:58:59 UTC) #65
yabinh
yosin@, can you take a look at this patch? Thanks. https://codereview.chromium.org/1995333002/diff/100001/third_party/WebKit/Source/core/editing/InputMethodController.h File third_party/WebKit/Source/core/editing/InputMethodController.h (right): https://codereview.chromium.org/1995333002/diff/100001/third_party/WebKit/Source/core/editing/InputMethodController.h#newcode75 ...
4 years, 3 months ago (2016-08-26 07:18:32 UTC) #69
yosin_UTC9
https://codereview.chromium.org/1995333002/diff/160001/third_party/WebKit/Source/core/editing/InputMethodController.cpp File third_party/WebKit/Source/core/editing/InputMethodController.cpp (right): https://codereview.chromium.org/1995333002/diff/160001/third_party/WebKit/Source/core/editing/InputMethodController.cpp#newcode256 third_party/WebKit/Source/core/editing/InputMethodController.cpp:256: int textStart, textLength; Can we introduce other functions to ...
4 years, 3 months ago (2016-08-26 10:06:11 UTC) #74
yabinh
yosin@, can you take another look at this patch? Thanks. https://codereview.chromium.org/1995333002/diff/160001/third_party/WebKit/Source/core/editing/InputMethodController.cpp File third_party/WebKit/Source/core/editing/InputMethodController.cpp (right): https://codereview.chromium.org/1995333002/diff/160001/third_party/WebKit/Source/core/editing/InputMethodController.cpp#newcode256 ...
4 years, 3 months ago (2016-08-29 05:49:53 UTC) #79
yosin_UTC9
https://codereview.chromium.org/1995333002/diff/180001/third_party/WebKit/Source/core/editing/InputMethodController.cpp File third_party/WebKit/Source/core/editing/InputMethodController.cpp (right): https://codereview.chromium.org/1995333002/diff/180001/third_party/WebKit/Source/core/editing/InputMethodController.cpp#newcode267 third_party/WebKit/Source/core/editing/InputMethodController.cpp:267: nit: no need to have an extra blank line. ...
4 years, 3 months ago (2016-08-29 07:02:02 UTC) #82
yabinh
https://codereview.chromium.org/1995333002/diff/180001/third_party/WebKit/Source/core/editing/InputMethodController.cpp File third_party/WebKit/Source/core/editing/InputMethodController.cpp (right): https://codereview.chromium.org/1995333002/diff/180001/third_party/WebKit/Source/core/editing/InputMethodController.cpp#newcode267 third_party/WebKit/Source/core/editing/InputMethodController.cpp:267: On 2016/08/29 07:02:01, Yosi_UTC9 wrote: > nit: no need ...
4 years, 3 months ago (2016-08-29 08:44:01 UTC) #85
yosin_UTC9
lgtm Thanks!
4 years, 3 months ago (2016-08-30 06:42:37 UTC) #88
yabinh
tkent@chromium.org: Please review changes in text_input_controller.cc sievers@chromium.org: Please review changes in content/ Thanks~
4 years, 3 months ago (2016-08-30 07:07:39 UTC) #90
tkent
https://codereview.chromium.org/1995333002/diff/200001/third_party/WebKit/Source/core/editing/InputMethodController.cpp File third_party/WebKit/Source/core/editing/InputMethodController.cpp (right): https://codereview.chromium.org/1995333002/diff/200001/third_party/WebKit/Source/core/editing/InputMethodController.cpp#newcode239 third_party/WebKit/Source/core/editing/InputMethodController.cpp:239: // https://developer.android.com/reference/android/view/inputmethod/InputConnection.html#commitText(java.lang.CharSequence, int) Even though this follows an Android ...
4 years, 3 months ago (2016-08-30 07:47:12 UTC) #91
yabinh
https://codereview.chromium.org/1995333002/diff/200001/third_party/WebKit/Source/core/editing/InputMethodController.cpp File third_party/WebKit/Source/core/editing/InputMethodController.cpp (right): https://codereview.chromium.org/1995333002/diff/200001/third_party/WebKit/Source/core/editing/InputMethodController.cpp#newcode239 third_party/WebKit/Source/core/editing/InputMethodController.cpp:239: // https://developer.android.com/reference/android/view/inputmethod/InputConnection.html#commitText(java.lang.CharSequence, int) On 2016/08/30 07:47:11, tkent wrote: > ...
4 years, 3 months ago (2016-08-30 12:33:05 UTC) #96
aelias_OOO_until_Jul13
Back to not lgtm because I have concerns about correctness after the latest rounds of ...
4 years, 3 months ago (2016-08-30 17:26:13 UTC) #97
yabinh
https://codereview.chromium.org/1995333002/diff/160001/third_party/WebKit/Source/core/editing/InputMethodController.cpp File third_party/WebKit/Source/core/editing/InputMethodController.cpp (right): https://codereview.chromium.org/1995333002/diff/160001/third_party/WebKit/Source/core/editing/InputMethodController.cpp#newcode267 third_party/WebKit/Source/core/editing/InputMethodController.cpp:267: textLength = text.length() ? text.length() : compositionRange.length(); On 2016/08/30 ...
4 years, 3 months ago (2016-08-31 11:23:28 UTC) #102
yabinh
https://codereview.chromium.org/1995333002/diff/260001/third_party/WebKit/Source/web/tests/WebViewTest.cpp File third_party/WebKit/Source/web/tests/WebViewTest.cpp (right): https://codereview.chromium.org/1995333002/diff/260001/third_party/WebKit/Source/web/tests/WebViewTest.cpp#newcode1135 third_party/WebKit/Source/web/tests/WebViewTest.cpp:1135: On 2016/08/31 11:23:27, yabinh wrote: > We are able ...
4 years, 3 months ago (2016-08-31 11:26:21 UTC) #103
aelias_OOO_until_Jul13
OK, I've thought about it and convinced myself that the patch is correct. But it ...
4 years, 3 months ago (2016-09-01 05:21:58 UTC) #106
yabinh
On 2016/09/01 05:21:58, aelias wrote: > I propose splitting InputMsg_ImeConfirmComposition into two messages and also ...
4 years, 3 months ago (2016-09-06 11:25:55 UTC) #109
aelias_OOO_until_Jul13
lgtm modulo comments below. tkent@, could you take another look? https://codereview.chromium.org/1995333002/diff/280001/content/browser/renderer_host/render_widget_host_view_aura.cc File content/browser/renderer_host/render_widget_host_view_aura.cc (right): https://codereview.chromium.org/1995333002/diff/280001/content/browser/renderer_host/render_widget_host_view_aura.cc#newcode1384 ...
4 years, 3 months ago (2016-09-07 05:02:40 UTC) #112
tkent
third_party/WebKit lgtm
4 years, 3 months ago (2016-09-07 05:39:21 UTC) #113
yosin_UTC9
Some nits. https://codereview.chromium.org/1995333002/diff/280001/third_party/WebKit/Source/core/editing/InputMethodController.cpp File third_party/WebKit/Source/core/editing/InputMethodController.cpp (right): https://codereview.chromium.org/1995333002/diff/280001/third_party/WebKit/Source/core/editing/InputMethodController.cpp#newcode211 third_party/WebKit/Source/core/editing/InputMethodController.cpp:211: return replaceCompositionAndMoveCaret(text, relativeCaretPosition); nit: It is better ...
4 years, 3 months ago (2016-09-07 07:19:22 UTC) #114
yabinh
sievers@, can you take a look at changes in content/ ? Thanks. https://codereview.chromium.org/1995333002/diff/280001/content/browser/renderer_host/render_widget_host_view_aura.cc File content/browser/renderer_host/render_widget_host_view_aura.cc ...
4 years, 3 months ago (2016-09-07 10:27:15 UTC) #119
no sievers
content lgtm stamp. maybe get somebody to double-check for aura+mac though?
4 years, 3 months ago (2016-09-13 18:33:38 UTC) #122
aelias_OOO_until_Jul13
On 2016/09/13 at 18:33:38, sievers wrote: > maybe get somebody to double-check for aura+mac though? ...
4 years, 3 months ago (2016-09-13 18:42:48 UTC) #123
aelias_OOO_until_Jul13
One last comment below, aside from that just needs a rebase to land. https://codereview.chromium.org/1995333002/diff/300001/third_party/WebKit/Source/core/editing/InputMethodController.cpp File ...
4 years, 3 months ago (2016-09-13 19:30:08 UTC) #128
aelias_OOO_until_Jul13
4 years, 3 months ago (2016-09-14 03:23:22 UTC) #129
I couldn't upload a rebased patchset here, so I created another issue and landed
this on yabinh@'s behalf in https://codereview.chromium.org/2339793002/ (he's on
vacation for another week and I'd like this to land before it needs further
rebase).  Closing this issue.

Powered by Google App Engine
This is Rietveld 408576698