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

Side by Side Diff: chrome/browser/ui/webui/options2/chromeos/keyboard_handler.cc

Issue 10857071: Options: Rename options2 namespace to options. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review fix. Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/ui/webui/options2/chromeos/keyboard_handler.h" 5 #include "chrome/browser/ui/webui/options2/chromeos/keyboard_handler.h"
6 6
7 #include "base/values.h" 7 #include "base/values.h"
8 #include "chrome/browser/chromeos/input_method/xkeyboard.h" 8 #include "chrome/browser/chromeos/input_method/xkeyboard.h"
9 #include "grit/generated_resources.h" 9 #include "grit/generated_resources.h"
10 #include "ui/base/l10n/l10n_util.h" 10 #include "ui/base/l10n/l10n_util.h"
(...skipping 16 matching lines...) Expand all
27 }; 27 };
28 28
29 const char* kDataValuesNames[] = { 29 const char* kDataValuesNames[] = {
30 "xkbRemapSearchKeyToValue", 30 "xkbRemapSearchKeyToValue",
31 "xkbRemapControlKeyToValue", 31 "xkbRemapControlKeyToValue",
32 "xkbRemapAltKeyToValue", 32 "xkbRemapAltKeyToValue",
33 }; 33 };
34 } // namespace 34 } // namespace
35 35
36 namespace chromeos { 36 namespace chromeos {
37 namespace options2 { 37 namespace options {
38 38
39 KeyboardHandler::KeyboardHandler() { 39 KeyboardHandler::KeyboardHandler() {
40 } 40 }
41 41
42 KeyboardHandler::~KeyboardHandler() { 42 KeyboardHandler::~KeyboardHandler() {
43 } 43 }
44 44
45 void KeyboardHandler::GetLocalizedValues(DictionaryValue* localized_strings) { 45 void KeyboardHandler::GetLocalizedValues(DictionaryValue* localized_strings) {
46 DCHECK(localized_strings); 46 DCHECK(localized_strings);
47 47
(...skipping 23 matching lines...) Expand all
71 ListValue* option = new ListValue(); 71 ListValue* option = new ListValue();
72 option->Append(Value::CreateIntegerValue(value)); 72 option->Append(Value::CreateIntegerValue(value));
73 option->Append(Value::CreateStringValue(l10n_util::GetStringUTF16( 73 option->Append(Value::CreateStringValue(l10n_util::GetStringUTF16(
74 message_id))); 74 message_id)));
75 list_value->Append(option); 75 list_value->Append(option);
76 } 76 }
77 localized_strings->Set(kDataValuesNames[i], list_value); 77 localized_strings->Set(kDataValuesNames[i], list_value);
78 } 78 }
79 } 79 }
80 80
81 } // namespace options2 81 } // namespace options
82 } // namespace chromeos 82 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698