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

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

Issue 2628043002: Gtk3: Render a GtkHeaderBar as the background of the tab strip (Closed)
Patch Set: Handle incognito 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
Index: chrome/browser/ui/libgtkui/gtk_util.h
diff --git a/chrome/browser/ui/libgtkui/gtk_util.h b/chrome/browser/ui/libgtkui/gtk_util.h
index 4e722a4cb276f98e2a08f326366e0cd24227f586..21d3334f70e321b90f4ca316b17a5c307a99825b 100644
--- a/chrome/browser/ui/libgtkui/gtk_util.h
+++ b/chrome/browser/ui/libgtkui/gtk_util.h
@@ -19,12 +19,20 @@ class CommandLine;
class Environment;
}
+namespace color_utils {
+struct HSL;
+}
+
namespace ui {
class Accelerator;
}
namespace libgtkui {
+// Default frame tints
+extern const color_utils::HSL kDefaultTintFrameIncognito;
+extern const color_utils::HSL kDefaultTintFrameIncognitoInactive;
+
extern const SkColor kInvalidColorIdColor;
extern const SkColor kURLTextColor;
@@ -120,6 +128,9 @@ typedef ScopedGObject<GtkStyleContext> ScopedStyleContext;
// must g_object_unref() the returned context.
ScopedStyleContext GetStyleContextFromCss(const char* css_selector);
+// Removes all border-type properties on |context| and all of its parents.
+void RemoveBorders(GtkStyleContext* context);
+
// Get the 'color' property from the style context created by
// GetStyleContextFromCss(|css_selector|).
SkColor GetFgColor(const char* css_selector);

Powered by Google App Engine
This is Rietveld 408576698