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

Unified Diff: chrome/browser/ui/panels/panel_browser_window_gtk.cc

Issue 10832141: Fix bug 139829: Panels [Linux]: Dark titlebar theme only works with Classic theme, not with GTK+ th… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/panels/panel_browser_window_gtk.cc
diff --git a/chrome/browser/ui/panels/panel_browser_window_gtk.cc b/chrome/browser/ui/panels/panel_browser_window_gtk.cc
index d41a77382fb2b3f971d1212b5bc1ab957a442866..89e924c937da94dffdcd324cf2ef9354e91d11fa 100644
--- a/chrome/browser/ui/panels/panel_browser_window_gtk.cc
+++ b/chrome/browser/ui/panels/panel_browser_window_gtk.cc
@@ -143,7 +143,8 @@ bool PanelBrowserWindowGtk::UsingDefaultTheme() const {
return true;
GtkThemeService* theme_provider = GtkThemeService::GetFrom(panel_->profile());
- return theme_provider->UsingDefaultTheme();
+ return theme_provider->UsingDefaultTheme() ||
+ theme_provider->UsingNativeTheme();
}
bool PanelBrowserWindowGtk::GetWindowEdge(int x, int y, GdkWindowEdge* edge) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698