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

Side by Side Diff: chrome/browser/ui/webui/options2/password_manager_handler2.h

Issue 9693032: [uber page] Split up initialization of handlers from initialization of webui pages (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: code shuffling Created 8 years, 9 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS2_PASSWORD_MANAGER_HANDLER2_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS2_PASSWORD_MANAGER_HANDLER2_H_
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS2_PASSWORD_MANAGER_HANDLER2_H_ 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS2_PASSWORD_MANAGER_HANDLER2_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 12 matching lines...) Expand all
23 namespace options2 { 23 namespace options2 {
24 24
25 class PasswordManagerHandler : public OptionsPageUIHandler, 25 class PasswordManagerHandler : public OptionsPageUIHandler,
26 public PasswordStore::Observer { 26 public PasswordStore::Observer {
27 public: 27 public:
28 PasswordManagerHandler(); 28 PasswordManagerHandler();
29 virtual ~PasswordManagerHandler(); 29 virtual ~PasswordManagerHandler();
30 30
31 // OptionsPageUIHandler implementation. 31 // OptionsPageUIHandler implementation.
32 virtual void GetLocalizedValues(DictionaryValue* localized_strings) OVERRIDE; 32 virtual void GetLocalizedValues(DictionaryValue* localized_strings) OVERRIDE;
33 virtual void Initialize() OVERRIDE; 33 virtual void InitializeHandler() OVERRIDE;
34 virtual void RegisterMessages() OVERRIDE; 34 virtual void RegisterMessages() OVERRIDE;
35 35
36 // PasswordStore::Observer implementation. 36 // PasswordStore::Observer implementation.
37 virtual void OnLoginsChanged() OVERRIDE; 37 virtual void OnLoginsChanged() OVERRIDE;
38 38
39 // content::NotificationObserver implementation. 39 // content::NotificationObserver implementation.
40 virtual void Observe(int type, 40 virtual void Observe(int type,
41 const content::NotificationSource& source, 41 const content::NotificationSource& source,
42 const content::NotificationDetails& details) OVERRIDE; 42 const content::NotificationDetails& details) OVERRIDE;
43 43
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 130
131 // Whether to show stored passwords or not. 131 // Whether to show stored passwords or not.
132 BooleanPrefMember show_passwords_; 132 BooleanPrefMember show_passwords_;
133 133
134 DISALLOW_COPY_AND_ASSIGN(PasswordManagerHandler); 134 DISALLOW_COPY_AND_ASSIGN(PasswordManagerHandler);
135 }; 135 };
136 136
137 } // namespace options2 137 } // namespace options2
138 138
139 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_PASSWORD_MANAGER_HANDLER2_H_ 139 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_PASSWORD_MANAGER_HANDLER2_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698