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

Issue 521058: Support intra-IME switching. Cros part. (Closed)

Created:
10 years, 11 months ago by Yusuke Sato
Modified:
9 years, 7 months ago
Reviewers:
satorux1
CC:
chromium-os-reviews_googlegroups.com
Visibility:
Public.

Description

Support intra-IME switching (e.g. "Japanese Hiragana mode" to "Japanese HalfWidthKatakana mode"). chromeos_language.h: - Added new cros API: ActivateImeProperty. - Added 2 monitor functions: LanguageRegisterImePropertiesFunction, LanguageUpdateImePropertyFunction. chromeos_language.cc: - Added DBus signal handlers for "RegisterProperties" and "UpdateProperty."

Patch Set 1 #

Patch Set 2 : Style fixes #

Patch Set 3 : style fix #

Patch Set 4 : merge satoru's change, adc84eae83d75cc6c2a59c89e5276d072ca69c8d #

Total comments: 51

Patch Set 5 : work in progress. #

Patch Set 6 : addressed all issues #

Total comments: 8

Patch Set 7 : addressed issues #

Unified diffs Side-by-side diffs Delta from patch set Stats (+748 lines, -133 lines) Patch
M chromeos_language.h View 1 2 3 4 5 6 5 chunks +139 lines, -13 lines 0 comments Download
M chromeos_language.cc View 1 2 3 4 5 6 13 chunks +558 lines, -107 lines 0 comments Download
M load.cc View 1 2 3 4 5 chunks +13 lines, -1 line 0 comments Download
M monitor_language.cc View 1 2 3 4 5 6 10 chunks +38 lines, -12 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Yusuke Sato
http://codereview.chromium.org/521058/diff/3005/2002 File chromeos_language.cc (right): http://codereview.chromium.org/521058/diff/3005/2002#newcode557 chromeos_language.cc:557: void SwitchToXKB(const char* name) { Moved from public: to ...
10 years, 11 months ago (2010-01-08 05:53:04 UTC) #1
satorux1
http://codereview.chromium.org/521058/diff/3005/2002 File chromeos_language.cc (right): http://codereview.chromium.org/521058/diff/3005/2002#newcode52 chromeos_language.cc:52: // converts IBus representation of a property, |ibus_prop|, to ...
10 years, 11 months ago (2010-01-08 09:27:10 UTC) #2
satorux1
http://codereview.chromium.org/521058/diff/3005/2003 File chromeos_language.h (right): http://codereview.chromium.org/521058/diff/3005/2003#newcode95 chromeos_language.h:95: bool is_radio; // true if the property is a ...
10 years, 11 months ago (2010-01-08 09:34:48 UTC) #3
Yusuke Sato
Addressed all issues. Thanks! http://codereview.chromium.org/521058/diff/3005/2002 File chromeos_language.cc (right): http://codereview.chromium.org/521058/diff/3005/2002#newcode52 chromeos_language.cc:52: // converts IBus representation of ...
10 years, 11 months ago (2010-01-10 16:55:06 UTC) #4
satorux1
LGTM. Minor points below. http://codereview.chromium.org/521058/diff/5001/5002 File chromeos_language.cc (right): http://codereview.chromium.org/521058/diff/5001/5002#newcode55 chromeos_language.cc:55: IBusInputContext* GetInputContext(const std::string& ic_path, IBusBus* ...
10 years, 11 months ago (2010-01-12 10:07:02 UTC) #5
Yusuke Sato
Fixed all. http://codereview.chromium.org/521058/diff/5001/5002 File chromeos_language.cc (right): http://codereview.chromium.org/521058/diff/5001/5002#newcode55 chromeos_language.cc:55: IBusInputContext* GetInputContext(const std::string& ic_path, IBusBus* ibus) { ...
10 years, 11 months ago (2010-01-19 02:33:44 UTC) #6
satorux1
10 years, 11 months ago (2010-01-19 02:39:33 UTC) #7
LGTM

On 2010/01/19 02:33:44, Yusuke Sato wrote:
> Fixed all.
> 
> http://codereview.chromium.org/521058/diff/5001/5002
> File chromeos_language.cc (right):
> 
> http://codereview.chromium.org/521058/diff/5001/5002#newcode55
> chromeos_language.cc:55: IBusInputContext* GetInputContext(const std::string&
> ic_path, IBusBus* ibus) {
> On 2010/01/12 10:07:02, satorux1 wrote:
> > input_context_path would be a bit more readable.
> 
> Done.
> 
> http://codereview.chromium.org/521058/diff/5001/5003
> File chromeos_language.h (right):
> 
> http://codereview.chromium.org/521058/diff/5001/5003#newcode166
> chromeos_language.h:166: // properties which is updated recently. Keys the
> signal contains is a subset
> On 2010/01/12 10:07:02, satorux1 wrote:
> > is a subset -> are a subset ?
> 
> Done.
> 
> http://codereview.chromium.org/521058/diff/5001/5003#newcode167
> chromeos_language.h:167: // of keys regstered by the "RegisterProperties"
signal
> above. For example,
> On 2010/01/12 10:07:02, satorux1 wrote:
> > regstered -> registered
> 
> Done.
> 
> http://codereview.chromium.org/521058/diff/5001/5005
> File monitor_language.cc (right):
> 
> http://codereview.chromium.org/521058/diff/5001/5005#newcode30
> monitor_language.cc:30: // 7. Verify that this tool automatically exits in a
> second or so.
> On 2010/01/12 10:07:02, satorux1 wrote:
> > Shouldn't we update the comment to describe how to trigger
RegisterProperties
> > and UpdateProperty signals?
> 
> Done.

Powered by Google App Engine
This is Rietveld 408576698