Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_PROFILES_MANAGE_HANDLER_H_ | |
| 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_PROFILES_MANAGE_HANDLER_H_ | |
| 7 #pragma once | |
| 8 | |
| 9 #include "chrome/browser/ui/webui/options/options_ui.h" | |
| 10 | |
| 11 // Chrome personal stuff profiles manage overlay UI handler. | |
| 12 class ProfilesManageHandler : public OptionsPageUIHandler { | |
| 13 public: | |
| 14 ProfilesManageHandler(); | |
| 15 virtual ~ProfilesManageHandler(); | |
| 16 | |
| 17 // OptionsPageUIHandler: | |
| 18 virtual void GetLocalizedValues(base::DictionaryValue* localized_strings); | |
| 19 virtual void Initialize(); | |
| 20 | |
| 21 // WebUIMessageHandler: | |
| 22 virtual void RegisterMessages(); | |
| 23 | |
| 24 // NotificationObserver: | |
| 25 virtual void Observe(int type, | |
| 26 const NotificationSource& source, | |
| 27 const NotificationDetails& details); | |
| 28 | |
| 29 private: | |
| 30 void SendProfileIcons(); | |
|
James Hawkins
2011/07/19 20:22:09
Document methods.
| |
| 31 void SendProfileNames(); | |
| 32 void SetProfileNameAndIcon(const base::ListValue* args); | |
| 33 | |
| 34 DISALLOW_COPY_AND_ASSIGN(ProfilesManageHandler); | |
| 35 }; | |
| 36 | |
| 37 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_PROFILES_MANAGE_HANDLER_H_ | |
| 38 | |
| OLD | NEW |