| Index: chrome/browser/extensions/extension_tabs_module.cc
|
| diff --git a/chrome/browser/extensions/extension_tabs_module.cc b/chrome/browser/extensions/extension_tabs_module.cc
|
| index 226a72a36f41887d842a3eac7381ba8f9c6e124e..529662790850d6efb7f9a96a9502eaea66c9c623 100644
|
| --- a/chrome/browser/extensions/extension_tabs_module.cc
|
| +++ b/chrome/browser/extensions/extension_tabs_module.cc
|
| @@ -537,18 +537,6 @@ bool CreateWindowFunction::RunImpl() {
|
| window_type = Browser::TYPE_PANEL;
|
| else
|
| window_type = Browser::TYPE_POPUP;
|
| - } else if (type_str == keys::kWindowTypeValueShell &&
|
| - GetExtension()->is_platform_app()) {
|
| - // TODO(jeremya): remove this method of creating shell windows.
|
| - GURL window_url = urls.empty() ? GURL(chrome::kAboutBlankURL) : urls[0];
|
| - ShellWindow::CreateParams params;
|
| - params.bounds = window_bounds;
|
| - ShellWindow* shell_window = ShellWindow::Create(
|
| - window_profile, GetExtension(), window_url, params);
|
| - shell_window->Show();
|
| - result_.reset(shell_window->extension_window_controller()->
|
| - CreateWindowValueWithTabs());
|
| - return true;
|
| } else if (type_str != keys::kWindowTypeValueNormal) {
|
| error_ = keys::kInvalidWindowTypeError;
|
| return false;
|
|
|