| Index: chrome/browser/extensions/extension_host.cc
|
| diff --git a/chrome/browser/extensions/extension_host.cc b/chrome/browser/extensions/extension_host.cc
|
| index 2870cd63831bdbca77eb3568804814e32f5e259f..25271d84b7dd3f33600d85b70d7fe17ea1fa5e4b 100644
|
| --- a/chrome/browser/extensions/extension_host.cc
|
| +++ b/chrome/browser/extensions/extension_host.cc
|
| @@ -586,6 +586,10 @@ void ExtensionHost::ShowCreatedWindow(int route_id,
|
| browser::NavigateParams params(browser, wrapper);
|
| if (!browser)
|
| params.profile = contents->profile();
|
| + // The extension_app_id parameter ends up as app_name in the Browser
|
| + // which causes the Browser to return true for is_app(). This affects
|
| + // among other things, whether the location bar gets displayed.
|
| + params.extension_app_id = extension_id_;
|
| params.disposition = NEW_POPUP;
|
| params.window_bounds = initial_pos;
|
| params.window_action = browser::NavigateParams::SHOW_WINDOW;
|
|
|