OLD | NEW |
| (Empty) |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CONTENT_CHILD_WEBTHEMEENGINE_IMPL_WIN_H_ | |
6 #define CONTENT_CHILD_WEBTHEMEENGINE_IMPL_WIN_H_ | |
7 | |
8 #include "third_party/WebKit/public/platform/win/WebThemeEngine.h" | |
9 | |
10 namespace content { | |
11 | |
12 class WebThemeEngineImpl : public blink::WebThemeEngine { | |
13 public: | |
14 // WebThemeEngine methods: | |
15 virtual void paintButton( | |
16 blink::WebCanvas* canvas, int part, int state, int classic_state, | |
17 const blink::WebRect& rect); | |
18 virtual void paintMenuList( | |
19 blink::WebCanvas* canvas, int part, int state, int classic_state, | |
20 const blink::WebRect& rect); | |
21 virtual void paintScrollbarArrow( | |
22 blink::WebCanvas* canvas, int state, int classic_state, | |
23 const blink::WebRect& rect); | |
24 virtual void paintScrollbarThumb( | |
25 blink::WebCanvas* canvas, int part, int state, int classic_state, | |
26 const blink::WebRect& rect); | |
27 virtual void paintScrollbarTrack( | |
28 blink::WebCanvas* canvas, int part, int state, int classic_state, | |
29 const blink::WebRect& rect, const blink::WebRect& align_rect); | |
30 virtual void paintSpinButton( | |
31 blink::WebCanvas* canvas, int part, int state, int classic_state, | |
32 const blink::WebRect& rect); | |
33 virtual void paintTextField( | |
34 blink::WebCanvas* canvas, int part, int state, int classic_state, | |
35 const blink::WebRect& rect, blink::WebColor color, | |
36 bool fill_content_area, bool draw_edges); | |
37 virtual void paintTrackbar( | |
38 blink::WebCanvas* canvas, int part, int state, int classic_state, | |
39 const blink::WebRect& rect); | |
40 virtual void paintProgressBar( | |
41 blink::WebCanvas* canvas, const blink::WebRect& barRect, | |
42 const blink::WebRect& valueRect, bool determinate, | |
43 double animatedSeconds); | |
44 virtual blink::WebSize getSize(int part); | |
45 }; | |
46 | |
47 } // namespace content | |
48 | |
49 #endif // CONTENT_CHILD_WEBTHEMEENGINE_IMPL_WIN_H_ | |
OLD | NEW |