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

Issue 2650113004: [WIP] Add support for Android SuggestionSpans when editing text (Closed)

Created:
3 years, 11 months ago by rlanday
Modified:
3 years, 8 months ago
CC:
aboxhall+watch_chromium.org, aboxhall, agrieve+watch_chromium.org, blink-reviews, blink-reviews-api_chromium.org, blink-reviews-dom_chromium.org, blink-reviews-paint_chromium.org, chromium-reviews, darin-cc_chromium.org, dglazkov+blink, dmazzoni+watch_chromium.org, dmazzoni, dshwang, dtapuska+chromiumwatch_chromium.org, dtseng+watch_chromium.org, eae+blinkwatch, haraken, jam, je_julie, kinuko+watch, mlamouri+watch-content_chromium.org, nektar+watch_chromium.org, nektarios, nona+watch_chromium.org, rwlbuis, shuchen+watch_chromium.org, sof, James Su, yusukes+watch_chromium.org, yuzo+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add support for Android SuggestionSpans when editing text This allows people entering text using the Android Voice IME to tap on the underlined suggestion spans and pick from a set of potential replacements in a dropdown menu. This still needs to be split up into smaller patches and cleaned up a bit, I am uploading what I have so far so we can discuss the best way to split it up. BUG=672259 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2

Patch Set 1 #

Total comments: 41

Patch Set 2 : Respond to comments #

Total comments: 1

Patch Set 3 : Remove logging statements, fix copyright years in new files #

Total comments: 59

Patch Set 4 : Uploading the latest version from my repo so I can reference it #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2092 lines, -247 lines) Patch
M chrome/browser/chrome_content_browser_manifest_overlay.json View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/BUILD.gn View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/android/ime_adapter_android.h View 1 2 3 3 chunks +15 lines, -0 lines 0 comments Download
M content/browser/android/ime_adapter_android.cc View 1 2 3 8 chunks +123 lines, -0 lines 0 comments Download
A content/browser/android/text_suggestion_host_impl.h View 1 2 3 1 chunk +29 lines, -0 lines 0 comments Download
A content/browser/android/text_suggestion_host_impl.cc View 1 2 3 1 chunk +30 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_base.h View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_base.cc View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M content/common/content_param_traits_macros.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M content/public/android/BUILD.gn View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
A content/public/android/java/res/drawable/floating_popup_background_light.xml View 1 chunk +10 lines, -0 lines 0 comments Download
A content/public/android/java/res/layout-v21/text_edit_suggestion_container.xml View 1 2 3 1 chunk +51 lines, -0 lines 0 comments Download
A content/public/android/java/res/layout-v21/text_edit_suggestion_item.xml View 1 2 3 1 chunk +19 lines, -0 lines 0 comments Download
M content/public/android/java/res/values-v21/styles.xml View 1 chunk +4 lines, -1 line 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/input/CursorAnchorInfoController.java View 1 9 chunks +55 lines, -14 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/input/ImeAdapter.java View 1 2 3 8 chunks +52 lines, -5 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/input/InputMethodManagerWrapper.java View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
A content/public/android/java/src/org/chromium/content/browser/input/SuggestionInfo.java View 1 2 3 1 chunk +27 lines, -0 lines 0 comments Download
A content/public/android/java/src/org/chromium/content/browser/input/SuggestionsPopupWindow.java View 1 2 3 1 chunk +294 lines, -0 lines 0 comments Download
M content/public/android/java/strings/android_content_strings.grd View 1 chunk +3 lines, -0 lines 0 comments Download
M content/public/app/mojo/content_renderer_manifest.json View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/render_view_impl.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M content/renderer/render_widget.h View 1 2 3 2 chunks +1 line, -8 lines 0 comments Download
M content/renderer/render_widget.cc View 1 2 3 7 chunks +8 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/editing/BUILD.gn View 1 2 3 2 chunks +12 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/editing/CompositionUnderline.h View 1 2 3 2 chunks +10 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/editing/CompositionUnderline.cpp View 1 2 3 1 chunk +17 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/editing/Editor.cpp View 1 2 3 6 chunks +14 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/editing/InputMethodController.cpp View 1 2 3 6 chunks +18 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp View 1 2 3 5 chunks +197 lines, -80 lines 0 comments Download
M third_party/WebKit/Source/core/editing/SelectionController.cpp View 1 2 3 3 chunks +8 lines, -2 lines 0 comments Download
A third_party/WebKit/Source/core/editing/TextSuggestionBackendImplAndroid.h View 1 2 3 1 chunk +37 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/editing/TextSuggestionBackendImplAndroid.cpp View 1 2 3 1 chunk +38 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/editing/TextSuggestionController.h View 1 2 3 1 chunk +60 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/editing/TextSuggestionController.cpp View 1 2 3 1 chunk +375 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/editing/TextSuggestionInfo.h View 1 2 3 1 chunk +33 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/editing/TextSuggestionList.h View 1 2 3 1 chunk +24 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/editing/TextSuggestionList.cpp View 1 2 3 1 chunk +22 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/editing/commands/TypingCommand.cpp View 1 2 3 4 chunks +15 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.h View 1 2 3 6 chunks +23 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp View 1 2 3 12 chunks +194 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/editing/markers/DocumentMarkerControllerTest.cpp View 1 2 3 3 chunks +70 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/editing/markers/EditingMarkerList.h View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/editing/markers/EditingMarkerList.cpp View 1 2 3 1 chunk +0 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp View 1 2 3 1 chunk +3 lines, -88 lines 0 comments Download
M third_party/WebKit/Source/core/frame/LocalFrame.h View 1 2 3 4 chunks +7 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/LocalFrame.cpp View 1 2 3 3 chunks +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/loader/EmptyClients.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/page/ChromeClient.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/paint/InlineTextBoxPainter.cpp View 1 2 3 3 chunks +13 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/modules/ModulesInitializer.cpp View 1 2 3 2 chunks +9 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/ChromeClientImpl.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/web/ChromeClientImpl.cpp View 1 2 3 1 chunk +10 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/CompositionUnderlineBuilder.h View 1 2 3 2 chunks +6 lines, -1 line 0 comments Download
M third_party/WebKit/Source/web/WebInputMethodControllerImpl.cpp View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/public/BUILD.gn View 1 2 3 3 chunks +4 lines, -0 lines 0 comments Download
A third_party/WebKit/public/platform/input_host.mojom View 1 2 3 1 chunk +17 lines, -0 lines 0 comments Download
A third_party/WebKit/public/platform/input_messages.mojom View 1 2 3 1 chunk +11 lines, -0 lines 0 comments Download
M third_party/WebKit/public/web/WebCompositionUnderline.h View 1 2 3 3 chunks +17 lines, -1 line 0 comments Download
M third_party/WebKit/public/web/WebFrameWidget.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/public/web/WebInputMethodController.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/public/web/WebLocalFrame.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A third_party/WebKit/public/web/WebTextSuggestionController.h View 1 2 3 1 chunk +34 lines, -0 lines 0 comments Download
A third_party/WebKit/public/web/WebTextSuggestionInfo.h View 1 2 3 1 chunk +25 lines, -0 lines 0 comments Download
M third_party/WebKit/public/web/WebWidgetClient.h View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 41 (12 generated)
rlanday
Uploading this up to discuss how to split it up into smaller patches, there's still ...
3 years, 11 months ago (2017-01-25 02:27:23 UTC) #3
aelias_OOO_until_Jul13
I can't think of any good split point for this, I guess we can carry ...
3 years, 11 months ago (2017-01-25 03:34:27 UTC) #4
rlanday
https://codereview.chromium.org/2650113004/diff/1/content/common/input_messages.h File content/common/input_messages.h (right): https://codereview.chromium.org/2650113004/diff/1/content/common/input_messages.h#newcode203 content/common/input_messages.h:203: IPC_MESSAGE_ROUTED0(InputMsg_ImeDeleteSuggestionHighlight) On 2017/01/25 at 03:34:26, aelias wrote: > Can ...
3 years, 11 months ago (2017-01-25 18:48:10 UTC) #5
rlanday
https://codereview.chromium.org/2650113004/diff/1/content/public/android/java/src/org/chromium/content/browser/input/CursorAnchorInfoController.java File content/public/android/java/src/org/chromium/content/browser/input/CursorAnchorInfoController.java (left): https://codereview.chromium.org/2650113004/diff/1/content/public/android/java/src/org/chromium/content/browser/input/CursorAnchorInfoController.java#oldcode198 content/public/android/java/src/org/chromium/content/browser/input/CursorAnchorInfoController.java:198: if (mHasPendingImmediateRequest On 2017/01/25 at 03:34:26, aelias wrote: > ...
3 years, 11 months ago (2017-01-25 19:21:56 UTC) #6
rlanday
https://codereview.chromium.org/2650113004/diff/1/content/public/android/java/src/org/chromium/content/browser/input/ImeAdapter.java File content/public/android/java/src/org/chromium/content/browser/input/ImeAdapter.java (right): https://codereview.chromium.org/2650113004/diff/1/content/public/android/java/src/org/chromium/content/browser/input/ImeAdapter.java#newcode1025 content/public/android/java/src/org/chromium/content/browser/input/ImeAdapter.java:1025: // Use getUnderlineColor method by reflection to avoid having ...
3 years, 11 months ago (2017-01-26 00:23:05 UTC) #7
rlanday
https://codereview.chromium.org/2650113004/diff/1/content/renderer/input/render_widget_input_handler.cc File content/renderer/input/render_widget_input_handler.cc (right): https://codereview.chromium.org/2650113004/diff/1/content/renderer/input/render_widget_input_handler.cc#newcode424 content/renderer/input/render_widget_input_handler.cc:424: if (input_event.type() == WebInputEvent::GestureTap) { On 2017/01/25 at 03:34:26, ...
3 years, 11 months ago (2017-01-26 01:29:07 UTC) #8
aelias_OOO_until_Jul13
https://codereview.chromium.org/2650113004/diff/1/content/renderer/input/render_widget_input_handler.cc File content/renderer/input/render_widget_input_handler.cc (right): https://codereview.chromium.org/2650113004/diff/1/content/renderer/input/render_widget_input_handler.cc#newcode424 content/renderer/input/render_widget_input_handler.cc:424: if (input_event.type() == WebInputEvent::GestureTap) { On 2017/01/26 at 01:29:07, ...
3 years, 11 months ago (2017-01-26 02:00:30 UTC) #9
rlanday
https://codereview.chromium.org/2650113004/diff/1/third_party/WebKit/Source/core/editing/InputMethodController.cpp File third_party/WebKit/Source/core/editing/InputMethodController.cpp (right): https://codereview.chromium.org/2650113004/diff/1/third_party/WebKit/Source/core/editing/InputMethodController.cpp#newcode410 third_party/WebKit/Source/core/editing/InputMethodController.cpp:410: plainText(nextCharacterEphemeralRange, TextIteratorEmitsOriginalText); On 2017/01/25 at 03:34:26, aelias wrote: > ...
3 years, 11 months ago (2017-01-26 18:28:53 UTC) #10
aelias_OOO_until_Jul13
https://codereview.chromium.org/2650113004/diff/1/third_party/WebKit/Source/core/editing/InputMethodController.cpp File third_party/WebKit/Source/core/editing/InputMethodController.cpp (right): https://codereview.chromium.org/2650113004/diff/1/third_party/WebKit/Source/core/editing/InputMethodController.cpp#newcode410 third_party/WebKit/Source/core/editing/InputMethodController.cpp:410: plainText(nextCharacterEphemeralRange, TextIteratorEmitsOriginalText); On 2017/01/26 at 18:28:52, rlanday wrote: > ...
3 years, 10 months ago (2017-01-27 19:56:36 UTC) #11
rlanday
https://codereview.chromium.org/2650113004/diff/1/third_party/WebKit/Source/core/editing/InputMethodController.cpp File third_party/WebKit/Source/core/editing/InputMethodController.cpp (right): https://codereview.chromium.org/2650113004/diff/1/third_party/WebKit/Source/core/editing/InputMethodController.cpp#newcode333 third_party/WebKit/Source/core/editing/InputMethodController.cpp:333: markersToExpand.push_back(marker); On 2017/01/25 at 18:48:10, rlanday wrote: > On ...
3 years, 10 months ago (2017-01-28 02:35:28 UTC) #12
rlanday
On 2017/01/28 at 02:35:28, rlanday wrote: > https://codereview.chromium.org/2650113004/diff/1/third_party/WebKit/Source/core/editing/InputMethodController.cpp > File third_party/WebKit/Source/core/editing/InputMethodController.cpp (right): > > https://codereview.chromium.org/2650113004/diff/1/third_party/WebKit/Source/core/editing/InputMethodController.cpp#newcode333 ...
3 years, 10 months ago (2017-01-28 02:48:49 UTC) #13
rlanday
On 2017/01/28 at 02:48:49, rlanday wrote: > On 2017/01/28 at 02:35:28, rlanday wrote: > > ...
3 years, 10 months ago (2017-01-28 02:55:07 UTC) #14
rlanday
I noted a few changes I'm planning to make, and I'm planning to add some ...
3 years, 10 months ago (2017-01-31 19:50:22 UTC) #21
rlanday
For reference, these are the files that git cl owners says are owned by each ...
3 years, 10 months ago (2017-01-31 19:51:16 UTC) #22
rlanday
https://codereview.chromium.org/2650113004/diff/40001/third_party/WebKit/Source/core/editing/InputMethodController.cpp File third_party/WebKit/Source/core/editing/InputMethodController.cpp (right): https://codereview.chromium.org/2650113004/diff/40001/third_party/WebKit/Source/core/editing/InputMethodController.cpp#newcode314 third_party/WebKit/Source/core/editing/InputMethodController.cpp:314: rootEditableElement->document().markers().markersInRange( I introduced a bug here when I was ...
3 years, 10 months ago (2017-01-31 21:17:12 UTC) #23
rlanday
https://codereview.chromium.org/2650113004/diff/40001/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp File third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp (right): https://codereview.chromium.org/2650113004/diff/40001/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp#newcode542 third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp:542: applyCommandToComposite(DeleteFromTextNodeCommand::create( On 2017/01/31 at 19:50:21, rlanday wrote: > Again, ...
3 years, 10 months ago (2017-01-31 22:33:45 UTC) #24
esprehn
At a high level: - Use wtf/ inside blink. - Use mojo, no new legacy ...
3 years, 10 months ago (2017-01-31 22:41:35 UTC) #25
rlanday
https://codereview.chromium.org/2650113004/diff/40001/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp File third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp (right): https://codereview.chromium.org/2650113004/diff/40001/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp#newcode542 third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp:542: applyCommandToComposite(DeleteFromTextNodeCommand::create( On 2017/01/31 at 22:41:34, esprehn wrote: > On ...
3 years, 10 months ago (2017-01-31 22:58:43 UTC) #26
rlanday
Thanks for looking this over @esprehn! Basically the reasons this requires a lot of new ...
3 years, 10 months ago (2017-01-31 23:29:56 UTC) #27
rlanday
https://codereview.chromium.org/2650113004/diff/40001/content/renderer/render_widget.cc File content/renderer/render_widget.cc (right): https://codereview.chromium.org/2650113004/diff/40001/content/renderer/render_widget.cc#newcode600 content/renderer/render_widget.cc:600: OnApplySuggestionReplacement) On 2017/01/31 at 22:41:34, esprehn wrote: > Please ...
3 years, 10 months ago (2017-01-31 23:30:10 UTC) #28
rlanday
The blink_unit_tests seem to be passing, but at least one blink layout test, external/wpt/dom/ranges/Range-mutations-replaceData.html, is ...
3 years, 10 months ago (2017-02-01 21:11:59 UTC) #29
Ken Russell (switch to Gerrit)
Sorry but this is outside my domain of expertise. Elliott's a much better reviewer for ...
3 years, 10 months ago (2017-02-04 23:25:26 UTC) #30
aelias_OOO_until_Jul13
https://codereview.chromium.org/2650113004/diff/40001/third_party/WebKit/Source/core/editing/InputMethodController.cpp File third_party/WebKit/Source/core/editing/InputMethodController.cpp (right): https://codereview.chromium.org/2650113004/diff/40001/third_party/WebKit/Source/core/editing/InputMethodController.cpp#newcode343 third_party/WebKit/Source/core/editing/InputMethodController.cpp:343: // Special case: DocumentMarkerController handles shifting most of the ...
3 years, 10 months ago (2017-02-10 21:43:55 UTC) #34
Changwan Ryu
drive-by review: could you try to add a Robolectric test class named SuggestionSpanTest.java that tests ...
3 years, 10 months ago (2017-02-14 00:58:01 UTC) #36
rlanday
On 2017/02/14 at 00:58:01, changwan wrote: > drive-by review: > > could you try to ...
3 years, 10 months ago (2017-02-16 23:34:27 UTC) #37
rlanday
Gah, I apologize for another blank comment... @esprehn, am I supposed to use WebString in ...
3 years, 10 months ago (2017-02-16 23:39:48 UTC) #38
rlanday
https://codereview.chromium.org/2650113004/diff/40001/content/renderer/render_widget.cc File content/renderer/render_widget.cc (right): https://codereview.chromium.org/2650113004/diff/40001/content/renderer/render_widget.cc#newcode2143 content/renderer/render_widget.cc:2143: controller->prepareForTextSuggestionMenuToBeShown(); On 2017/01/31 at 23:30:09, rlanday wrote: > On ...
3 years, 10 months ago (2017-02-17 01:46:21 UTC) #39
dcheng
On 2017/02/17 01:46:21, rlanday wrote: > https://codereview.chromium.org/2650113004/diff/40001/content/renderer/render_widget.cc > File content/renderer/render_widget.cc (right): > > https://codereview.chromium.org/2650113004/diff/40001/content/renderer/render_widget.cc#newcode2143 > ...
3 years, 10 months ago (2017-02-18 00:04:37 UTC) #40
EhsanK
3 years, 10 months ago (2017-02-21 16:47:49 UTC) #41
On 2017/02/18 00:04:37, dcheng wrote:
> On 2017/02/17 01:46:21, rlanday wrote:
> >
>
https://codereview.chromium.org/2650113004/diff/40001/content/renderer/render...
> > File content/renderer/render_widget.cc (right):
> > 
> >
>
https://codereview.chromium.org/2650113004/diff/40001/content/renderer/render...
> > content/renderer/render_widget.cc:2143:
> > controller->prepareForTextSuggestionMenuToBeShown();
> > On 2017/01/31 at 23:30:09, rlanday wrote:
> > > On 2017/01/31 at 22:41:34, esprehn wrote:
> > > > This should all be done with mojo inside blink.
> > > 
> > > Ok
> > 
> > Is there a way to get access to the RenderWidget from LocalFrame (which is
> what
> > InputMethodController has access to, and it's what my new
> > TextSuggestionController class has access to) to call
UpdateCompositionInfo()?
> 
> The current way of doing that is to add a method to ChromeClient (that takes a
> LocalFrame*), looks up the WebLocalFrameImpl from the LocalFrame* (using
> WebLocalFrameImpl::fromFrame), getting the WebFrameWidget from that, then
> talking to the WebWidgetClient to get to RenderWidget. It's rather painful.
> 
> +ekaramad as well, as a heads up, since he's done a bunch of IME work for
OOPIF
> and factored out some of the IME stuff into WebInputMethodController already.
> 
>
https://codereview.chromium.org/2650113004/diff/40001/third_party/WebKit/publ...
> File third_party/WebKit/public/web/WebViewClient.h (right):
> 
>
https://codereview.chromium.org/2650113004/diff/40001/third_party/WebKit/publ...
> third_party/WebKit/public/web/WebViewClient.h:275: void
> handlePotentialTextSuggestionTap() override {}
> Is this work supposed to be associated only with the WebView? It seems like it
> should probably be associated with the WebFrameWidget, to match how the other
> IME stuff works.
> 
> (We could/should even move this to a private section, since this is a new
> method)

Thanks for the heads-up!
+1 to dcheng@'s comment above. Specifically given that the IPC is directly sent
through RenderWidgetHostImpl as well as 
being handled by RenderWidget. Also note that we get WebInputMethodController
from WebFrameWidget.

Also to have support for top-document-isolation/site-per-process, the IPC should
be sent to the focused RenderWidgetHostImpl
instead (inside ime_adapter_android.cc). I have an ongoing CL which is doing
that for the current IPCs being sent to
RenderWidgets:
https://codereview.chromium.org/2653283002/.

Powered by Google App Engine
This is Rietveld 408576698