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

Unified Diff: chrome/browser/ui/extensions/shell_window.cc

Issue 12212207: Support panel titles and Icons for v1 apps (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/ui/extensions/shell_window.cc
diff --git a/chrome/browser/ui/extensions/shell_window.cc b/chrome/browser/ui/extensions/shell_window.cc
index bd1e95070d2f62a57029956671503ef51398cbed..a8f26612649ed0c1e82be15ff4de5dcb0c42206f 100644
--- a/chrome/browser/ui/extensions/shell_window.cc
+++ b/chrome/browser/ui/extensions/shell_window.cc
@@ -164,7 +164,7 @@ void ShellWindow::Init(const GURL& url,
OnNativeWindowChanged();
if (!params.hidden) {
- if (params.window_type == WINDOW_TYPE_PANEL)
+ if (window_type_panel())
GetBaseWindow()->ShowInactive(); // Panels are not activated by default.
else
GetBaseWindow()->Show();

Powered by Google App Engine
This is Rietveld 408576698