OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_UI_LIBGTK2UI_NATIVE_THEME_GTK2_H_ | 5 #ifndef CHROME_BROWSER_UI_LIBGTK2UI_NATIVE_THEME_GTK2_H_ |
6 #define CHROME_BROWSER_UI_LIBGTK2UI_NATIVE_THEME_GTK2_H_ | 6 #define CHROME_BROWSER_UI_LIBGTK2UI_NATIVE_THEME_GTK2_H_ |
7 | 7 |
8 #include <gtk/gtk.h> | 8 #include <gtk/gtk.h> |
9 | 9 |
10 #include "chrome/browser/ui/libgtk2ui/owned_widget_gtk2.h" | 10 #include "chrome/browser/ui/libgtk2ui/owned_widget_gtk2.h" |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 GtkStyle* GetWindowStyle() const; | 53 GtkStyle* GetWindowStyle() const; |
54 GtkStyle* GetEntryStyle() const; | 54 GtkStyle* GetEntryStyle() const; |
55 GtkStyle* GetLabelStyle() const; | 55 GtkStyle* GetLabelStyle() const; |
56 GtkStyle* GetButtonStyle() const; | 56 GtkStyle* GetButtonStyle() const; |
57 GtkStyle* GetTreeStyle() const; | 57 GtkStyle* GetTreeStyle() const; |
58 GtkStyle* GetTooltipStyle() const; | 58 GtkStyle* GetTooltipStyle() const; |
59 GtkStyle* GetMenuStyle() const; | 59 GtkStyle* GetMenuStyle() const; |
60 GtkStyle* GetMenuItemStyle() const; | 60 GtkStyle* GetMenuItemStyle() const; |
61 | 61 |
62 void PaintComboboxArrow(SkCanvas* canvas, | 62 void PaintComboboxArrow(SkCanvas* canvas, |
63 GtkStateType state, | 63 GtkStateFlags state, |
64 const gfx::Rect& rect) const; | 64 const gfx::Rect& rect) const; |
65 | 65 |
66 mutable GtkWidget* fake_window_; | 66 mutable GtkWidget* fake_window_; |
67 mutable GtkWidget* fake_tooltip_; | 67 mutable GtkWidget* fake_tooltip_; |
68 mutable OwnedWidgetGtk fake_entry_; | 68 mutable OwnedWidgetGtk fake_entry_; |
69 mutable OwnedWidgetGtk fake_label_; | 69 mutable OwnedWidgetGtk fake_label_; |
70 mutable OwnedWidgetGtk fake_button_; | 70 mutable OwnedWidgetGtk fake_button_; |
71 mutable OwnedWidgetGtk fake_tree_; | 71 mutable OwnedWidgetGtk fake_tree_; |
72 | 72 |
73 mutable OwnedWidgetGtk fake_menu_; | 73 mutable OwnedWidgetGtk fake_menu_; |
74 mutable GtkWidget* fake_menu_item_; | 74 mutable GtkWidget* fake_menu_item_; |
75 | 75 |
76 DISALLOW_COPY_AND_ASSIGN(NativeThemeGtk2); | 76 DISALLOW_COPY_AND_ASSIGN(NativeThemeGtk2); |
77 }; | 77 }; |
78 | 78 |
79 } // namespace libgtk2ui | 79 } // namespace libgtk2ui |
80 | 80 |
81 #endif // CHROME_BROWSER_UI_LIBGTK2UI_NATIVE_THEME_GTK2_H_ | 81 #endif // CHROME_BROWSER_UI_LIBGTK2UI_NATIVE_THEME_GTK2_H_ |
OLD | NEW |