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

Unified Diff: chrome/browser/ui/gtk/browser_titlebar.cc

Issue 8734016: Make platform apps use and require a different container ("shell" instead of "panel") (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix socket test Created 9 years, 1 month 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/gtk/browser_titlebar.cc
diff --git a/chrome/browser/ui/gtk/browser_titlebar.cc b/chrome/browser/ui/gtk/browser_titlebar.cc
index fc31134faf701afc19f41ea13d65d4b10d0d95e4..499dd15be6b3e4ab99f23b31a2a83654e9a73ff6 100644
--- a/chrome/browser/ui/gtk/browser_titlebar.cc
+++ b/chrome/browser/ui/gtk/browser_titlebar.cc
@@ -624,6 +624,10 @@ void BrowserTitlebar::UpdateTitleAndIcon() {
NOTREACHED() << "We should never have a tabbed app window.";
break;
}
+ case Browser::TYPE_SHELL: {
+ // Shell windows don't show titles and icons for now.
+ break;
+ }
case Browser::TYPE_PANEL: {
break;
}

Powered by Google App Engine
This is Rietveld 408576698