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 29 matching lines...) Expand all Loading... |
40 const ScrollbarTrackExtraParams& extra_params, | 40 const ScrollbarTrackExtraParams& extra_params, |
41 const gfx::Rect& rect) const override; | 41 const gfx::Rect& rect) const override; |
42 void PaintScrollbarThumb(SkCanvas* canvas, | 42 void PaintScrollbarThumb(SkCanvas* canvas, |
43 Part part, | 43 Part part, |
44 State state, | 44 State state, |
45 const gfx::Rect& rect, | 45 const gfx::Rect& rect, |
46 ScrollbarOverlayColorTheme theme) const override; | 46 ScrollbarOverlayColorTheme theme) const override; |
47 void PaintScrollbarCorner(SkCanvas* canvas, | 47 void PaintScrollbarCorner(SkCanvas* canvas, |
48 State state, | 48 State state, |
49 const gfx::Rect& rect) const override; | 49 const gfx::Rect& rect) const override; |
50 gfx::Size GetPartSize(Part part, | |
51 State state, | |
52 const ExtraParams& extra) const override; | |
53 | 50 |
54 private: | 51 private: |
55 DISALLOW_COPY_AND_ASSIGN(NativeThemeAura); | 52 DISALLOW_COPY_AND_ASSIGN(NativeThemeAura); |
56 }; | 53 }; |
57 | 54 |
58 } // namespace ui | 55 } // namespace ui |
59 | 56 |
60 #endif // UI_NATIVE_THEME_NATIVE_THEME_AURA_H_ | 57 #endif // UI_NATIVE_THEME_NATIVE_THEME_AURA_H_ |
OLD | NEW |