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

Side by Side Diff: chrome/browser/extensions/extensions_ui.cc

Issue 3817006: Change a raw "Google Chrome" to $PRODUCT_NAME in generated_resources.grd. (Closed)
Patch Set: Created 10 years, 2 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
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 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 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/extensions/extensions_ui.h" 5 #include "chrome/browser/extensions/extensions_ui.h"
6 6
7 #include "app/l10n_util.h" 7 #include "app/l10n_util.h"
8 #include "app/resource_bundle.h" 8 #include "app/resource_bundle.h"
9 #include "base/base64.h" 9 #include "base/base64.h"
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 l10n_util::GetStringUTF16(IDS_EXTENSIONS_INSPECT_POPUPS_INSTRUCTIONS)); 139 l10n_util::GetStringUTF16(IDS_EXTENSIONS_INSPECT_POPUPS_INSTRUCTIONS));
140 localized_strings.SetString("disable", 140 localized_strings.SetString("disable",
141 l10n_util::GetStringUTF16(IDS_EXTENSIONS_DISABLE)); 141 l10n_util::GetStringUTF16(IDS_EXTENSIONS_DISABLE));
142 localized_strings.SetString("enable", 142 localized_strings.SetString("enable",
143 l10n_util::GetStringUTF16(IDS_EXTENSIONS_ENABLE)); 143 l10n_util::GetStringUTF16(IDS_EXTENSIONS_ENABLE));
144 localized_strings.SetString("enableIncognito", 144 localized_strings.SetString("enableIncognito",
145 l10n_util::GetStringUTF16(IDS_EXTENSIONS_ENABLE_INCOGNITO)); 145 l10n_util::GetStringUTF16(IDS_EXTENSIONS_ENABLE_INCOGNITO));
146 localized_strings.SetString("allowFileAccess", 146 localized_strings.SetString("allowFileAccess",
147 l10n_util::GetStringUTF16(IDS_EXTENSIONS_ALLOW_FILE_ACCESS)); 147 l10n_util::GetStringUTF16(IDS_EXTENSIONS_ALLOW_FILE_ACCESS));
148 localized_strings.SetString("incognitoWarning", 148 localized_strings.SetString("incognitoWarning",
149 l10n_util::GetStringUTF16(IDS_EXTENSIONS_INCOGNITO_WARNING)); 149 l10n_util::GetStringUTF16(IDS_EXTENSIONS_INCOGNITO_WARNING,
150 l10n_util::GetString(IDS_PRODUCT_NAME)));
150 localized_strings.SetString("reload", 151 localized_strings.SetString("reload",
151 l10n_util::GetStringUTF16(IDS_EXTENSIONS_RELOAD)); 152 l10n_util::GetStringUTF16(IDS_EXTENSIONS_RELOAD));
152 localized_strings.SetString("uninstall", 153 localized_strings.SetString("uninstall",
153 l10n_util::GetStringUTF16(IDS_EXTENSIONS_UNINSTALL)); 154 l10n_util::GetStringUTF16(IDS_EXTENSIONS_UNINSTALL));
154 localized_strings.SetString("options", 155 localized_strings.SetString("options",
155 l10n_util::GetStringUTF16(IDS_EXTENSIONS_OPTIONS)); 156 l10n_util::GetStringUTF16(IDS_EXTENSIONS_OPTIONS));
156 localized_strings.SetString("packDialogTitle", 157 localized_strings.SetString("packDialogTitle",
157 l10n_util::GetStringUTF16(IDS_EXTENSION_PACK_DIALOG_TITLE)); 158 l10n_util::GetStringUTF16(IDS_EXTENSION_PACK_DIALOG_TITLE));
158 localized_strings.SetString("packDialogHeading", 159 localized_strings.SetString("packDialogHeading",
159 l10n_util::GetStringUTF16(IDS_EXTENSION_PACK_DIALOG_HEADING)); 160 l10n_util::GetStringUTF16(IDS_EXTENSION_PACK_DIALOG_HEADING));
(...skipping 773 matching lines...) Expand 10 before | Expand all | Expand 10 after
933 // static 934 // static
934 RefCountedMemory* ExtensionsUI::GetFaviconResourceBytes() { 935 RefCountedMemory* ExtensionsUI::GetFaviconResourceBytes() {
935 return ResourceBundle::GetSharedInstance(). 936 return ResourceBundle::GetSharedInstance().
936 LoadDataResourceBytes(IDR_PLUGIN); 937 LoadDataResourceBytes(IDR_PLUGIN);
937 } 938 }
938 939
939 // static 940 // static
940 void ExtensionsUI::RegisterUserPrefs(PrefService* prefs) { 941 void ExtensionsUI::RegisterUserPrefs(PrefService* prefs) {
941 prefs->RegisterBooleanPref(prefs::kExtensionsUIDeveloperMode, false); 942 prefs->RegisterBooleanPref(prefs::kExtensionsUIDeveloperMode, false);
942 } 943 }
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698