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

Side by Side Diff: chrome/browser/dom_ui/personal_options_handler.cc

Issue 2830036: Advanced (Under the Hood) options panel code review (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 5 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
« no previous file with comments | « chrome/browser/dom_ui/personal_options_handler.h ('k') | chrome/browser/resources/options.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "chrome/browser/dom_ui/personal_options_handler.h"
6
7 #include "app/l10n_util.h"
8 #include "base/basictypes.h"
9 #include "base/values.h"
10 #include "grit/chromium_strings.h"
11 #include "grit/generated_resources.h"
12
13 PersonalOptionsHandler::PersonalOptionsHandler() {
14 }
15
16 PersonalOptionsHandler::~PersonalOptionsHandler() {
17 }
18
19 void PersonalOptionsHandler::GetLocalizedValues(
20 DictionaryValue* localized_strings) {
21 DCHECK(localized_strings);
22 localized_strings->SetString(L"passwordsGroupName",
23 l10n_util::GetString(IDS_OPTIONS_PASSWORDS_GROUP_NAME));
24 localized_strings->SetString(L"passwordsAskToSave",
25 l10n_util::GetString(IDS_OPTIONS_PASSWORDS_ASKTOSAVE));
26 localized_strings->SetString(L"passwordsNeverSave",
27 l10n_util::GetString(IDS_OPTIONS_PASSWORDS_NEVERSAVE));
28 localized_strings->SetString(L"passwordShowPasswords",
29 l10n_util::GetString(IDS_OPTIONS_PASSWORDS_SHOWPASSWORDS));
30 localized_strings->SetString(L"autoFillSettingWindowsGroupName",
31 l10n_util::GetString(IDS_AUTOFILL_SETTING_WINDOWS_GROUP_NAME));
32 localized_strings->SetString(L"autoFillEnable",
33 l10n_util::GetString(IDS_OPTIONS_AUTOFILL_ENABLE));
34 localized_strings->SetString(L"autoFillDisable",
35 l10n_util::GetString(IDS_OPTIONS_AUTOFILL_DISABLE));
36 localized_strings->SetString(L"themesGroupName",
37 l10n_util::GetString(IDS_THEMES_GROUP_NAME));
38 #if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_OPENBSD)
39 localized_strings->SetString(L"appearanceGroupName",
40 l10n_util::GetString(IDS_APPEARANCE_GROUP_NAME));
41 localized_strings->SetString(L"themesGTKButton",
42 l10n_util::GetString(IDS_THEMES_GTK_BUTTON));
43 localized_strings->SetString(L"themesSetClassic",
44 l10n_util::GetString(IDS_THEMES_SET_CLASSIC));
45 localized_strings->SetString(L"showWindowDecorationsRadio",
46 l10n_util::GetString(IDS_SHOW_WINDOW_DECORATIONS_RADIO));
47 localized_strings->SetString(L"hideWindowDecorationsRadio",
48 l10n_util::GetString(IDS_HIDE_WINDOW_DECORATIONS_RADIO));
49 #endif
50 localized_strings->SetString(L"themesResetButton",
51 l10n_util::GetString(IDS_THEMES_RESET_BUTTON));
52 localized_strings->SetString(L"themesDefaultThemeLabel",
53 l10n_util::GetString(IDS_THEMES_DEFAULT_THEME_LABEL));
54 localized_strings->SetString(L"themesGalleryButton",
55 l10n_util::GetString(IDS_THEMES_GALLERY_BUTTON));
56 localized_strings->SetString(L"browsingDataGroupName",
57 l10n_util::GetString(IDS_OPTIONS_BROWSING_DATA_GROUP_NAME));
58 localized_strings->SetString(L"importDataButton",
59 l10n_util::GetString(IDS_OPTIONS_IMPORT_DATA_BUTTON));
60 }
OLDNEW
« no previous file with comments | « chrome/browser/dom_ui/personal_options_handler.h ('k') | chrome/browser/resources/options.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698