Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(366)

Side by Side Diff: chrome/browser/chromeos/extensions/wallpaper_private_api.h

Issue 11415015: Remove use of index in wallpaper picker code and some refactor (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix browser tests Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698