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 WEBKIT_GLUE_WEBTHEMEENGINE_IMPL_WIN_H_ | 5 #ifndef WEBKIT_GLUE_WEBTHEMEENGINE_IMPL_WIN_H_ |
6 #define WEBKIT_GLUE_WEBTHEMEENGINE_IMPL_WIN_H_ | 6 #define WEBKIT_GLUE_WEBTHEMEENGINE_IMPL_WIN_H_ |
7 | 7 |
8 #include "third_party/WebKit/Source/Platform/chromium/public/win/WebThemeEngine.
h" | 8 #include "third_party/WebKit/public/platform/win/WebThemeEngine.h" |
9 | 9 |
10 namespace webkit_glue { | 10 namespace webkit_glue { |
11 | 11 |
12 class WebThemeEngineImpl : public WebKit::WebThemeEngine { | 12 class WebThemeEngineImpl : public WebKit::WebThemeEngine { |
13 public: | 13 public: |
14 // WebThemeEngine methods: | 14 // WebThemeEngine methods: |
15 virtual void paintButton( | 15 virtual void paintButton( |
16 WebKit::WebCanvas* canvas, int part, int state, int classic_state, | 16 WebKit::WebCanvas* canvas, int part, int state, int classic_state, |
17 const WebKit::WebRect& rect); | 17 const WebKit::WebRect& rect); |
18 virtual void paintMenuList( | 18 virtual void paintMenuList( |
(...skipping 21 matching lines...) Expand all Loading... |
40 virtual void paintProgressBar( | 40 virtual void paintProgressBar( |
41 WebKit::WebCanvas* canvas, const WebKit::WebRect& barRect, | 41 WebKit::WebCanvas* canvas, const WebKit::WebRect& barRect, |
42 const WebKit::WebRect& valueRect, bool determinate, | 42 const WebKit::WebRect& valueRect, bool determinate, |
43 double animatedSeconds); | 43 double animatedSeconds); |
44 virtual WebKit::WebSize getSize(int part); | 44 virtual WebKit::WebSize getSize(int part); |
45 }; | 45 }; |
46 | 46 |
47 } // namespace webkit_glue | 47 } // namespace webkit_glue |
48 | 48 |
49 #endif // WEBKIT_GLUE_WEBTHEMEENGINE_IMPL_WIN_H_ | 49 #endif // WEBKIT_GLUE_WEBTHEMEENGINE_IMPL_WIN_H_ |
OLD | NEW |