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 "base/optional.h" | 9 #include "base/optional.h" |
10 #include "ui/native_theme/native_theme_base.h" | 10 #include "ui/native_theme/native_theme_base.h" |
(...skipping 17 matching lines...) Expand all Loading... |
28 void PaintScrollbarTrack(cc::PaintCanvas* canvas, | 28 void PaintScrollbarTrack(cc::PaintCanvas* canvas, |
29 Part part, | 29 Part part, |
30 State state, | 30 State state, |
31 const ScrollbarTrackExtraParams& extra_params, | 31 const ScrollbarTrackExtraParams& extra_params, |
32 const gfx::Rect& rect) const override; | 32 const gfx::Rect& rect) const override; |
33 void PaintScrollbarThumb( | 33 void PaintScrollbarThumb( |
34 cc::PaintCanvas* canvas, | 34 cc::PaintCanvas* canvas, |
35 Part part, | 35 Part part, |
36 State state, | 36 State state, |
37 const gfx::Rect& rect, | 37 const gfx::Rect& rect, |
38 NativeTheme::ScrollbarOverlayColorTheme theme) const override; | 38 const NativeTheme::ScrollbarThumbExtraParams& params) const override; |
39 void PaintScrollbarCorner(cc::PaintCanvas* canvas, | 39 void PaintScrollbarCorner(cc::PaintCanvas* canvas, |
40 State state, | 40 State state, |
41 const gfx::Rect& rect) const override; | 41 const gfx::Rect& rect) const override; |
42 void PaintMenuPopupBackground( | 42 void PaintMenuPopupBackground( |
43 cc::PaintCanvas* canvas, | 43 cc::PaintCanvas* canvas, |
44 const gfx::Size& size, | 44 const gfx::Size& size, |
45 const MenuBackgroundExtraParams& menu_background) const override; | 45 const MenuBackgroundExtraParams& menu_background) const override; |
46 void PaintMenuSeparator( | 46 void PaintMenuSeparator( |
47 cc::PaintCanvas* canvas, | 47 cc::PaintCanvas* canvas, |
48 State state, | 48 State state, |
(...skipping 15 matching lines...) Expand all Loading... |
64 ~NativeThemeGtk3() override; | 64 ~NativeThemeGtk3() override; |
65 | 65 |
66 mutable base::Optional<SkColor> color_cache_[kColorId_NumColors]; | 66 mutable base::Optional<SkColor> color_cache_[kColorId_NumColors]; |
67 | 67 |
68 DISALLOW_COPY_AND_ASSIGN(NativeThemeGtk3); | 68 DISALLOW_COPY_AND_ASSIGN(NativeThemeGtk3); |
69 }; | 69 }; |
70 | 70 |
71 } // namespace libgtkui | 71 } // namespace libgtkui |
72 | 72 |
73 #endif // CHROME_BROWSER_UI_LIBGTKUI_NATIVE_THEME_GTK3_H_ | 73 #endif // CHROME_BROWSER_UI_LIBGTKUI_NATIVE_THEME_GTK3_H_ |
OLD | NEW |