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

Issue 10836053: Add IPCs/methods for additional IME actions. (Closed)

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

Description

Add IPCs/methods for additional IME actions. This adds IPCs and support in RenderViewImpl for the following: ReplaceAll, Unselect, SetEditableSelectionOffsets, SetCompositionFromExistingText, ExtendSelectionAndDelete. These are used to implement IME actions in the Android port, providing functions as required by the Android InputConnection interface. BUG=136738 TEST=RenderViewImplTest (new tests added: SetEditableSelectionAndComposition, OnReplaceAll, OnExtendSelectionAndDelete) Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=155461

Patch Set 1 #

Total comments: 12

Patch Set 2 : now calling WebKit implementations of setCompositionFromExistingText and ExtendSelectionAndDelete; … #

Total comments: 2

Patch Set 3 : removed view_messages changes (already added in 10911012) #

Total comments: 1

Patch Set 4 : nit fixed #

Patch Set 5 : adding CONTENT_EXPORT #

Unified diffs Side-by-side diffs Delta from patch set Stats (+116 lines, -0 lines) Patch
M content/renderer/render_view_browsertest.cc View 1 2 1 chunk +63 lines, -0 lines 0 comments Download
M content/renderer/render_view_impl.h View 1 2 3 4 5 chunks +11 lines, -0 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 2 chunks +42 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (0 generated)
olilan
8 years, 4 months ago (2012-08-01 18:28:46 UTC) #1
bulach
thanks oli! drive by, not an owner here.. (for the android's usage looks fine, but ...
8 years, 4 months ago (2012-08-01 20:09:45 UTC) #2
darin (slow to review)
http://codereview.chromium.org/10836053/diff/1/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): http://codereview.chromium.org/10836053/diff/1/content/renderer/render_view_impl.cc#newcode1342 content/renderer/render_view_impl.cc:1342: webview()->focusedFrame()->executeCommand( can't executing this command have side-effects? for example, ...
8 years, 4 months ago (2012-08-02 06:25:12 UTC) #3
olilan
http://codereview.chromium.org/10836053/diff/1/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): http://codereview.chromium.org/10836053/diff/1/content/renderer/render_view_impl.cc#newcode1342 content/renderer/render_view_impl.cc:1342: webview()->focusedFrame()->executeCommand( On 2012/08/02 06:25:13, darin wrote: > can't executing ...
8 years, 4 months ago (2012-08-02 09:55:44 UTC) #4
rniwa-cr
http://codereview.chromium.org/10836053/diff/1/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): http://codereview.chromium.org/10836053/diff/1/content/renderer/render_view_impl.cc#newcode1330 content/renderer/render_view_impl.cc:1330: webview()->setEditableSelectionOffsets(info.selectionStart, We should just add a new method to ...
8 years, 4 months ago (2012-08-02 17:11:54 UTC) #5
olilan
http://codereview.chromium.org/10836053/diff/1/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): http://codereview.chromium.org/10836053/diff/1/content/renderer/render_view_impl.cc#newcode1342 content/renderer/render_view_impl.cc:1342: webview()->focusedFrame()->executeCommand( On 2012/08/02 17:11:54, rniwa-cr wrote: > First off, ...
8 years, 4 months ago (2012-08-03 15:55:08 UTC) #6
rniwa-cr
http://codereview.chromium.org/10836053/diff/1/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): http://codereview.chromium.org/10836053/diff/1/content/renderer/render_view_impl.cc#newcode1342 content/renderer/render_view_impl.cc:1342: webview()->focusedFrame()->executeCommand( There isn't if it needs to be in ...
8 years, 4 months ago (2012-08-03 20:00:07 UTC) #7
olilan
Thanks. I've created a patch to implement SetComposingRegion and DeleteSurroundingText in WebKit, here: https://bugs.webkit.org/show_bug.cgi?id=93724
8 years, 4 months ago (2012-08-10 16:40:38 UTC) #8
olilan
Updated with calls to new WebKit methods as added in https://bugs.webkit.org/show_bug.cgi?id=93724 (once that lands). Also ...
8 years, 4 months ago (2012-08-21 14:36:15 UTC) #9
olilan
rniwa, could you take another look at this please, now that the WebKit changes in ...
8 years, 4 months ago (2012-08-23 17:17:26 UTC) #10
rniwa-cr
http://codereview.chromium.org/10836053/diff/1006/content/renderer/render_view_browsertest.cc File content/renderer/render_view_browsertest.cc (right): http://codereview.chromium.org/10836053/diff/1006/content/renderer/render_view_browsertest.cc#newcode1731 content/renderer/render_view_browsertest.cc:1731: Why didn't we add these tests in webkit side?
8 years, 4 months ago (2012-08-23 17:46:26 UTC) #11
rniwa-cr
I don't have any other comment as I don't know this code base.
8 years, 4 months ago (2012-08-23 17:47:13 UTC) #12
olilan
http://codereview.chromium.org/10836053/diff/1006/content/renderer/render_view_browsertest.cc File content/renderer/render_view_browsertest.cc (right): http://codereview.chromium.org/10836053/diff/1006/content/renderer/render_view_browsertest.cc#newcode1731 content/renderer/render_view_browsertest.cc:1731: On 2012/08/23 17:46:26, rniwa-cr wrote: > Why didn't we ...
8 years, 4 months ago (2012-08-24 09:30:49 UTC) #13
olilan
jam, could you ptal?
8 years, 3 months ago (2012-08-28 17:48:44 UTC) #14
jam
On 2012/08/28 17:48:44, olilan wrote: > jam, could you ptal? if Darin reviewed this before, ...
8 years, 3 months ago (2012-08-28 20:48:58 UTC) #15
olilan
darin, could you take another look please?
8 years, 3 months ago (2012-09-03 14:49:05 UTC) #16
darin (slow to review)
LGTM w/ nit fixed https://chromiumcodereview.appspot.com/10836053/diff/14001/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): https://chromiumcodereview.appspot.com/10836053/diff/14001/content/renderer/render_view_impl.cc#newcode1390 content/renderer/render_view_impl.cc:1390: WebKit::WebNode node = GetFocusedNode(); nit: ...
8 years, 3 months ago (2012-09-04 20:12:58 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/olilan@chromium.org/10836053/19001
8 years, 3 months ago (2012-09-06 15:20:56 UTC) #18
commit-bot: I haz the power
Try job failure for 10836053-19001 (retry) on linux_clang for step "compile" (clobber build). It's a ...
8 years, 3 months ago (2012-09-06 15:47:29 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/olilan@chromium.org/10836053/18003
8 years, 3 months ago (2012-09-06 17:27:44 UTC) #20
commit-bot: I haz the power
Try job failure for 10836053-18003 (retry) (retry) on win_rel for step "runhooks". It's a second ...
8 years, 3 months ago (2012-09-06 20:01:20 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/olilan@chromium.org/10836053/18003
8 years, 3 months ago (2012-09-07 09:06:20 UTC) #22
commit-bot: I haz the power
Try job failure for 10836053-18003 (retry) on mac_rel for step "sync_integration_tests". It's a second try, ...
8 years, 3 months ago (2012-09-07 10:44:34 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/olilan@chromium.org/10836053/18003
8 years, 3 months ago (2012-09-07 17:41:32 UTC) #24
commit-bot: I haz the power
8 years, 3 months ago (2012-09-07 20:09:08 UTC) #25
Change committed as 155461

Powered by Google App Engine
This is Rietveld 408576698