| 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_CHILD_WEBTHEMEENGINE_IMPL_DEFAULT_H_ | 5 #ifndef WEBKIT_CHILD_WEBTHEMEENGINE_IMPL_DEFAULT_H_ |
| 6 #define WEBKIT_CHILD_WEBTHEMEENGINE_IMPL_DEFAULT_H_ | 6 #define WEBKIT_CHILD_WEBTHEMEENGINE_IMPL_DEFAULT_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" |
| 8 #include "third_party/WebKit/public/platform/default/WebThemeEngine.h" | 9 #include "third_party/WebKit/public/platform/default/WebThemeEngine.h" |
| 10 #include "webkit/child/webkit_child_export.h" |
| 9 | 11 |
| 10 namespace webkit_glue { | 12 namespace webkit_glue { |
| 11 | 13 |
| 12 class WebThemeEngineImpl : public blink::WebThemeEngine { | 14 class WEBKIT_CHILD_EXPORT WebThemeEngineImpl : |
| 15 NON_EXPORTED_BASE(public blink::WebThemeEngine) { |
| 13 public: | 16 public: |
| 14 // WebThemeEngine methods: | 17 // WebThemeEngine methods: |
| 15 virtual blink::WebSize getSize(blink::WebThemeEngine::Part); | 18 virtual blink::WebSize getSize(blink::WebThemeEngine::Part); |
| 16 virtual void paint( | 19 virtual void paint( |
| 17 blink::WebCanvas* canvas, | 20 blink::WebCanvas* canvas, |
| 18 blink::WebThemeEngine::Part part, | 21 blink::WebThemeEngine::Part part, |
| 19 blink::WebThemeEngine::State state, | 22 blink::WebThemeEngine::State state, |
| 20 const blink::WebRect& rect, | 23 const blink::WebRect& rect, |
| 21 const blink::WebThemeEngine::ExtraParams* extra_params); | 24 const blink::WebThemeEngine::ExtraParams* extra_params); |
| 22 }; | 25 }; |
| 23 | 26 |
| 24 } // namespace webkit_glue | 27 } // namespace webkit_glue |
| 25 | 28 |
| 26 #endif // WEBKIT_CHILD_WEBTHEMEENGINE_IMPL_DEFAULT_H_ | 29 #endif // WEBKIT_CHILD_WEBTHEMEENGINE_IMPL_DEFAULT_H_ |
| OLD | NEW |