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

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

Issue 6903017: GTK: Add download notifications to the unity dock. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: evnam comments Created 9 years, 8 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
« no previous file with comments | « chrome/browser/ui/gtk/browser_titlebar.cc ('k') | chrome/browser/ui/gtk/unity_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/gtk/browser_window_gtk.cc
diff --git a/chrome/browser/ui/gtk/browser_window_gtk.cc b/chrome/browser/ui/gtk/browser_window_gtk.cc
index c7446163ba7756389ffa7c39c7f4d9c303a89a42..08dbfb5c328d007e89bca52d3f0910b08bdecb4f 100644
--- a/chrome/browser/ui/gtk/browser_window_gtk.cc
+++ b/chrome/browser/ui/gtk/browser_window_gtk.cc
@@ -1383,6 +1383,7 @@ gboolean BrowserWindowGtk::OnWindowState(GtkWidget* sender,
}
}
+ titlebar_->UpdateCustomFrame(UseCustomFrame() && !IsFullscreen());
UpdateWindowShape(bounds_.width(), bounds_.height());
SaveWindowPosition();
return FALSE;
@@ -2348,6 +2349,7 @@ bool BrowserWindowGtk::GetCustomFramePrefDefault() {
// are taken from the WMs' source code.
return (wm_name == "Blackbox" ||
wm_name == "compiz" ||
+ wm_name == "Compiz" ||
wm_name == "e16" || // Enlightenment DR16
wm_name == "Metacity" ||
wm_name == "Mutter" ||
« no previous file with comments | « chrome/browser/ui/gtk/browser_titlebar.cc ('k') | chrome/browser/ui/gtk/unity_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698