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_CHROMEOS_EXTENSIONS_WALLPAPER_PRIVATE_API_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_WALLPAPER_PRIVATE_API_H_ |
6 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_WALLPAPER_PRIVATE_API_H_ | 6 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_WALLPAPER_PRIVATE_API_H_ |
7 | 7 |
8 #include "ash/desktop_background/desktop_background_resources.h" | 8 #include "ash/desktop_background/desktop_background_controller.h" |
9 #include "chrome/browser/extensions/extension_function.h" | 9 #include "chrome/browser/extensions/extension_function.h" |
10 #include "net/url_request/url_fetcher_delegate.h" | 10 #include "net/url_request/url_fetcher_delegate.h" |
11 #include "ui/gfx/image/image_skia.h" | 11 #include "ui/gfx/image/image_skia.h" |
12 | 12 |
13 // Wallpaper manager strings. | 13 // Wallpaper manager strings. |
14 class WallpaperStringsFunction : public SyncExtensionFunction { | 14 class WallpaperStringsFunction : public SyncExtensionFunction { |
15 public: | 15 public: |
16 DECLARE_EXTENSION_FUNCTION_NAME("wallpaperPrivate.getStrings"); | 16 DECLARE_EXTENSION_FUNCTION_NAME("wallpaperPrivate.getStrings"); |
17 | 17 |
18 protected: | 18 protected: |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 WallpaperRestoreMinimizedWindowsFunction(); | 127 WallpaperRestoreMinimizedWindowsFunction(); |
128 | 128 |
129 protected: | 129 protected: |
130 virtual ~WallpaperRestoreMinimizedWindowsFunction(); | 130 virtual ~WallpaperRestoreMinimizedWindowsFunction(); |
131 | 131 |
132 // AsyncExtensionFunction overrides. | 132 // AsyncExtensionFunction overrides. |
133 virtual bool RunImpl() OVERRIDE; | 133 virtual bool RunImpl() OVERRIDE; |
134 }; | 134 }; |
135 | 135 |
136 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_WALLPAPER_PRIVATE_API_H_ | 136 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_WALLPAPER_PRIVATE_API_H_ |
OLD | NEW |