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

Unified Diff: chrome/browser/ui/libgtkui/gtk_util.cc

Issue 2626183005: Gtk3: Remove box-shadow when rendering background colors (Closed)
Patch Set: Gtk3: Remove box-shadow when rendering background colors Created 3 years, 11 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/libgtkui/gtk_util.cc
diff --git a/chrome/browser/ui/libgtkui/gtk_util.cc b/chrome/browser/ui/libgtkui/gtk_util.cc
index 56f565b9d1dd307ad78e1b163b6ea3d6f6f9476e..9ecf876fe03e9672633d11624fdecca5d55cf7b7 100644
--- a/chrome/browser/ui/libgtkui/gtk_util.cc
+++ b/chrome/browser/ui/libgtkui/gtk_util.cc
@@ -372,8 +372,11 @@ void RemoveBorders(GtkStyleContext* context) {
"border-radius: 0px;"
"border-width: 0px;"
"border-image-width: 0px;"
+ "box-shadow: none;"
"padding: 0px;"
"margin: 0px;"
+ "outline: none;"
+ "outline-width: 0px;"
"}");
ApplyCssToContext(context, provider);
}
@@ -384,8 +387,11 @@ void AddBorders(GtkStyleContext* context) {
"border-style: solid;"
"border-radius: 0px;"
"border-width: 1px;"
+ "box-shadow: none;"
"padding: 0px;"
"margin: 0px;"
+ "outline: none;"
+ "outline-width: 0px;"
"}");
ApplyCssToContext(context, provider);
}
« 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