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

Issue 2958003: First cut at adding the Languages and Input options sub page. (Closed)

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

Description

First cut at adding Chromium OS's "Languages and Input" options sub page. This is more like a boilerplate place holder. Will add the contents in a separate change. BUG=chromiumo-os:4573 TEST=manually Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=52290

Patch Set 1 #

Total comments: 12

Patch Set 2 : address comments #

Patch Set 3 : make it a comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+85 lines, -1 line) Patch
A chrome/browser/chromeos/dom_ui/language_options_handler.h View 1 1 chunk +25 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/dom_ui/language_options_handler.cc View 1 1 chunk +45 lines, -0 lines 0 comments Download
M chrome/browser/dom_ui/options_ui.cc View 1 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/options.html View 1 2 chunks +6 lines, -0 lines 0 comments Download
A chrome/browser/resources/options/chromeos_language_options.html View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/resources/options/chromeos_system_options.js View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/chrome_browser.gypi View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
satorux1
10 years, 5 months ago (2010-07-09 11:06:03 UTC) #1
dhg
http://codereview.chromium.org/2958003/diff/1/2 File chrome/browser/chromeos/dom_ui/language_options_handler.cc (right): http://codereview.chromium.org/2958003/diff/1/2#newcode22 chrome/browser/chromeos/dom_ui/language_options_handler.cc:22: localized_strings->SetString( On all of these, the first param should ...
10 years, 5 months ago (2010-07-09 16:02:59 UTC) #2
arv (Not doing code reviews)
FYI http://codereview.chromium.org/2958003/diff/1/2 File chrome/browser/chromeos/dom_ui/language_options_handler.cc (right): http://codereview.chromium.org/2958003/diff/1/2#newcode9 chrome/browser/chromeos/dom_ui/language_options_handler.cc:9: #include "chrome/browser/chromeos/input_method/input_method_util.h" I don't think you are using ...
10 years, 5 months ago (2010-07-09 17:04:32 UTC) #3
satorux1
Thank you for the code review. I've addressed all comments. Please take another look. http://codereview.chromium.org/2958003/diff/1/2 ...
10 years, 5 months ago (2010-07-13 11:56:30 UTC) #4
satorux1
Erik, Could you take another look? David seems to be ooo this week. On 2010/07/13 ...
10 years, 5 months ago (2010-07-14 00:39:54 UTC) #5
arv (Not doing code reviews)
LGTM erik On Tue, Jul 13, 2010 at 17:39, <satorux@chromium.org> wrote: > Erik, > > ...
10 years, 5 months ago (2010-07-14 00:50:06 UTC) #6
satorux1
10 years, 5 months ago (2010-07-14 01:03:55 UTC) #7
Thanks! Will submit once the tree is opened.

On 2010/07/14 00:50:06, arv wrote:
> LGTM
> 
> erik
> 
> 
> 
> On Tue, Jul 13, 2010 at 17:39,  <mailto:satorux@chromium.org> wrote:
> > Erik,
> >
> > Could you take another look? David seems to be ooo this week.
> >
> > On 2010/07/13 11:56:30, satorux1 wrote:
> >>
> >> Thank you for the code review. I've addressed all comments. Please take
> >
> > another
> >>
> >> look.
> >
> >> http://codereview.chromium.org/2958003/diff/1/2
> >> File chrome/browser/chromeos/dom_ui/language_options_handler.cc (right):
> >
> >> http://codereview.chromium.org/2958003/diff/1/2#newcode9
> >> chrome/browser/chromeos/dom_ui/language_options_handler.cc:9: #include
> >> "chrome/browser/chromeos/input_method/input_method_util.h"
> >> On 2010/07/09 17:04:32, arv wrote:
> >> > I don't think you are using this one?
> >
> >> Done.
> >
> >> http://codereview.chromium.org/2958003/diff/1/2#newcode22
> >> chrome/browser/chromeos/dom_ui/language_options_handler.cc:22:
> >> localized_strings->SetString(
> >> On 2010/07/09 16:03:00, dhg wrote:
> >> > On all of these, the first param should be on the line above (see c++
> >> > style
> >> > guide Function_Calls). &nbsp;the first param is only supposed to be on
the
> >> > next
> >> line
> >> > when the function name is too long.
> >
> >> Done.
> >
> >> http://codereview.chromium.org/2958003/diff/1/3
> >> File chrome/browser/chromeos/dom_ui/language_options_handler.h (right):
> >
> >> http://codereview.chromium.org/2958003/diff/1/3#newcode8
> >> chrome/browser/chromeos/dom_ui/language_options_handler.h:8: #include
> >> "base/values.h"
> >> On 2010/07/09 17:04:32, arv wrote:
> >> > You don't need to include this here. You can Just declare
> >> > DictionaryValue
> >> since
> >> > you are only passing it in as an argument to a function.
> >
> >> Done.
> >
> >> http://codereview.chromium.org/2958003/diff/1/4
> >> File chrome/browser/dom_ui/core_options_handler.cc (right):
> >
> >> http://codereview.chromium.org/2958003/diff/1/4#newcode57
> >> chrome/browser/dom_ui/core_options_handler.cc:57:
> >> l10n_util::GetString(IDS_OPTIONS_SETTINGS_LANGUAGES_DIALOG_TITLE));
> >> On 2010/07/09 16:03:00, dhg wrote:
> >> > This should be moved to your handler.
> >
> >> Done.
> >
> >> http://codereview.chromium.org/2958003/diff/1/7
> >> File chrome/browser/resources/options/chromeos_language_options.html
> >> (right):
> >
> >> http://codereview.chromium.org/2958003/diff/1/7#newcode2
> >> chrome/browser/resources/options/chromeos_language_options.html:2: <h1
> >> i18n-content="languagePage"></h1>
> >> On 2010/07/09 16:03:00, dhg wrote:
> >> > Intentionally left blank?
> >
> >> Yes, the contents will be implemented in a separate CL. Added a comment.
> >
> >> http://codereview.chromium.org/2958003/diff/1/8
> >> File chrome/browser/resources/options/chromeos_language_options.js
> >> (right):
> >
> >> http://codereview.chromium.org/2958003/diff/1/8#newcode3
> >> chrome/browser/resources/options/chromeos_language_options.js:3: // found
> >> in
> >
> > the
> >>
> >> LICENSE file.
> >> On 2010/07/09 16:03:00, dhg wrote:
> >> > I Don't think you need this class at all. &nbsp;You should be able to
just
> >> > create
> >> an
> >> > OptionsPage. &nbsp; Take a look at what labs is doing.
> >
> >> Removed. I'm expecting that Language Options will be complex (see the
> >> current
> >> "Language and Input" dialog), hence we'll likely need a class. But let's
> >> add
> >
> > it
> >>
> >> when it becomes necessary. :)
> >
> >
> >
> > http://codereview.chromium.org/2958003/show
> >
>

Powered by Google App Engine
This is Rietveld 408576698