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

Unified Diff: chrome/browser/extensions/api/tabs/tabs.cc

Issue 10908153: [Panel refactor] Deprecate old panels. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix views compile, no need to delete extra mac menu items cuz not using browser command updater any… Created 8 years, 3 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/api/tabs/tabs.cc
diff --git a/chrome/browser/extensions/api/tabs/tabs.cc b/chrome/browser/extensions/api/tabs/tabs.cc
index 76e34a9457aa662f87da24916567364207f69aed..f292dda7d5f01cebcc22c7536f0a673662c07971 100644
--- a/chrome/browser/extensions/api/tabs/tabs.cc
+++ b/chrome/browser/extensions/api/tabs/tabs.cc
@@ -577,8 +577,7 @@ bool CreateWindowFunction::RunImpl() {
}
#if !defined(USE_ASH)
- if (window_type == Browser::TYPE_PANEL &&
- PanelManager::UseBrowserlessPanels()) {
+ if (window_type == Browser::TYPE_PANEL) {
std::string title =
web_app::GenerateApplicationNameFromExtensionId(extension_id);
// Note: Panels ignore all but the first url provided.
@@ -596,7 +595,6 @@ bool CreateWindowFunction::RunImpl() {
GetExtension()));
return true;
}
- // else fall through to create BrowserWindow
#endif
// Create a new BrowserWindow.
« no previous file with comments | « no previous file | chrome/browser/extensions/window_open_apitest.cc » ('j') | chrome/browser/ui/panels/panel_browser_frame_view.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698