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

Issue 102963005: Add supportsInputMethod() interface for WebPlugin. (Closed)

Created:
7 years ago by kochi
Modified:
7 years ago
Reviewers:
tkent
CC:
blink-reviews, jamesr, dglazkov+blink, adamk+blink_chromium.org, abarth-chromium
Visibility:
Public.

Description

Add minimal Input Method interface for WebPlugin. supportsInputMethod() will be used to determine whether the plugin implementation can handle input method, and setComposition/confirmComposition corresponds to the same method in WebViewImpl.cpp, to handle composition text updates. This patch is required for Chromium side patch: https://codereview.chromium.org/103403006/ BUG=235573 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=163522

Patch Set 1 #

Patch Set 2 : setComposition/confirmComposition #

Total comments: 6

Patch Set 3 : support plugindocument. #

Total comments: 2

Patch Set 4 : update. #

Total comments: 4

Patch Set 5 : add comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -0 lines) Patch
M Source/core/plugins/PluginView.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/web/WebPluginContainerImpl.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/web/WebPluginContainerImpl.cpp View 1 chunk +5 lines, -0 lines 0 comments Download
M Source/web/WebViewImpl.h View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M Source/web/WebViewImpl.cpp View 1 2 3 4 chunks +16 lines, -0 lines 0 comments Download
M public/web/WebPlugin.h View 1 2 3 4 4 chunks +12 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
kochi
tkent-san, Could you review this? Or could you suggest any reviewer who can review this ...
7 years ago (2013-12-10 06:48:37 UTC) #1
tkent
I think I can review this. https://codereview.chromium.org/102963005/diff/20001/Source/core/html/HTMLPlugInElement.h File Source/core/html/HTMLPlugInElement.h (right): https://codereview.chromium.org/102963005/diff/20001/Source/core/html/HTMLPlugInElement.h#newcode126 Source/core/html/HTMLPlugInElement.h:126: bool canHandleInputMethod() const; ...
7 years ago (2013-12-10 07:22:57 UTC) #2
kochi
Thanks for the review! https://codereview.chromium.org/102963005/diff/20001/Source/core/html/HTMLPlugInElement.h File Source/core/html/HTMLPlugInElement.h (right): https://codereview.chromium.org/102963005/diff/20001/Source/core/html/HTMLPlugInElement.h#newcode126 Source/core/html/HTMLPlugInElement.h:126: bool canHandleInputMethod() const; On 2013/12/10 ...
7 years ago (2013-12-10 08:20:56 UTC) #3
tkent
https://codereview.chromium.org/102963005/diff/60001/Source/web/WebViewImpl.cpp File Source/web/WebViewImpl.cpp (right): https://codereview.chromium.org/102963005/diff/60001/Source/web/WebViewImpl.cpp#newcode2346 Source/web/WebViewImpl.cpp:2346: WebPluginContainerImpl* container = WebFrameImpl::pluginContainerFromFrame(frame); Maybe you can use WebFrameImpl::pluginContainerFromNode. ...
7 years ago (2013-12-10 08:41:26 UTC) #4
kochi
Thanks for the review! https://codereview.chromium.org/102963005/diff/60001/Source/web/WebViewImpl.cpp File Source/web/WebViewImpl.cpp (right): https://codereview.chromium.org/102963005/diff/60001/Source/web/WebViewImpl.cpp#newcode2346 Source/web/WebViewImpl.cpp:2346: WebPluginContainerImpl* container = WebFrameImpl::pluginContainerFromFrame(frame); On ...
7 years ago (2013-12-10 08:48:19 UTC) #5
tkent
https://codereview.chromium.org/102963005/diff/80001/public/web/WebPlugin.h File public/web/WebPlugin.h (right): https://codereview.chromium.org/102963005/diff/80001/public/web/WebPlugin.h#newcode78 public/web/WebPlugin.h:78: virtual bool supportsInputMethod() const { return false; } Because ...
7 years ago (2013-12-10 08:52:19 UTC) #6
kochi
https://codereview.chromium.org/102963005/diff/80001/public/web/WebPlugin.h File public/web/WebPlugin.h (right): https://codereview.chromium.org/102963005/diff/80001/public/web/WebPlugin.h#newcode78 public/web/WebPlugin.h:78: virtual bool supportsInputMethod() const { return false; } On ...
7 years ago (2013-12-10 09:00:01 UTC) #7
tkent
lgtm
7 years ago (2013-12-10 09:02:00 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kochi@chromium.org/102963005/100001
7 years ago (2013-12-10 09:02:09 UTC) #9
commit-bot: I haz the power
7 years ago (2013-12-10 10:09:31 UTC) #10
Message was sent while issue was closed.
Change committed as 163522

Powered by Google App Engine
This is Rietveld 408576698