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

Issue 10928199: Add ExtendSelectionAndDelete() method to ui::TextInputClient. (Closed)

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

Description

Add ExtendSelectionAndDelete() method to ui::TextInputClient. This cl only implements RenderWidgetHostViewWin::ExtendSelectionAndDelete() which is needed to support HANJA key of Korean IME in Metro. BUG=148355 TEST=trybots Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=156992

Patch Set 1 #

Patch Set 2 : #

Total comments: 6

Patch Set 3 : Add ExtendSelectionAndDelete() to some test classes. #

Total comments: 1

Patch Set 4 : reflected the review #

Total comments: 4

Patch Set 5 : #

Patch Set 6 : #

Total comments: 4

Patch Set 7 : #

Total comments: 6

Patch Set 8 : change int to size_t #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -0 lines) Patch
M content/browser/renderer_host/render_widget_host_impl.h View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.cc View 1 2 3 4 5 6 7 1 chunk +6 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.cc View 1 2 3 4 5 6 7 1 chunk +7 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_win.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_win.cc View 1 2 3 4 5 6 7 1 chunk +12 lines, -0 lines 0 comments Download
M ui/base/ime/input_method_ibus_unittest.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M ui/base/ime/text_input_client.h View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M ui/base/win/tsf_text_store_unittest.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M ui/views/controls/textfield/native_textfield_views.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M ui/views/controls/textfield/native_textfield_views.cc View 1 2 3 4 5 6 7 1 chunk +8 lines, -0 lines 0 comments Download
M ui/views/ime/input_method_bridge.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M ui/views/ime/input_method_bridge.cc View 1 2 3 4 5 6 7 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
horo
Nona-san. Cloud you please review this CL?
8 years, 3 months ago (2012-09-14 02:59:20 UTC) #1
Seigo Nonaka
http://codereview.chromium.org/10928199/diff/3001/content/browser/renderer_host/render_widget_host_impl.cc File content/browser/renderer_host/render_widget_host_impl.cc (right): http://codereview.chromium.org/10928199/diff/3001/content/browser/renderer_host/render_widget_host_impl.cc#newcode1187 content/browser/renderer_host/render_widget_host_impl.cc:1187: Send(new ViewMsg_ExtendSelectionAndDelete(GetRoutingID(), nit: can be one line? or align ...
8 years, 3 months ago (2012-09-14 04:21:03 UTC) #2
horo
https://codereview.chromium.org/10928199/diff/3001/content/browser/renderer_host/render_widget_host_impl.cc File content/browser/renderer_host/render_widget_host_impl.cc (right): https://codereview.chromium.org/10928199/diff/3001/content/browser/renderer_host/render_widget_host_impl.cc#newcode1187 content/browser/renderer_host/render_widget_host_impl.cc:1187: Send(new ViewMsg_ExtendSelectionAndDelete(GetRoutingID(), On 2012/09/14 04:21:03, Seigo Nonaka wrote: > ...
8 years, 3 months ago (2012-09-14 04:34:50 UTC) #3
Seigo Nonaka
lgtm lgtm with nits http://codereview.chromium.org/10928199/diff/3002/ui/base/ime/input_method_ibus_unittest.cc File ui/base/ime/input_method_ibus_unittest.cc (right): http://codereview.chromium.org/10928199/diff/3002/ui/base/ime/input_method_ibus_unittest.cc#newcode217 ui/base/ime/input_method_ibus_unittest.cc:217: virtual void ExtendSelectionAndDelete(int before, int ...
8 years, 3 months ago (2012-09-14 04:49:19 UTC) #4
horo
https://codereview.chromium.org/10928199/diff/5007/content/browser/renderer_host/render_widget_host_impl.cc File content/browser/renderer_host/render_widget_host_impl.cc (right): https://codereview.chromium.org/10928199/diff/5007/content/browser/renderer_host/render_widget_host_impl.cc#newcode1188 content/browser/renderer_host/render_widget_host_impl.cc:1188: DCHECK(after >= 0); On 2012/09/14 04:49:19, Seigo Nonaka wrote: ...
8 years, 3 months ago (2012-09-14 05:01:20 UTC) #5
horo
yusukes@ and sky@ Cloud you please review this CL? Thank you.
8 years, 3 months ago (2012-09-14 05:03:25 UTC) #6
Yusuke Sato
ui/base/ime/ and ui/views/ime/ LGTM https://codereview.chromium.org/10928199/diff/4016/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/10928199/diff/4016/content/browser/renderer_host/render_widget_host_view_aura.cc#newcode1170 content/browser/renderer_host/render_widget_host_view_aura.cc:1170: // TODO(horo): implement this method ...
8 years, 3 months ago (2012-09-14 05:56:15 UTC) #7
horo
Thank you very much yusuke-san! https://codereview.chromium.org/10928199/diff/4016/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/10928199/diff/4016/content/browser/renderer_host/render_widget_host_view_aura.cc#newcode1170 content/browser/renderer_host/render_widget_host_view_aura.cc:1170: // TODO(horo): implement this ...
8 years, 3 months ago (2012-09-14 06:28:01 UTC) #8
Yohei Yukawa
lgtm
8 years, 3 months ago (2012-09-14 07:01:20 UTC) #9
sky
https://codereview.chromium.org/10928199/diff/21/content/browser/renderer_host/render_widget_host_impl.h File content/browser/renderer_host/render_widget_host_impl.h (right): https://codereview.chromium.org/10928199/diff/21/content/browser/renderer_host/render_widget_host_impl.h#newcode301 content/browser/renderer_host/render_widget_host_impl.h:301: void ExtendSelectionAndDelete(int before, int after); This is a weird ...
8 years, 3 months ago (2012-09-14 16:14:11 UTC) #10
horo
https://codereview.chromium.org/10928199/diff/21/content/browser/renderer_host/render_widget_host_impl.h File content/browser/renderer_host/render_widget_host_impl.h (right): https://codereview.chromium.org/10928199/diff/21/content/browser/renderer_host/render_widget_host_impl.h#newcode301 content/browser/renderer_host/render_widget_host_impl.h:301: void ExtendSelectionAndDelete(int before, int after); On 2012/09/14 16:14:11, sky ...
8 years, 3 months ago (2012-09-14 16:29:19 UTC) #11
sky
That seems like an implementation for render widgets implementation.
8 years, 3 months ago (2012-09-14 17:13:53 UTC) #12
sky
Make size_t and LGTM https://codereview.chromium.org/10928199/diff/21/content/browser/renderer_host/render_widget_host_impl.cc File content/browser/renderer_host/render_widget_host_impl.cc (right): https://codereview.chromium.org/10928199/diff/21/content/browser/renderer_host/render_widget_host_impl.cc#newcode1187 content/browser/renderer_host/render_widget_host_impl.cc:1187: DCHECK_GE(before, 0); Use size_t so ...
8 years, 3 months ago (2012-09-14 23:16:26 UTC) #13
horo
Thank you for your review! https://codereview.chromium.org/10928199/diff/21/content/browser/renderer_host/render_widget_host_impl.cc File content/browser/renderer_host/render_widget_host_impl.cc (right): https://codereview.chromium.org/10928199/diff/21/content/browser/renderer_host/render_widget_host_impl.cc#newcode1187 content/browser/renderer_host/render_widget_host_impl.cc:1187: DCHECK_GE(before, 0); On 2012/09/14 ...
8 years, 3 months ago (2012-09-14 23:50:38 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/horo@chromium.org/10928199/1035
8 years, 3 months ago (2012-09-15 01:19:32 UTC) #15
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-15 02:20:28 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/horo@chromium.org/10928199/1035
8 years, 3 months ago (2012-09-15 03:05:37 UTC) #17
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-15 03:23:21 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/horo@chromium.org/10928199/1035
8 years, 3 months ago (2012-09-15 03:30:29 UTC) #19
commit-bot: I haz the power
8 years, 3 months ago (2012-09-15 05:12:53 UTC) #20
Change committed as 156992

Powered by Google App Engine
This is Rietveld 408576698