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

Unified Diff: ash/desktop_background/desktop_background_controller.h

Issue 9960024: Remove "set wallpaper..." option in system context menu when guest logged in (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: IsLoggedInAsGuest => CanOpenSetWallpaperPage Created 8 years, 8 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
« no previous file with comments | « ash/ash.gyp ('k') | ash/shell.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/desktop_background/desktop_background_controller.h
diff --git a/ash/desktop_background/desktop_background_controller.h b/ash/desktop_background/desktop_background_controller.h
index a368443984d6c687e5dade3787aea9be2e7a525a..828ba6b2da080df6352f9188990724220a335e08 100644
--- a/ash/desktop_background/desktop_background_controller.h
+++ b/ash/desktop_background/desktop_background_controller.h
@@ -23,6 +23,10 @@ class UserWallpaperDelegate {
// Open the set wallpaper page in the browser.
virtual void OpenSetWallpaperPage() = 0;
+
+ // Returns true if user can open set wallpaper page. Only guest user returns
+ // false currently.
+ virtual bool CanOpenSetWallpaperPage() = 0;
};
// A class to listen for login and desktop background change events and set the
« no previous file with comments | « ash/ash.gyp ('k') | ash/shell.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698