| Index: chrome/browser/ui/browser.cc
|
| diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
|
| index cbd53a9fd71b99ef914edba61ab33883903c22b4..90aea2c0338baf982d724adfaf6d823ef1c0972d 100644
|
| --- a/chrome/browser/ui/browser.cc
|
| +++ b/chrome/browser/ui/browser.cc
|
| @@ -150,6 +150,7 @@
|
| #include "chrome/common/profiling.h"
|
| #include "chrome/common/search_types.h"
|
| #include "chrome/common/startup_metric_utils.h"
|
| +#include "chrome/common/switch_utils.h"
|
| #include "chrome/common/url_constants.h"
|
| #include "chrome/common/web_apps.h"
|
| #include "content/public/browser/color_chooser.h"
|
| @@ -2077,9 +2078,10 @@ 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.
|
| + if (switches::IsRunningInAppMode())
|
| return NULL;
|
| +
|
| return window_ ? window_->GetStatusBubble() : NULL;
|
| }
|
|
|
|
|