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

Unified Diff: ash/shell.cc

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
Index: ash/shell.cc
diff --git a/ash/shell.cc b/ash/shell.cc
index cfa9baadedc1efecd0cc953cf3c9420ed75cc451..a21d66b7fecb9ef2c848982542a5f94dd177df57 100644
--- a/ash/shell.cc
+++ b/ash/shell.cc
@@ -252,6 +252,10 @@ class DummyUserWallpaperDelegate : public UserWallpaperDelegate {
virtual void OpenSetWallpaperPage() OVERRIDE {
}
+ virtual bool IsLoggedInAsGuest() OVERRIDE {
+ return false;
+ }
+
private:
DISALLOW_COPY_AND_ASSIGN(DummyUserWallpaperDelegate);
};

Powered by Google App Engine
This is Rietveld 408576698