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

Side by Side Diff: chrome/browser/ui/webui/options2/manage_profile_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: 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_MANAGE_PROFILE_HANDLER2_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS2_MANAGE_PROFILE_HANDLER2_H_
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS2_MANAGE_PROFILE_HANDLER2_H_ 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS2_MANAGE_PROFILE_HANDLER2_H_
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/ui/webui/options2/options_ui2.h" 9 #include "chrome/browser/ui/webui/options2/options_ui2.h"
10 10
11 namespace options2 { 11 namespace options2 {
12 12
13 // Chrome personal stuff profiles manage overlay UI handler. 13 // Chrome personal stuff profiles manage overlay UI handler.
14 class ManageProfileHandler : public OptionsPageUIHandler { 14 class ManageProfileHandler : public OptionsPageUIHandler {
15 public: 15 public:
16 ManageProfileHandler(); 16 ManageProfileHandler();
17 virtual ~ManageProfileHandler(); 17 virtual ~ManageProfileHandler();
18 18
19 // OptionsPageUIHandler: 19 // OptionsPageUIHandler:
20 virtual void GetLocalizedValues( 20 virtual void GetLocalizedValues(
21 base::DictionaryValue* localized_strings) OVERRIDE; 21 base::DictionaryValue* localized_strings) OVERRIDE;
22 virtual void Initialize() OVERRIDE; 22 virtual void Initialize() OVERRIDE;
23 virtual void SendPageValues() OVERRIDE;
23 24
24 // WebUIMessageHandler: 25 // WebUIMessageHandler:
25 virtual void RegisterMessages() OVERRIDE; 26 virtual void RegisterMessages() OVERRIDE;
26 27
27 // content::NotificationObserver: 28 // content::NotificationObserver:
28 virtual void Observe(int type, 29 virtual void Observe(int type,
29 const content::NotificationSource& source, 30 const content::NotificationSource& source,
30 const content::NotificationDetails& details) OVERRIDE; 31 const content::NotificationDetails& details) OVERRIDE;
31 32
32 private: 33 private:
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 78
78 // URL for the current profile's GAIA picture. 79 // URL for the current profile's GAIA picture.
79 std::string gaia_picture_url_; 80 std::string gaia_picture_url_;
80 81
81 DISALLOW_COPY_AND_ASSIGN(ManageProfileHandler); 82 DISALLOW_COPY_AND_ASSIGN(ManageProfileHandler);
82 }; 83 };
83 84
84 } // namespace options2 85 } // namespace options2
85 86
86 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_MANAGE_PROFILE_HANDLER2_H_ 87 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_MANAGE_PROFILE_HANDLER2_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698