OLD | NEW |
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_OPTIONS_MANAGE_PROFILE_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_MANAGE_PROFILE_HANDLER_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_MANAGE_PROFILE_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_MANAGE_PROFILE_HANDLER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "chrome/browser/ui/webui/options/options_ui.h" | 9 #include "chrome/browser/ui/webui/options/options_ui.h" |
10 | 10 |
11 // Chrome personal stuff profiles manage overlay UI handler. | 11 // Chrome personal stuff profiles manage overlay UI handler. |
12 class ManageProfileHandler : public OptionsPageUIHandler { | 12 class ManageProfileHandler : public OptionsPageUIHandler { |
13 public: | 13 public: |
14 ManageProfileHandler(); | 14 ManageProfileHandler(); |
15 virtual ~ManageProfileHandler(); | 15 virtual ~ManageProfileHandler(); |
16 | 16 |
17 // OptionsPageUIHandler: | 17 // OptionsPageUIHandler: |
18 virtual void GetLocalizedValues( | 18 virtual void GetLocalizedValues( |
19 base::DictionaryValue* localized_strings) OVERRIDE; | 19 base::DictionaryValue* localized_strings) OVERRIDE; |
20 virtual void Initialize() OVERRIDE; | 20 virtual void InitializeHandler() OVERRIDE; |
21 | 21 |
22 // WebUIMessageHandler: | 22 // WebUIMessageHandler: |
23 virtual void RegisterMessages() OVERRIDE; | 23 virtual void RegisterMessages() OVERRIDE; |
24 | 24 |
25 // content::NotificationObserver: | 25 // content::NotificationObserver: |
26 virtual void Observe(int type, | 26 virtual void Observe(int type, |
27 const content::NotificationSource& source, | 27 const content::NotificationSource& source, |
28 const content::NotificationDetails& details) OVERRIDE; | 28 const content::NotificationDetails& details) OVERRIDE; |
29 | 29 |
30 private: | 30 private: |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 // Send all profile icons to the overlay. | 73 // Send all profile icons to the overlay. |
74 void SendProfileIcons(); | 74 void SendProfileIcons(); |
75 | 75 |
76 // URL for the current profile's GAIA picture. | 76 // URL for the current profile's GAIA picture. |
77 std::string gaia_picture_url_; | 77 std::string gaia_picture_url_; |
78 | 78 |
79 DISALLOW_COPY_AND_ASSIGN(ManageProfileHandler); | 79 DISALLOW_COPY_AND_ASSIGN(ManageProfileHandler); |
80 }; | 80 }; |
81 | 81 |
82 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_MANAGE_PROFILE_HANDLER_H_ | 82 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_MANAGE_PROFILE_HANDLER_H_ |
OLD | NEW |