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

Unified Diff: chrome/browser/ui/views/aura/status_area_host_aura.cc

Issue 9536007: Do not show menus for opening datetime/network/language config pages on lock screen. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 10 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/aura/status_area_host_aura.cc
diff --git a/chrome/browser/ui/views/aura/status_area_host_aura.cc b/chrome/browser/ui/views/aura/status_area_host_aura.cc
index 7ce10d8f142ebc01e63be171ddf0a08d0ac6f10d..57ac76bde2c36d0c22a916a9c45c98ed5b1a8530 100644
--- a/chrome/browser/ui/views/aura/status_area_host_aura.cc
+++ b/chrome/browser/ui/views/aura/status_area_host_aura.cc
@@ -151,6 +151,8 @@ bool StatusAreaHostAura::ShouldExecuteStatusAreaCommand(
return true;
else
return false;
oshima 2012/02/29 15:44:22 this can also be return command_id == StatusAreaBu
Yusuke Sato 2012/03/01 06:27:53 Done.
+ } else if (chromeos::StatusAreaViewChromeos::IsScreenLockMode()) {
+ return false;
} else {
return true;
oshima 2012/02/29 15:44:22 how about just: } else { return !chromeos::Sta
Yusuke Sato 2012/03/01 06:27:53 Done.
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698