| 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_MAC_H_ | 5 #ifndef WEBKIT_CHILD_WEBTHEMEENGINE_IMPL_MAC_H_ |
| 6 #define WEBKIT_CHILD_WEBTHEMEENGINE_IMPL_MAC_H_ | 6 #define WEBKIT_CHILD_WEBTHEMEENGINE_IMPL_MAC_H_ |
| 7 | 7 |
| 8 #include "third_party/WebKit/public/platform/mac/WebThemeEngine.h" | 8 #include "third_party/WebKit/public/platform/mac/WebThemeEngine.h" |
| 9 #include "webkit/child/webkit_child_export.h" |
| 9 | 10 |
| 10 namespace webkit_glue { | 11 namespace webkit_glue { |
| 11 | 12 |
| 12 class WebThemeEngineImpl : public blink::WebThemeEngine { | 13 class WEBKIT_CHILD_EXPORT WebThemeEngineImpl : public blink::WebThemeEngine { |
| 13 public: | 14 public: |
| 14 // blink::WebThemeEngine implementation. | 15 // blink::WebThemeEngine implementation. |
| 15 virtual void paintScrollbarThumb( | 16 virtual void paintScrollbarThumb( |
| 16 blink::WebCanvas* canvas, | 17 blink::WebCanvas* canvas, |
| 17 blink::WebThemeEngine::State part, | 18 blink::WebThemeEngine::State part, |
| 18 blink::WebThemeEngine::Size state, | 19 blink::WebThemeEngine::Size state, |
| 19 const blink::WebRect& rect, | 20 const blink::WebRect& rect, |
| 20 const blink::WebThemeEngine::ScrollbarInfo& extra_params); | 21 const blink::WebThemeEngine::ScrollbarInfo& extra_params); |
| 21 }; | 22 }; |
| 22 | 23 |
| 23 } // namespace webkit_glue | 24 } // namespace webkit_glue |
| 24 | 25 |
| 25 #endif // WEBKIT_CHILD_WEBTHEMEENGINE_IMPL_MAC_H_ | 26 #endif // WEBKIT_CHILD_WEBTHEMEENGINE_IMPL_MAC_H_ |
| OLD | NEW |