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

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

Issue 12212207: Support panel titles and Icons for v1 apps (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comment. Created 7 years, 10 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_api.cc
diff --git a/chrome/browser/extensions/api/tabs/tabs_api.cc b/chrome/browser/extensions/api/tabs/tabs_api.cc
index 44ec1dcc75a15d679fd69d1ee17264029b86c226..6e6bbc80efb49125f7ee90ce6ab276e0424665ee 100644
--- a/chrome/browser/extensions/api/tabs/tabs_api.cc
+++ b/chrome/browser/extensions/api/tabs/tabs_api.cc
@@ -598,7 +598,7 @@ bool WindowsCreateFunction::RunImpl() {
if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kEnablePanels) &&
PanelManager::ShouldUsePanels(extension_id)) {
ShellWindow::CreateParams create_params;
- create_params.window_type = ShellWindow::WINDOW_TYPE_PANEL;
+ create_params.window_type = ShellWindow::WINDOW_TYPE_V1_PANEL;
create_params.bounds = window_bounds;
create_params.minimum_size = window_bounds.size();
create_params.maximum_size = window_bounds.size();
« no previous file with comments | « ash/wm/panel_window_event_filter.cc ('k') | chrome/browser/ui/ash/launcher/shell_window_launcher_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698