| Index: chrome/browser/ui/browser.cc
|
| diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
|
| index cbd53a9fd71b99ef914edba61ab33883903c22b4..d8607ac9e127ef3d62966c9d256a15e111877171 100644
|
| --- a/chrome/browser/ui/browser.cc
|
| +++ b/chrome/browser/ui/browser.cc
|
| @@ -2077,8 +2077,12 @@ void Browser::RemoveScheduledUpdatesFor(WebContents* contents) {
|
| // Browser, Getters for UI (private):
|
|
|
| StatusBubble* Browser::GetStatusBubble() {
|
| - // In kiosk mode, we want to always hide the status bubble.
|
| - if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kKioskMode))
|
| + // In kiosk and exclusive app mode, we want to always hide the status bubble.
|
| + CommandLine* command_line = CommandLine::ForCurrentProcess();
|
| + bool app_mode = command_line->HasSwitch(switches::kKioskMode) ||
|
| + (command_line->HasSwitch(switches::kForceAppMode) &&
|
| + command_line->HasSwitch(switches::kAppId));
|
| + if (app_mode)
|
| return NULL;
|
| return window_ ? window_->GetStatusBubble() : NULL;
|
| }
|
|
|