OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_OPTIONS2_CHROMEOS_SET_WALLPAPER_OPTIONS_HANDLER2
_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS2_CHROMEOS_SET_WALLPAPER_OPTIONS_HANDLER2
_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS2_CHROMEOS_SET_WALLPAPER_OPTIONS_HANDLER2
_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS2_CHROMEOS_SET_WALLPAPER_OPTIONS_HANDLER2
_H_ |
7 | 7 |
8 #include "base/memory/weak_ptr.h" | 8 #include "base/memory/weak_ptr.h" |
9 #include "chrome/browser/ui/webui/options2/options_ui2.h" | 9 #include "chrome/browser/ui/webui/options2/options_ui2.h" |
10 #include "ui/gfx/native_widget_types.h" | 10 #include "ui/gfx/native_widget_types.h" |
11 | 11 |
12 namespace base { | 12 namespace base { |
13 class DictionaryValue; | 13 class DictionaryValue; |
14 class ListValue; | 14 class ListValue; |
15 } | 15 } |
16 | 16 |
17 namespace chromeos { | 17 namespace chromeos { |
18 namespace options2 { | 18 namespace options2 { |
19 | 19 |
20 // ChromeOS user image options page UI handler. | 20 // ChromeOS user image options page UI handler. |
21 class SetWallpaperOptionsHandler : public OptionsPageUIHandler{ | 21 class SetWallpaperOptionsHandler : public ::options2::OptionsPageUIHandler{ |
22 public: | 22 public: |
23 SetWallpaperOptionsHandler(); | 23 SetWallpaperOptionsHandler(); |
24 virtual ~SetWallpaperOptionsHandler(); | 24 virtual ~SetWallpaperOptionsHandler(); |
25 | 25 |
26 // OptionsPageUIHandler implementation. | 26 // OptionsPageUIHandler implementation. |
27 virtual void GetLocalizedValues( | 27 virtual void GetLocalizedValues( |
28 base::DictionaryValue* localized_strings) OVERRIDE; | 28 base::DictionaryValue* localized_strings) OVERRIDE; |
29 | 29 |
30 // WebUIMessageHandler implementation. | 30 // WebUIMessageHandler implementation. |
31 virtual void RegisterMessages() OVERRIDE; | 31 virtual void RegisterMessages() OVERRIDE; |
(...skipping 16 matching lines...) Expand all Loading... |
48 | 48 |
49 base::WeakPtrFactory<SetWallpaperOptionsHandler> weak_factory_; | 49 base::WeakPtrFactory<SetWallpaperOptionsHandler> weak_factory_; |
50 | 50 |
51 DISALLOW_COPY_AND_ASSIGN(SetWallpaperOptionsHandler); | 51 DISALLOW_COPY_AND_ASSIGN(SetWallpaperOptionsHandler); |
52 }; | 52 }; |
53 | 53 |
54 } // namespace options2 | 54 } // namespace options2 |
55 } // namespace chromeos | 55 } // namespace chromeos |
56 | 56 |
57 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_CHROMEOS_SET_WALLPAPER_OPTIONS_HANDL
ER2_H_ | 57 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_CHROMEOS_SET_WALLPAPER_OPTIONS_HANDL
ER2_H_ |
OLD | NEW |