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

Unified Diff: chrome/browser/dom_ui/add_startup_page_handler.cc

Issue 3020021: DOMUI prefs: Add and wire up a stub overlay for adding a startup page. (Closed)
Patch Set: Addresses review comments 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/dom_ui/add_startup_page_handler.h ('k') | chrome/browser/dom_ui/options_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/dom_ui/add_startup_page_handler.cc
diff --git a/chrome/browser/dom_ui/add_startup_page_handler.cc b/chrome/browser/dom_ui/add_startup_page_handler.cc
new file mode 100644
index 0000000000000000000000000000000000000000..e246aba7b486565c12732ef22338f25c9150ed77
--- /dev/null
+++ b/chrome/browser/dom_ui/add_startup_page_handler.cc
@@ -0,0 +1,29 @@
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "chrome/browser/dom_ui/add_startup_page_handler.h"
+
+#include "app/l10n_util.h"
+#include "base/basictypes.h"
+#include "base/values.h"
+#include "grit/chromium_strings.h"
+#include "grit/generated_resources.h"
+
+AddStartupPageHandler::AddStartupPageHandler() {
+}
+
+AddStartupPageHandler::~AddStartupPageHandler() {
+}
+
+void AddStartupPageHandler::GetLocalizedValues(
+ DictionaryValue* localized_strings) {
+ DCHECK(localized_strings);
+ localized_strings->SetString(L"addStartupPageTitle",
+ l10n_util::GetString(IDS_ASI_ADD_TITLE));
+ localized_strings->SetString(L"addStartupPageAddButton",
+ l10n_util::GetString(IDS_ASI_ADD));
+ localized_strings->SetString(L"addStartupPageCancelButton",
+ l10n_util::GetString(IDS_CANCEL));
+}
+
« no previous file with comments | « chrome/browser/dom_ui/add_startup_page_handler.h ('k') | chrome/browser/dom_ui/options_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698