Chromium Code Reviews| 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.
|
| } |