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

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

Issue 3086017: Add tabs to passwords and exceptions subpage (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: add todo for mac Created 10 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
« no previous file with comments | « no previous file | 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')
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/dom_ui/passwords_exceptions_handler.h" 5 #include "chrome/browser/dom_ui/passwords_exceptions_handler.h"
6 6
7 #include "app/l10n_util.h" 7 #include "app/l10n_util.h"
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/values.h" 9 #include "base/values.h"
10 #include "chrome/browser/profile.h" 10 #include "chrome/browser/profile.h"
11 #include "chrome/common/url_constants.h" 11 #include "chrome/common/url_constants.h"
12 #include "grit/generated_resources.h" 12 #include "grit/generated_resources.h"
13 #include "grit/locale_settings.h" 13 #include "grit/locale_settings.h"
14 14
15 PasswordsExceptionsHandler::PasswordsExceptionsHandler() { 15 PasswordsExceptionsHandler::PasswordsExceptionsHandler() {
16 } 16 }
17 17
18 PasswordsExceptionsHandler::~PasswordsExceptionsHandler() { 18 PasswordsExceptionsHandler::~PasswordsExceptionsHandler() {
19 } 19 }
20 20
21 void PasswordsExceptionsHandler::GetLocalizedValues( 21 void PasswordsExceptionsHandler::GetLocalizedValues(
22 DictionaryValue* localized_strings) { 22 DictionaryValue* localized_strings) {
23 DCHECK(localized_strings); 23 DCHECK(localized_strings);
24 24
25 localized_strings->SetString(L"passwordsExceptionsTitle", 25 localized_strings->SetString(L"passwordsExceptionsTitle",
26 l10n_util::GetString(IDS_PASSWORDS_EXCEPTIONS_WINDOW_TITLE)); 26 l10n_util::GetString(IDS_PASSWORDS_EXCEPTIONS_WINDOW_TITLE));
27 localized_strings->SetString(L"passwordsTabTitle",
28 l10n_util::GetString(IDS_PASSWORDS_SHOW_PASSWORDS_TAB_TITLE));
29 localized_strings->SetString(L"exceptionsTabTitle",
30 l10n_util::GetString(IDS_PASSWORDS_EXCEPTIONS_TAB_TITLE));
27 } 31 }
28 32
29 void PasswordsExceptionsHandler::RegisterMessages() { 33 void PasswordsExceptionsHandler::RegisterMessages() {
30 } 34 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/options.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698