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

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: Add shell context menu 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') | ash/shell_context_menu.h » ('J')
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..8d9182c47c03cca88da10fcd4f77d3c7a4830400 100644
--- a/ash/desktop_background/desktop_background_controller.h
+++ b/ash/desktop_background/desktop_background_controller.h
@@ -23,6 +23,9 @@ class UserWallpaperDelegate {
// Open the set wallpaper page in the browser.
virtual void OpenSetWallpaperPage() = 0;
+
+ // Returns true if we're logged in as a Guest.
+ virtual bool IsLoggedInAsGuest() = 0;
sky 2012/04/10 19:55:45 This is really generic. How about making it explic
bshe 2012/04/10 20:46:14 It looks like guest user uses the delegate to get
};
// 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') | ash/shell_context_menu.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698