summaryrefslogtreecommitdiffstats
path: root/ash/desktop_background
diff options
context:
space:
mode:
authorbshe@chromium.org <bshe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-24 16:25:42 +0000
committerbshe@chromium.org <bshe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-24 16:25:42 +0000
commit5c5432419270a432dc963e83cbf0fe8f96cc8b47 (patch)
tree38d352845da2657f7012c15e0146a19f69596941 /ash/desktop_background
parent5ca43f18cd10328849184153deb165699c32ce01 (diff)
downloadchromium_src-5c5432419270a432dc963e83cbf0fe8f96cc8b47.zip
chromium_src-5c5432419270a432dc963e83cbf0fe8f96cc8b47.tar.gz
chromium_src-5c5432419270a432dc963e83cbf0fe8f96cc8b47.tar.bz2
Add "Change Wallpaper..." option in system ContextMenu
BUG=118705 TEST=Right click on background, select "change wallpaper", the browser should go to change wallpaper settings page. Review URL: https://chromiumcodereview.appspot.com/9836077 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128750 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/desktop_background')
-rw-r--r--ash/desktop_background/desktop_background_controller.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/ash/desktop_background/desktop_background_controller.h b/ash/desktop_background/desktop_background_controller.h
index f43cbbd..a368443 100644
--- a/ash/desktop_background/desktop_background_controller.h
+++ b/ash/desktop_background/desktop_background_controller.h
@@ -18,8 +18,11 @@ class UserWallpaperDelegate {
public:
virtual ~UserWallpaperDelegate() {}
- // Gets the index of user selected wallpaper
+ // Gets the index of user selected wallpaper.
virtual const int GetUserWallpaperIndex() = 0;
+
+ // Open the set wallpaper page in the browser.
+ virtual void OpenSetWallpaperPage() = 0;
};
// A class to listen for login and desktop background change events and set the