Chromium Code Reviews| Index: chrome/browser/ui/webui/options/profiles_delete_handler.h |
| diff --git a/chrome/browser/ui/webui/options/profiles_delete_handler.h b/chrome/browser/ui/webui/options/profiles_delete_handler.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..8743b9b340f2f138a97748b65c66ae6b4ec0965f |
| --- /dev/null |
| +++ b/chrome/browser/ui/webui/options/profiles_delete_handler.h |
| @@ -0,0 +1,30 @@ |
| +// 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_DELETE_HANDLER_H_ |
| +#define CHROME_BROWSER_UI_WEBUI_OPTIONS_PROFILES_DELETE_HANDLER_H_ |
| + |
| +#include "chrome/browser/ui/webui/options/options_ui.h" |
| + |
| +// Chrome personal stuff profiles delete overlay UI handler. |
| +class ProfilesDeleteHandler : public OptionsPageUIHandler { |
| + public: |
| + ProfilesDeleteHandler(); |
| + virtual ~ProfilesDeleteHandler(); |
| + |
| + // OptionsPageUIHandler implementation. |
| + virtual void GetLocalizedValues(base::DictionaryValue* localized_strings); |
| + |
| + // WebUIMessageHandler implementation. |
| + virtual void RegisterMessages(); |
| + |
| + private: |
| + void ShowDeleteWarnings(const base::ListValue* args); |
|
James Hawkins
2011/07/19 20:22:09
Document methods.
|
| + void DeleteProfile(const base::ListValue* args); |
| + |
| + DISALLOW_COPY_AND_ASSIGN(ProfilesDeleteHandler); |
| +}; |
| + |
| +#endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_PROFILES_DELETE_HANDLER_H_ |
| + |