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 WEBTHEMEENGINE_IMPL_LINUX_H_ | 5 #ifndef WEBTHEMEENGINE_IMPL_LINUX_H_ |
6 #define WEBTHEMEENGINE_IMPL_LINUX_H_ | 6 #define WEBTHEMEENGINE_IMPL_LINUX_H_ |
7 | 7 |
8 #include "third_party/WebKit/Source/WebKit/chromium/public/linux/WebThemeEngine.
h" | 8 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/linux/WebThe
meEngine.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*, | 17 WebKit::WebCanvas*, |
18 WebKit::WebThemeEngine::Part, | 18 WebKit::WebThemeEngine::Part, |
19 WebKit::WebThemeEngine::State, | 19 WebKit::WebThemeEngine::State, |
20 const WebKit::WebRect&, | 20 const WebKit::WebRect&, |
21 const WebKit::WebThemeEngine::ExtraParams*); | 21 const WebKit::WebThemeEngine::ExtraParams*); |
22 }; | 22 }; |
23 | 23 |
24 } // namespace webkit_glue | 24 } // namespace webkit_glue |
25 | 25 |
26 #endif // WEBTHEMEENGINE_IMPL_LINUX_H_ | 26 #endif // WEBTHEMEENGINE_IMPL_LINUX_H_ |
OLD | NEW |