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

Unified Diff: chrome/browser/ui/libgtk2ui/gtk2_util.cc

Issue 1234223005: Initial gtk3 support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix colors Created 5 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
Index: chrome/browser/ui/libgtk2ui/gtk2_util.cc
diff --git a/chrome/browser/ui/libgtk2ui/gtk2_util.cc b/chrome/browser/ui/libgtk2ui/gtk2_util.cc
index 8bac9cb3dc39151dad6ab40234337680cb4f2ad0..25397bec81e801ba4f9da40b33bc255ab6131826 100644
--- a/chrome/browser/ui/libgtk2ui/gtk2_util.cc
+++ b/chrome/browser/ui/libgtk2ui/gtk2_util.cc
@@ -135,15 +135,4 @@ void ClearAuraTransientParent(GtkWidget* dialog) {
g_object_set_data(G_OBJECT(dialog), kAuraTransientParent, NULL);
}
-GtkStateType GetGtkState(ui::NativeTheme::State state) {
- switch (state) {
- case ui::NativeTheme::kDisabled: return GTK_STATE_INSENSITIVE;
- case ui::NativeTheme::kHovered: return GTK_STATE_PRELIGHT;
- case ui::NativeTheme::kNormal: return GTK_STATE_NORMAL;
- case ui::NativeTheme::kPressed: return GTK_STATE_ACTIVE;
- case ui::NativeTheme::kNumStates: NOTREACHED();
- }
- return GTK_STATE_NORMAL;
-}
-
} // namespace libgtk2ui

Powered by Google App Engine
This is Rietveld 408576698