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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 void PaintScrollbarCorner(SkCanvas* canvas, | 46 void PaintScrollbarCorner(SkCanvas* canvas, |
47 State state, | 47 State state, |
48 const gfx::Rect& rect) const override; | 48 const gfx::Rect& rect) const override; |
49 | 49 |
50 void PaintScrollbarThumbStateTransition(SkCanvas* canvas, | 50 void PaintScrollbarThumbStateTransition(SkCanvas* canvas, |
51 Part part, | 51 Part part, |
52 State startState, | 52 State startState, |
53 State endState, | 53 State endState, |
54 double progress, | 54 double progress, |
55 const gfx::Rect& rect) const override; | 55 const gfx::Rect& rect) const override; |
| 56 gfx::Size GetPartSize(Part part, |
| 57 State state, |
| 58 const ExtraParams& extra) const override; |
56 | 59 |
57 private: | 60 private: |
58 DISALLOW_COPY_AND_ASSIGN(NativeThemeAura); | 61 DISALLOW_COPY_AND_ASSIGN(NativeThemeAura); |
59 }; | 62 }; |
60 | 63 |
61 } // namespace ui | 64 } // namespace ui |
62 | 65 |
63 #endif // UI_NATIVE_THEME_NATIVE_THEME_AURA_H_ | 66 #endif // UI_NATIVE_THEME_NATIVE_THEME_AURA_H_ |
OLD | NEW |