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

Issue 3008016: Display the language name and the input method list dynamically. (Closed)

Created:
10 years, 5 months ago by satorux1
Modified:
9 years, 7 months ago
CC:
chromium-reviews, arv (Not doing code reviews), davemoore+watch_chromium.org, ben+cc_chromium.org, dhg
Visibility:
Public.

Description

Display the language name and the input method list dynamically. Before this change, the language name and the input method list were hard-coded in the HTML file. With this change, these values will be displayed based on the underlying data from C++ world. TEST=manually BUG=chromium-os:4573 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=53737

Patch Set 1 #

Total comments: 22

Patch Set 2 : address comments #

Total comments: 2

Patch Set 3 : no using namespace #

Total comments: 6

Patch Set 4 : address comments #

Patch Set 5 : fix display names #

Patch Set 6 : fix comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+119 lines, -17 lines) Patch
M chrome/browser/chromeos/dom_ui/language_options_handler.h View 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/dom_ui/language_options_handler.cc View 1 2 3 4 2 chunks +29 lines, -0 lines 0 comments Download
M chrome/browser/resources/options/chromeos_language_list.js View 1 2 3 3 chunks +9 lines, -4 lines 0 comments Download
M chrome/browser/resources/options/chromeos_language_options.html View 2 3 1 chunk +8 lines, -12 lines 0 comments Download
M chrome/browser/resources/options/chromeos_language_options.js View 1 2 3 4 5 1 chunk +69 lines, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
satorux1
10 years, 5 months ago (2010-07-21 12:31:16 UTC) #1
arv (Not doing code reviews)
http://codereview.chromium.org/3008016/diff/1/4 File chrome/browser/resources/options/chromeos_language_list.js (right): http://codereview.chromium.org/3008016/diff/1/4#newcode55 chrome/browser/resources/options/chromeos_language_list.js:55: addObserver: function(observer) { List is an EventTarget so you ...
10 years, 5 months ago (2010-07-21 17:23:12 UTC) #2
satorux1
Thank you for the great review comments. It was again a good learning experience for ...
10 years, 5 months ago (2010-07-22 08:48:42 UTC) #3
dhg
http://codereview.chromium.org/3008016/diff/6001/7001 File chrome/browser/chromeos/dom_ui/language_options_handler.cc (right): http://codereview.chromium.org/3008016/diff/6001/7001#newcode17 chrome/browser/chromeos/dom_ui/language_options_handler.cc:17: using namespace chromeos; From the style guide: You may ...
10 years, 5 months ago (2010-07-22 15:21:57 UTC) #4
satorux1
http://codereview.chromium.org/3008016/diff/6001/7001 File chrome/browser/chromeos/dom_ui/language_options_handler.cc (right): http://codereview.chromium.org/3008016/diff/6001/7001#newcode17 chrome/browser/chromeos/dom_ui/language_options_handler.cc:17: using namespace chromeos; Good catch! Fixed.
10 years, 5 months ago (2010-07-23 01:29:38 UTC) #5
dhg
the C++ looks fine, but I'm not sure how arv feels about the adding to ...
10 years, 5 months ago (2010-07-23 15:52:07 UTC) #6
arv (Not doing code reviews)
http://codereview.chromium.org/3008016/diff/12001/13004 File chrome/browser/resources/options/chromeos_language_list.js (right): http://codereview.chromium.org/3008016/diff/12001/13004#newcode56 chrome/browser/resources/options/chromeos_language_list.js:56: this.selectedLanguageIndex = this.selectionModel.selectedIndex; This does not seem to provide ...
10 years, 5 months ago (2010-07-23 17:40:44 UTC) #7
satorux1
Thank you for the code review. Addressed the comments. Please take another look. http://codereview.chromium.org/3008016/diff/12001/13003 File ...
10 years, 5 months ago (2010-07-26 05:03:38 UTC) #8
arv (Not doing code reviews)
10 years, 5 months ago (2010-07-26 22:24:26 UTC) #9
lgtm

Powered by Google App Engine
This is Rietveld 408576698