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

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

Issue 3177023: Implement Password Exceptions Tab (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: sync 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/dom_ui/passwords_exceptions_handler.h » ('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/options_ui.h" 5 #include "chrome/browser/dom_ui/options_ui.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "app/resource_bundle.h" 9 #include "app/resource_bundle.h"
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 11 matching lines...) Expand all
22 #include "chrome/browser/dom_ui/autofill_edit_address_handler.h" 22 #include "chrome/browser/dom_ui/autofill_edit_address_handler.h"
23 #include "chrome/browser/dom_ui/autofill_options_handler.h" 23 #include "chrome/browser/dom_ui/autofill_options_handler.h"
24 #include "chrome/browser/dom_ui/browser_options_handler.h" 24 #include "chrome/browser/dom_ui/browser_options_handler.h"
25 #include "chrome/browser/dom_ui/clear_browser_data_handler.h" 25 #include "chrome/browser/dom_ui/clear_browser_data_handler.h"
26 #include "chrome/browser/dom_ui/content_settings_handler.h" 26 #include "chrome/browser/dom_ui/content_settings_handler.h"
27 #include "chrome/browser/dom_ui/core_options_handler.h" 27 #include "chrome/browser/dom_ui/core_options_handler.h"
28 #include "chrome/browser/dom_ui/dom_ui_theme_source.h" 28 #include "chrome/browser/dom_ui/dom_ui_theme_source.h"
29 #include "chrome/browser/dom_ui/font_settings_handler.h" 29 #include "chrome/browser/dom_ui/font_settings_handler.h"
30 #include "chrome/browser/dom_ui/import_data_handler.h" 30 #include "chrome/browser/dom_ui/import_data_handler.h"
31 #include "chrome/browser/dom_ui/passwords_exceptions_handler.h" 31 #include "chrome/browser/dom_ui/passwords_exceptions_handler.h"
32 #include "chrome/browser/dom_ui/passwords_remove_all_handler.h"
32 #include "chrome/browser/dom_ui/personal_options_handler.h" 33 #include "chrome/browser/dom_ui/personal_options_handler.h"
33 #include "chrome/browser/dom_ui/search_engine_manager_handler.h" 34 #include "chrome/browser/dom_ui/search_engine_manager_handler.h"
34 #include "chrome/browser/dom_ui/stop_syncing_handler.h" 35 #include "chrome/browser/dom_ui/stop_syncing_handler.h"
35 #include "chrome/browser/dom_ui/sync_options_handler.h" 36 #include "chrome/browser/dom_ui/sync_options_handler.h"
36 #include "chrome/browser/metrics/user_metrics.h" 37 #include "chrome/browser/metrics/user_metrics.h"
37 #include "chrome/browser/pref_service.h" 38 #include "chrome/browser/pref_service.h"
38 #include "chrome/browser/profile.h" 39 #include "chrome/browser/profile.h"
39 #include "chrome/browser/tab_contents/tab_contents.h" 40 #include "chrome/browser/tab_contents/tab_contents.h"
40 #include "chrome/browser/tab_contents/tab_contents_delegate.h" 41 #include "chrome/browser/tab_contents/tab_contents_delegate.h"
41 #include "chrome/common/jstemplate_builder.h" 42 #include "chrome/common/jstemplate_builder.h"
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 133
133 AddOptionsPageUIHandler(localized_strings, new AddStartupPageHandler()); 134 AddOptionsPageUIHandler(localized_strings, new AddStartupPageHandler());
134 AddOptionsPageUIHandler(localized_strings, new AdvancedOptionsHandler()); 135 AddOptionsPageUIHandler(localized_strings, new AdvancedOptionsHandler());
135 AddOptionsPageUIHandler(localized_strings, new AutoFillEditAddressHandler()); 136 AddOptionsPageUIHandler(localized_strings, new AutoFillEditAddressHandler());
136 AddOptionsPageUIHandler(localized_strings, new AutoFillOptionsHandler()); 137 AddOptionsPageUIHandler(localized_strings, new AutoFillOptionsHandler());
137 AddOptionsPageUIHandler(localized_strings, new BrowserOptionsHandler()); 138 AddOptionsPageUIHandler(localized_strings, new BrowserOptionsHandler());
138 AddOptionsPageUIHandler(localized_strings, new ClearBrowserDataHandler()); 139 AddOptionsPageUIHandler(localized_strings, new ClearBrowserDataHandler());
139 AddOptionsPageUIHandler(localized_strings, new ContentSettingsHandler()); 140 AddOptionsPageUIHandler(localized_strings, new ContentSettingsHandler());
140 AddOptionsPageUIHandler(localized_strings, new FontSettingsHandler()); 141 AddOptionsPageUIHandler(localized_strings, new FontSettingsHandler());
141 AddOptionsPageUIHandler(localized_strings, new PasswordsExceptionsHandler()); 142 AddOptionsPageUIHandler(localized_strings, new PasswordsExceptionsHandler());
143 AddOptionsPageUIHandler(localized_strings, new PasswordsRemoveAllHandler());
142 AddOptionsPageUIHandler(localized_strings, new PersonalOptionsHandler()); 144 AddOptionsPageUIHandler(localized_strings, new PersonalOptionsHandler());
143 AddOptionsPageUIHandler(localized_strings, new SearchEngineManagerHandler()); 145 AddOptionsPageUIHandler(localized_strings, new SearchEngineManagerHandler());
144 AddOptionsPageUIHandler(localized_strings, new ImportDataHandler()); 146 AddOptionsPageUIHandler(localized_strings, new ImportDataHandler());
145 AddOptionsPageUIHandler(localized_strings, new StopSyncingHandler()); 147 AddOptionsPageUIHandler(localized_strings, new StopSyncingHandler());
146 AddOptionsPageUIHandler(localized_strings, new SyncOptionsHandler()); 148 AddOptionsPageUIHandler(localized_strings, new SyncOptionsHandler());
147 #if defined(OS_CHROMEOS) 149 #if defined(OS_CHROMEOS)
148 AddOptionsPageUIHandler(localized_strings, new AboutPageHandler()); 150 AddOptionsPageUIHandler(localized_strings, new AboutPageHandler());
149 AddOptionsPageUIHandler(localized_strings, 151 AddOptionsPageUIHandler(localized_strings,
150 new chromeos::AccountsOptionsHandler()); 152 new chromeos::AccountsOptionsHandler());
151 AddOptionsPageUIHandler(localized_strings, new InternetOptionsHandler()); 153 AddOptionsPageUIHandler(localized_strings, new InternetOptionsHandler());
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 (static_cast<OptionsPageUIHandler*>(*iter))->Initialize(); 203 (static_cast<OptionsPageUIHandler*>(*iter))->Initialize();
202 } 204 }
203 } 205 }
204 206
205 void OptionsUI::AddOptionsPageUIHandler(DictionaryValue* localized_strings, 207 void OptionsUI::AddOptionsPageUIHandler(DictionaryValue* localized_strings,
206 OptionsPageUIHandler* handler) { 208 OptionsPageUIHandler* handler) {
207 DCHECK(handler); 209 DCHECK(handler);
208 handler->GetLocalizedValues(localized_strings); 210 handler->GetLocalizedValues(localized_strings);
209 AddMessageHandler(handler->Attach(this)); 211 AddMessageHandler(handler->Attach(this));
210 } 212 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/dom_ui/passwords_exceptions_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698