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

Issue 449050: Implement "Language Switcher" for Chromium OS. (Closed)

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

Description

Implement "Language Switcher" for Chromium OS. This change enables users to switch their IME (input method) by clicking a menu button on the status area. Basic structure of the code is almost the same as power_menu_button and power_library. Demo: http://dev.chromium.org/chromium-os/chromiumos-design-docs/text-input/demos language_library.{cc,h}: UI-libcros glue. boilerplate code. language_menu_button.{cc,h}: A button on the status area and its drop-down menu. Implements app/menus/menu_model.h interface. status_area_view.{cc,h}: Put the language button on the status area. BUG=494 TEST=Start Chromium OS. Click the menu button on the status area. Then verify that all IMEs you configured (via ibus-setup command, for now) is listed in the drop down menu. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=34540

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 15

Patch Set 5 : '' #

Total comments: 2

Patch Set 6 : '' #

Total comments: 30

Patch Set 7 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+515 lines, -2 lines) Patch
A chrome/browser/chromeos/language_library.h View 1 2 3 4 5 6 1 chunk +86 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/language_library.cc View 1 2 3 4 5 6 1 chunk +100 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/language_menu_button.h View 1 2 3 4 5 6 1 chunk +69 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/language_menu_button.cc View 1 2 3 4 5 6 1 chunk +241 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/status_area_view.h View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/status_area_view.cc View 4 5 6 6 chunks +13 lines, -2 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Yusuke Sato
Charlie, Can I ask you to review this change briefly? I've implemented a status area ...
11 years ago (2009-12-08 06:59:56 UTC) #1
satorux1
http://codereview.chromium.org/449050/diff/6001/7004 File chrome/browser/chromeos/language_library.h (right): http://codereview.chromium.org/449050/diff/6001/7004#newcode43 chrome/browser/chromeos/language_library.h:43: void ChangeLanguage(LanguageCategory category, const std::string& id); Could you add ...
11 years ago (2009-12-08 12:20:32 UTC) #2
Yusuke Sato
http://codereview.chromium.org/449050/diff/6001/7004 File chrome/browser/chromeos/language_library.h (right): http://codereview.chromium.org/449050/diff/6001/7004#newcode43 chrome/browser/chromeos/language_library.h:43: void ChangeLanguage(LanguageCategory category, const std::string& id); On 2009/12/08 12:20:32, ...
11 years ago (2009-12-09 06:50:09 UTC) #3
satorux1
LGTM. http://codereview.chromium.org/449050/diff/7015/7016 File chrome/browser/chromeos/language_menu_button.cc (right): http://codereview.chromium.org/449050/diff/7015/7016#newcode224 chrome/browser/chromeos/language_menu_button.cc:224: // Don't delete |current_language|. We don't have the ...
11 years ago (2009-12-09 08:21:33 UTC) #4
Yusuke Sato
http://codereview.chromium.org/449050/diff/7015/7016 File chrome/browser/chromeos/language_menu_button.cc (right): http://codereview.chromium.org/449050/diff/7015/7016#newcode224 chrome/browser/chromeos/language_menu_button.cc:224: // Don't delete |current_language|. We don't have the ownership ...
11 years ago (2009-12-09 08:25:04 UTC) #5
satorux1
LGTM. On 2009/12/09 08:25:04, Yusuke Sato wrote: > http://codereview.chromium.org/449050/diff/7015/7016 > File chrome/browser/chromeos/language_menu_button.cc (right): > > ...
11 years ago (2009-12-09 12:08:00 UTC) #6
Charlie Lee
Sorry for the delayed reply. Some comments below. http://codereview.chromium.org/449050/diff/10001/10004 File chrome/browser/chromeos/language_library.cc (right): http://codereview.chromium.org/449050/diff/10001/10004#newcode98 chrome/browser/chromeos/language_library.cc:98: LOG(ERROR) ...
11 years ago (2009-12-11 00:41:31 UTC) #7
Charlie Lee
After you check in the cros changes in chromeos, don't forget to modify cros_deps/DEPS with ...
11 years ago (2009-12-11 00:48:53 UTC) #8
Yusuke Sato
Thanks for the detailed review! Fixed all. http://codereview.chromium.org/449050/diff/10001/10004 File chrome/browser/chromeos/language_library.cc (right): http://codereview.chromium.org/449050/diff/10001/10004#newcode98 chrome/browser/chromeos/language_library.cc:98: LOG(ERROR) << ...
11 years ago (2009-12-11 15:00:37 UTC) #9
Charlie Lee
LGTM, but please send me another review, when the cros changes are in and you ...
11 years ago (2009-12-11 20:12:49 UTC) #10
Yusuke Sato
11 years ago (2009-12-12 06:18:44 UTC) #11
Sure. I'll send you a DEPS patch later.

--Yusuke

On Sat, Dec 12, 2009 at 5:12 AM,  <chocobo@chromium.org> wrote:
> LGTM, but please send me another review, when the cros changes are in and
> you
> have added cros_deps/DEPS to this change. thanks.
>
> http://codereview.chromium.org/449050
>

Powered by Google App Engine
This is Rietveld 408576698