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 10917061: Fix preedit handling on IME switching. (Closed)

Created:
8 years, 3 months ago by Seigo Nonaka
Modified:
8 years, 3 months ago
Reviewers:
Yusuke Sato
CC:
chromium-reviews, oshima+watch_chromium.org, stevenjb+watch_chromium.org, nkostylev+watch_chromium.org, davemoore+watch_chromium.org, yusukes+watch_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Fix preedit handling on IME switching. This is hack for Korean IME which required to commit preedit when it is disabled or switched to other IME. The root of the problem is that, in ChromeOS, if the next engine is xkb layout, SetGlobalEngine is not called. Due to this logic, ibus-daemon can't know the ime switching. As the result, IBusPreeditFocusMode does not work. BUG=chrome-os-partner:12798 TEST=Manually done on lumpy Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=154802

Patch Set 1 #

Patch Set 2 : revise comment #

Patch Set 3 : Add unittest expectation. #

Total comments: 8

Patch Set 4 : Revise comments #

Total comments: 2

Patch Set 5 : Fix URL #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -2 lines) Patch
M chrome/browser/chromeos/input_method/input_method_manager_impl.cc View 1 2 3 4 1 chunk +11 lines, -1 line 0 comments Download
M chrome/browser/chromeos/input_method/input_method_manager_impl_unittest.cc View 1 2 1 chunk +5 lines, -1 line 0 comments Download

Messages

Total messages: 11 (0 generated)
Seigo Nonaka
8 years, 3 months ago (2012-09-04 05:24:45 UTC) #1
Yusuke Sato
Please write a test for this.
8 years, 3 months ago (2012-09-04 16:35:36 UTC) #2
Seigo Nonaka
On 2012/09/04 16:35:36, Yusuke Sato wrote: > Please write a test for this. Sure, done.
8 years, 3 months ago (2012-09-04 17:14:40 UTC) #3
Yusuke Sato
http://codereview.chromium.org/10917061/diff/1003/chrome/browser/chromeos/input_method/input_method_manager_impl.cc File chrome/browser/chromeos/input_method/input_method_manager_impl.cc (right): http://codereview.chromium.org/10917061/diff/1003/chrome/browser/chromeos/input_method/input_method_manager_impl.cc#newcode252 chrome/browser/chromeos/input_method/input_method_manager_impl.cc:252: // https://code.google.com/p/chrome-os-partner/issues/detail?id=12798 http://crosbug.com/p/12798 http://codereview.chromium.org/10917061/diff/1003/chrome/browser/chromeos/input_method/input_method_manager_impl.cc#newcode253 chrome/browser/chromeos/input_method/input_method_manager_impl.cc:253: // We should notify ...
8 years, 3 months ago (2012-09-04 17:28:35 UTC) #4
Seigo Nonaka
http://codereview.chromium.org/10917061/diff/1003/chrome/browser/chromeos/input_method/input_method_manager_impl.cc File chrome/browser/chromeos/input_method/input_method_manager_impl.cc (right): http://codereview.chromium.org/10917061/diff/1003/chrome/browser/chromeos/input_method/input_method_manager_impl.cc#newcode252 chrome/browser/chromeos/input_method/input_method_manager_impl.cc:252: // https://code.google.com/p/chrome-os-partner/issues/detail?id=12798 On 2012/09/04 17:28:35, Yusuke Sato wrote: > ...
8 years, 3 months ago (2012-09-04 17:47:34 UTC) #5
Yusuke Sato
lgtm with two nits. http://codereview.chromium.org/10917061/diff/3002/chrome/browser/chromeos/input_method/input_method_manager_impl.cc File chrome/browser/chromeos/input_method/input_method_manager_impl.cc (right): http://codereview.chromium.org/10917061/diff/3002/chrome/browser/chromeos/input_method/input_method_manager_impl.cc#newcode251 chrome/browser/chromeos/input_method/input_method_manager_impl.cc:251: // Hack for fixing http://crbug.com/p/12798 ...
8 years, 3 months ago (2012-09-04 17:49:53 UTC) #6
Yusuke Sato
BUG line is still wrong. it should be BUG=chrome-os-partner:12798 I believe. On 2012/09/04 17:49:53, Yusuke ...
8 years, 3 months ago (2012-09-04 18:05:43 UTC) #7
Seigo Nonaka
http://codereview.chromium.org/10917061/diff/3002/chrome/browser/chromeos/input_method/input_method_manager_impl.cc File chrome/browser/chromeos/input_method/input_method_manager_impl.cc (right): http://codereview.chromium.org/10917061/diff/3002/chrome/browser/chromeos/input_method/input_method_manager_impl.cc#newcode251 chrome/browser/chromeos/input_method/input_method_manager_impl.cc:251: // Hack for fixing http://crbug.com/p/12798 Opps, thanks. Done. On ...
8 years, 3 months ago (2012-09-04 18:08:48 UTC) #8
Yusuke Sato
lgtm, thanks for patching this. On 2012/09/04 18:08:48, Seigo Nonaka wrote: > http://codereview.chromium.org/10917061/diff/3002/chrome/browser/chromeos/input_method/input_method_manager_impl.cc > File ...
8 years, 3 months ago (2012-09-04 18:10:35 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nona@chromium.org/10917061/4
8 years, 3 months ago (2012-09-04 18:11:23 UTC) #10
commit-bot: I haz the power
8 years, 3 months ago (2012-09-04 20:33:25 UTC) #11
Change committed as 154802

Powered by Google App Engine
This is Rietveld 408576698