| Index: chrome/browser/ui/browser.cc
|
| diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
|
| index d8ed53fdc045153145375e209a695eedd6afa692..0319aad4a8361c67c508983ce889fb23897409e9 100644
|
| --- a/chrome/browser/ui/browser.cc
|
| +++ b/chrome/browser/ui/browser.cc
|
| @@ -2163,9 +2163,12 @@ bool Browser::SupportsWindowFeatureImpl(WindowFeature feature,
|
| if (is_type_tabbed())
|
| features |= FEATURE_TOOLBAR;
|
|
|
| - if (!is_app() || CommandLine::ForCurrentProcess()->HasSwitch(
|
| - switches::kEnableStreamlinedHostedApps))
|
| + if (!is_app() || ((app_type() == APP_TYPE_HOST ||
|
| + app_name() == DevToolsWindow::kDevToolsApp) &&
|
| + CommandLine::ForCurrentProcess()->HasSwitch(
|
| + switches::kEnableStreamlinedHostedApps))) {
|
| features |= FEATURE_LOCATIONBAR;
|
| + }
|
| }
|
| return !!(features & feature);
|
| }
|
|
|