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

Issue 460107: Adding IBus support to cros library. (Closed)

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

Description

Adding IBus support to the cros library. The following 4 APIs will be added: MonitorLanguageStatus() DisconnectLanguageStatus() GetLanguages() ChangeLanguage() Basic structure of the code is almost the same as chromeos_power.cc. As with other cros modules, you can test the 4 interfaces above by running monitor_language.cc test tool. This change is for http://codereview.chromium.org/449050 BUG=494 TEST=Run monitor_language command and verify that the command can detect IME engine switches.

Patch Set 1 #

Patch Set 2 : fix typo #

Patch Set 3 : add comments #

Patch Set 4 : improved tests #

Total comments: 28

Patch Set 5 : addressed all issues #

Total comments: 6

Patch Set 6 : revised comments #

Total comments: 6

Patch Set 7 : add comments #

Patch Set 8 : changed some chatty LOG(INFO) to DLOG. #

Patch Set 9 : changed the argument type of the monitor following chocobo's suggestion #

Patch Set 10 : copied to writable tree #

Unified diffs Side-by-side diffs Delta from patch set Stats (+615 lines, -4 lines) Patch
M SConstruct View 1 2 3 2 chunks +5 lines, -4 lines 0 comments Download
A chromeos_language.h View 1 2 3 4 5 6 7 8 9 1 chunk +106 lines, -0 lines 0 comments Download
A chromeos_language.cc View 1 2 3 4 5 6 7 8 1 chunk +342 lines, -0 lines 0 comments Download
M cros_api.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M load.cc View 1 2 3 4 5 chunks +25 lines, -0 lines 0 comments Download
A monitor_language.cc View 1 2 3 4 5 6 7 8 9 1 chunk +136 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Yusuke Sato
Charlie: Can you please check if the structure of this change is good enough as ...
11 years ago (2009-12-08 07:01:54 UTC) #1
Randall Spangler
lgtm
11 years ago (2009-12-08 07:17:54 UTC) #2
satorux1
The code looks good but it's inherently tricky due to complexities coming from libcros (dlopen) ...
11 years ago (2009-12-08 08:41:14 UTC) #3
Yusuke Sato
Thanks! Addressed all issues except VLOG (please check my comment). http://codereview.chromium.org/460107/diff/3001/3003 File chromeos_language.cc (right): http://codereview.chromium.org/460107/diff/3001/3003#newcode102 ...
11 years ago (2009-12-09 06:25:56 UTC) #4
satorux1
LGTM http://codereview.chromium.org/460107/diff/1004/1006 File chromeos_language.cc (right): http://codereview.chromium.org/460107/diff/1004/1006#newcode266 chromeos_language.cc:266: // Points a chromeos::LanguageLibrary object. |language_library_| is used ...
11 years ago (2009-12-09 08:49:04 UTC) #5
Yusuke Sato
Thanks! Fixed all. http://codereview.chromium.org/460107/diff/1004/1006 File chromeos_language.cc (right): http://codereview.chromium.org/460107/diff/1004/1006#newcode266 chromeos_language.cc:266: // Points a chromeos::LanguageLibrary object. |language_library_| ...
11 years ago (2009-12-09 11:05:28 UTC) #6
satorux1
LGTM. Thank you for adding comments.
11 years ago (2009-12-09 12:07:19 UTC) #7
Charlie Lee
lgtm http://codereview.chromium.org/460107/diff/2009/7002 File chromeos_language.cc (right): http://codereview.chromium.org/460107/diff/2009/7002#newcode294 chromeos_language.cc:294: if (!connection->Init()) { You should probably log a ...
11 years ago (2009-12-09 23:26:11 UTC) #8
Yusuke Sato
Thanks. Fixed all. http://codereview.chromium.org/460107/diff/2009/7002 File chromeos_language.cc (right): http://codereview.chromium.org/460107/diff/2009/7002#newcode294 chromeos_language.cc:294: if (!connection->Init()) { On 2009/12/09 23:26:11, ...
11 years ago (2009-12-10 04:40:40 UTC) #9
Charlie Lee
Dave, do you mind taking a quick look at this also. Thanks.
11 years ago (2009-12-11 00:48:29 UTC) #10
DaveMoore
11 years ago (2009-12-11 20:16:59 UTC) #11
LGTM

Powered by Google App Engine
This is Rietveld 408576698