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 c87f70e0add005d326f9ea3fec28363cc500ecd5..1598d9985f3a36aa261117c2c98f67b921e0f3d2 100644 |
--- a/chrome/browser/ui/libgtkui/gtk_util.h |
+++ b/chrome/browser/ui/libgtkui/gtk_util.h |
@@ -177,6 +177,9 @@ inline void ScopedGObject<GtkStyleContext>::Unref() { |
typedef ScopedGObject<GtkStyleContext> ScopedStyleContext; |
typedef ScopedGObject<GtkCssProvider> ScopedCssProvider; |
+// Converts ui::NativeTheme::State to GtkStateFlags. |
+GtkStateFlags StateToStateFlags(ui::NativeTheme::State state); |
+ |
// If |context| is nullptr, creates a new top-level style context |
// specified by parsing |css_node|. Otherwise, creates the child |
// context with |context| as the parent. |