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

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: Created 8 years, 9 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 | « no previous file | ash/shell.cc » ('j') | ash/wm/workspace_controller.cc » ('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;
};
// A class to listen for login and desktop background change events and set the
« no previous file with comments | « no previous file | ash/shell.cc » ('j') | ash/wm/workspace_controller.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698