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

Issue 10962011: Allow tap gestures to open the IME on Android. (Closed)

Created:
8 years, 3 months ago by olilan
Modified:
8 years, 3 months ago
Reviewers:
James Su, jam
CC:
chromium-reviews, yusukes+watch_chromium.org, jam, penghuang+watch_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, James Su
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Allow tap gestures to open the IME on Android. This CL allows tap gestures to cause the IME to be shown on Android It uses the new didHandleGestureEvent of WebViewCient that was added in http://trac.webkit.org/changeset/129029 When the IME is shown, we need to receive a text input state update to ensure the IME has the correct state. For this reason, the message to show the IME has been added as part of ViewHostMsg_TextInputStateChanged. To this end, a new parameter has been added to UpdateTextInputState to specify whether the updtae should cause the IME to be shown or not. BUG=147226 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=158042

Patch Set 1 #

Total comments: 7

Patch Set 2 : nits fixed #

Patch Set 3 : fix render_view_browsertest #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -14 lines) Patch
M content/browser/renderer_host/render_widget_host_view_android.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/common/view_messages.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M content/renderer/render_view_browsertest.cc View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M content/renderer/render_view_impl.h View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 chunks +14 lines, -2 lines 0 comments Download
M content/renderer/render_widget.h View 1 2 3 2 chunks +8 lines, -1 line 0 comments Download
M content/renderer/render_widget.cc View 6 chunks +18 lines, -7 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
olilan
8 years, 3 months ago (2012-09-20 12:44:53 UTC) #1
James Su
LGTM, except one nit. https://codereview.chromium.org/10962011/diff/1/content/renderer/render_widget.cc File content/renderer/render_widget.cc (right): https://codereview.chromium.org/10962011/diff/1/content/renderer/render_widget.cc#newcode1660 content/renderer/render_widget.cc:1660: if (show_ime_if_needed || (text_input_type_ != ...
8 years, 3 months ago (2012-09-20 15:10:12 UTC) #2
olilan
Thanks for the review. Reply added. https://codereview.chromium.org/10962011/diff/1/content/renderer/render_widget.cc File content/renderer/render_widget.cc (right): https://codereview.chromium.org/10962011/diff/1/content/renderer/render_widget.cc#newcode1660 content/renderer/render_widget.cc:1660: if (show_ime_if_needed || ...
8 years, 3 months ago (2012-09-20 15:20:46 UTC) #3
James Su
https://codereview.chromium.org/10962011/diff/1/content/renderer/render_widget.cc File content/renderer/render_widget.cc (right): https://codereview.chromium.org/10962011/diff/1/content/renderer/render_widget.cc#newcode1660 content/renderer/render_widget.cc:1660: if (show_ime_if_needed || (text_input_type_ != new_type On 2012/09/20 15:20:46, ...
8 years, 3 months ago (2012-09-20 15:42:42 UTC) #4
olilan
jam, could you take a look as a content owner please?
8 years, 3 months ago (2012-09-20 16:04:49 UTC) #5
jam
lgtm https://codereview.chromium.org/10962011/diff/1/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): https://codereview.chromium.org/10962011/diff/1/content/renderer/render_view_impl.cc#newcode2075 content/renderer/render_view_impl.cc:2075: bool eventSwallowed) { nit: event_swallowed per style guide ...
8 years, 3 months ago (2012-09-20 18:01:22 UTC) #6
olilan
Thanks for the review. Nits fixed in the next patch. https://codereview.chromium.org/10962011/diff/1/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): https://codereview.chromium.org/10962011/diff/1/content/renderer/render_view_impl.cc#newcode2075 ...
8 years, 3 months ago (2012-09-21 11:23:55 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/olilan@chromium.org/10962011/9001
8 years, 3 months ago (2012-09-21 11:26:34 UTC) #8
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build. Your ...
8 years, 3 months ago (2012-09-21 11:55:27 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/olilan@chromium.org/10962011/7003
8 years, 3 months ago (2012-09-21 15:01:29 UTC) #10
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build. Your ...
8 years, 3 months ago (2012-09-21 15:26:56 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/olilan@chromium.org/10962011/12007
8 years, 3 months ago (2012-09-21 17:04:41 UTC) #12
commit-bot: I haz the power
8 years, 3 months ago (2012-09-21 19:20:47 UTC) #13
Change committed as 158042

Powered by Google App Engine
This is Rietveld 408576698