Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(410)

Unified Diff: chrome/browser/extensions/extension_tabs_module.cc

Issue 10436015: Remove chrome.windows.* support for platform apps. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 a2c9b46a431ab8b1ff6259e457d84f0010502669..108410d5f6dc46a5a1d48b7122f77d7684b14b74 100644
--- a/chrome/browser/extensions/extension_tabs_module.cc
+++ b/chrome/browser/extensions/extension_tabs_module.cc
@@ -537,17 +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()) {
- 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;

Powered by Google App Engine
This is Rietveld 408576698