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

Unified Diff: chrome/browser/ui/webui/options2/chromeos/set_wallpaper_options_handler2.h

Issue 10384079: Reland "Implement random wallpaper feature" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 months 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/webui/options2/chromeos/set_wallpaper_options_handler2.h
diff --git a/chrome/browser/ui/webui/options2/chromeos/set_wallpaper_options_handler2.h b/chrome/browser/ui/webui/options2/chromeos/set_wallpaper_options_handler2.h
index d4c177c6672fdc3c2e352f2f7f4c51696f64cb47..da162ed4f3b9abe82f0c8f60c9fdd221b61e6526 100644
--- a/chrome/browser/ui/webui/options2/chromeos/set_wallpaper_options_handler2.h
+++ b/chrome/browser/ui/webui/options2/chromeos/set_wallpaper_options_handler2.h
@@ -40,8 +40,11 @@ class SetWallpaperOptionsHandler : public ::options2::OptionsPageUIHandler{
// Handles page shown event.
void HandlePageShown(const base::ListValue* args);
- // Selects one of the available images.
- void HandleSelectImage(const base::ListValue* args);
+ // Selects one of the available default wallpapers.
+ void HandleDefaultWallpaper(const base::ListValue* args);
+
+ // Sets user wallpaper to a random one from the default wallpapers.
+ void HandleRandomWallpaper(const base::ListValue* args);
// Returns handle to browser window or NULL if it can't be found.
gfx::NativeWindow GetBrowserWindow() const;

Powered by Google App Engine
This is Rietveld 408576698