Chromium Code Reviews| Index: chrome/browser/ui/webui/options/profiles_manage_handler.h |
| diff --git a/chrome/browser/ui/webui/options/profiles_manage_handler.h b/chrome/browser/ui/webui/options/profiles_manage_handler.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..9f9a32b985716bf7155b58bae7c5ad7d61e1db30 |
| --- /dev/null |
| +++ b/chrome/browser/ui/webui/options/profiles_manage_handler.h |
| @@ -0,0 +1,38 @@ |
| +// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_PROFILES_MANAGE_HANDLER_H_ |
| +#define CHROME_BROWSER_UI_WEBUI_OPTIONS_PROFILES_MANAGE_HANDLER_H_ |
| +#pragma once |
| + |
| +#include "chrome/browser/ui/webui/options/options_ui.h" |
| + |
| +// Chrome personal stuff profiles manage overlay UI handler. |
| +class ProfilesManageHandler : public OptionsPageUIHandler { |
| + public: |
| + ProfilesManageHandler(); |
| + virtual ~ProfilesManageHandler(); |
| + |
| + // OptionsPageUIHandler: |
| + virtual void GetLocalizedValues(base::DictionaryValue* localized_strings); |
| + virtual void Initialize(); |
| + |
| + // WebUIMessageHandler: |
| + virtual void RegisterMessages(); |
| + |
| + // NotificationObserver: |
| + virtual void Observe(int type, |
| + const NotificationSource& source, |
| + const NotificationDetails& details); |
| + |
| + private: |
| + void SendProfileIcons(); |
|
James Hawkins
2011/07/19 20:22:09
Document methods.
|
| + void SendProfileNames(); |
| + void SetProfileNameAndIcon(const base::ListValue* args); |
| + |
| + DISALLOW_COPY_AND_ASSIGN(ProfilesManageHandler); |
| +}; |
| + |
| +#endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_PROFILES_MANAGE_HANDLER_H_ |
| + |