OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_LINUX_H_ | 5 #ifndef WEBKIT_GLUE_WEBTHEMEENGINE_IMPL_DEFAULT_H_ |
6 #define WEBKIT_GLUE_WEBTHEMEENGINE_IMPL_LINUX_H_ | 6 #define WEBKIT_GLUE_WEBTHEMEENGINE_IMPL_DEFAULT_H_ |
7 | 7 |
8 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/linux/WebThe
meEngine.h" | 8 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/default/WebT
hemeEngine.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 WebKit::WebSize getSize(WebKit::WebThemeEngine::Part); | 15 virtual WebKit::WebSize getSize(WebKit::WebThemeEngine::Part); |
16 virtual void paint( | 16 virtual void paint( |
17 WebKit::WebCanvas* canvas, | 17 WebKit::WebCanvas* canvas, |
18 WebKit::WebThemeEngine::Part part, | 18 WebKit::WebThemeEngine::Part part, |
19 WebKit::WebThemeEngine::State state, | 19 WebKit::WebThemeEngine::State state, |
20 const WebKit::WebRect& rect, | 20 const WebKit::WebRect& rect, |
21 const WebKit::WebThemeEngine::ExtraParams* extra_params); | 21 const WebKit::WebThemeEngine::ExtraParams* extra_params); |
22 }; | 22 }; |
23 | 23 |
24 } // namespace webkit_glue | 24 } // namespace webkit_glue |
25 | 25 |
26 #endif // WEBKIT_GLUE_WEBTHEMEENGINE_IMPL_LINUX_H_ | 26 #endif // WEBKIT_GLUE_WEBTHEMEENGINE_IMPL_DEFAULT_H_ |
OLD | NEW |