OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_LIBGTKUI_NATIVE_THEME_GTK3_H_ | 5 #ifndef CHROME_BROWSER_UI_LIBGTKUI_NATIVE_THEME_GTK3_H_ |
6 #define CHROME_BROWSER_UI_LIBGTKUI_NATIVE_THEME_GTK3_H_ | 6 #define CHROME_BROWSER_UI_LIBGTKUI_NATIVE_THEME_GTK3_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "ui/native_theme/native_theme_base.h" | 9 #include "ui/native_theme/native_theme_base.h" |
10 | 10 |
(...skipping 15 matching lines...) Expand all Loading... |
26 void PaintMenuItemBackground( | 26 void PaintMenuItemBackground( |
27 SkCanvas* canvas, | 27 SkCanvas* canvas, |
28 State state, | 28 State state, |
29 const gfx::Rect& rect, | 29 const gfx::Rect& rect, |
30 const MenuItemExtraParams& menu_item) const override; | 30 const MenuItemExtraParams& menu_item) const override; |
31 | 31 |
32 private: | 32 private: |
33 NativeThemeGtk3(); | 33 NativeThemeGtk3(); |
34 ~NativeThemeGtk3() override; | 34 ~NativeThemeGtk3() override; |
35 | 35 |
| 36 SkColor LookupGtkThemeColor(ColorId color_id) const; |
| 37 |
36 // Returns various widgets for theming use. | 38 // Returns various widgets for theming use. |
37 // TODO(thomasanderson): Remove all of these. | 39 // TODO(thomasanderson): Remove all of these. |
38 GtkWidget* GetWindow() const; | 40 GtkWidget* GetWindow() const; |
39 GtkWidget* GetEntry() const; | 41 GtkWidget* GetEntry() const; |
40 GtkWidget* GetLabel() const; | 42 GtkWidget* GetLabel() const; |
41 GtkWidget* GetButton() const; | 43 GtkWidget* GetButton() const; |
42 GtkWidget* GetBlueButton() const; | 44 GtkWidget* GetBlueButton() const; |
43 GtkWidget* GetTree() const; | 45 GtkWidget* GetTree() const; |
44 GtkWidget* GetTooltip() const; | 46 GtkWidget* GetTooltip() const; |
45 GtkWidget* GetMenu() const; | 47 GtkWidget* GetMenu() const; |
46 GtkWidget* GetMenuItem() const; | 48 GtkWidget* GetMenuItem() const; |
47 | 49 |
48 DISALLOW_COPY_AND_ASSIGN(NativeThemeGtk3); | 50 DISALLOW_COPY_AND_ASSIGN(NativeThemeGtk3); |
49 }; | 51 }; |
50 | 52 |
51 } // namespace libgtkui | 53 } // namespace libgtkui |
52 | 54 |
53 #endif // CHROME_BROWSER_UI_LIBGTKUI_NATIVE_THEME_GTK3_H_ | 55 #endif // CHROME_BROWSER_UI_LIBGTKUI_NATIVE_THEME_GTK3_H_ |
OLD | NEW |