1 // Copyright 2014 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.
5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_AUTOMATIC_SETTINGS_RESET_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_AUTOMATIC_SETTINGS_RESET_HANDLER_H_
8 #include "base/memory/weak_ptr.h"
9 #include "chrome/browser/ui/webui/options/options_ui.h"
13 // Handler for the banner that displays a settings reset event at the top of the
15 class AutomaticSettingsResetHandler : public OptionsPageUIHandler {
17 AutomaticSettingsResetHandler();
18 virtual ~AutomaticSettingsResetHandler();
20 // OptionsPageUIHandler implementation.
21 virtual void GetLocalizedValues(
22 base::DictionaryValue* localized_strings) OVERRIDE;
23 virtual void InitializePage() OVERRIDE;
25 // WebUIMessageHandler implementation.
26 virtual void RegisterMessages() OVERRIDE;
29 DISALLOW_COPY_AND_ASSIGN(AutomaticSettingsResetHandler);
32 } // namespace options
34 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_AUTOMATIC_SETTINGS_RESET_HANDLER_H_