OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 UI_NATIVE_THEME_NATIVE_THEME_AURA_H_ | 5 #ifndef UI_NATIVE_THEME_NATIVE_THEME_AURA_H_ |
6 #define UI_NATIVE_THEME_NATIVE_THEME_AURA_H_ | 6 #define UI_NATIVE_THEME_NATIVE_THEME_AURA_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 24 matching lines...) Expand all Loading... |
35 const MenuItemExtraParams& menu_item) const override; | 35 const MenuItemExtraParams& menu_item) const override; |
36 void PaintArrowButton(cc::PaintCanvas* gc, | 36 void PaintArrowButton(cc::PaintCanvas* gc, |
37 const gfx::Rect& rect, | 37 const gfx::Rect& rect, |
38 Part direction, | 38 Part direction, |
39 State state) const override; | 39 State state) const override; |
40 void PaintScrollbarTrack(cc::PaintCanvas* canvas, | 40 void PaintScrollbarTrack(cc::PaintCanvas* canvas, |
41 Part part, | 41 Part part, |
42 State state, | 42 State state, |
43 const ScrollbarTrackExtraParams& extra_params, | 43 const ScrollbarTrackExtraParams& extra_params, |
44 const gfx::Rect& rect) const override; | 44 const gfx::Rect& rect) const override; |
45 void PaintScrollbarThumb(cc::PaintCanvas* canvas, | 45 void PaintScrollbarThumb( |
46 Part part, | 46 cc::PaintCanvas* canvas, |
47 State state, | 47 Part part, |
48 const gfx::Rect& rect, | 48 State state, |
49 ScrollbarOverlayColorTheme theme) const override; | 49 const gfx::Rect& rect, |
| 50 const NativeTheme::ScrollbarThumbExtraParams& params) const override; |
50 void PaintScrollbarCorner(cc::PaintCanvas* canvas, | 51 void PaintScrollbarCorner(cc::PaintCanvas* canvas, |
51 State state, | 52 State state, |
52 const gfx::Rect& rect) const override; | 53 const gfx::Rect& rect) const override; |
53 gfx::Size GetPartSize(Part part, | 54 gfx::Size GetPartSize(Part part, |
54 State state, | 55 State state, |
55 const ExtraParams& extra) const override; | 56 const ExtraParams& extra) const override; |
56 bool SupportsNinePatch(Part part) const override; | 57 bool SupportsNinePatch(Part part) const override; |
57 gfx::Size GetNinePatchCanvasSize(Part part) const override; | 58 gfx::Size GetNinePatchCanvasSize(Part part) const override; |
58 gfx::Rect GetNinePatchAperture(Part part) const override; | 59 gfx::Rect GetNinePatchAperture(Part part) const override; |
59 | 60 |
60 private: | 61 private: |
61 bool use_overlay_scrollbars_; | 62 bool use_overlay_scrollbars_; |
62 | 63 |
63 DISALLOW_COPY_AND_ASSIGN(NativeThemeAura); | 64 DISALLOW_COPY_AND_ASSIGN(NativeThemeAura); |
64 }; | 65 }; |
65 | 66 |
66 } // namespace ui | 67 } // namespace ui |
67 | 68 |
68 #endif // UI_NATIVE_THEME_NATIVE_THEME_AURA_H_ | 69 #endif // UI_NATIVE_THEME_NATIVE_THEME_AURA_H_ |
OLD | NEW |