| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CONTENT_CHILD_WEBTHEMEENGINE_IMPL_ANDROID_H_ | 5 #ifndef CONTENT_CHILD_WEBTHEMEENGINE_IMPL_ANDROID_H_ |
| 6 #define CONTENT_CHILD_WEBTHEMEENGINE_IMPL_ANDROID_H_ | 6 #define CONTENT_CHILD_WEBTHEMEENGINE_IMPL_ANDROID_H_ |
| 7 | 7 |
| 8 #include "third_party/WebKit/public/platform/WebThemeEngine.h" | 8 #include "third_party/WebKit/public/platform/WebThemeEngine.h" |
| 9 | 9 |
| 10 namespace content { | 10 namespace content { |
| 11 | 11 |
| 12 class WebThemeEngineImpl : public blink::WebThemeEngine { | 12 class WebThemeEngineImpl : public blink::WebThemeEngine { |
| 13 public: | 13 public: |
| 14 // WebThemeEngine methods: | 14 // WebThemeEngine methods: |
| 15 virtual blink::WebSize getSize(blink::WebThemeEngine::Part); | 15 blink::WebSize getSize(blink::WebThemeEngine::Part) override; |
| 16 virtual void paint( | 16 void paint(blink::WebCanvas* canvas, |
| 17 blink::WebCanvas* canvas, | 17 blink::WebThemeEngine::Part part, |
| 18 blink::WebThemeEngine::Part part, | 18 blink::WebThemeEngine::State state, |
| 19 blink::WebThemeEngine::State state, | 19 const blink::WebRect& rect, |
| 20 const blink::WebRect& rect, | 20 const blink::WebThemeEngine::ExtraParams* extra_params) override; |
| 21 const blink::WebThemeEngine::ExtraParams* extra_params); | |
| 22 }; | 21 }; |
| 23 | 22 |
| 24 } // namespace content | 23 } // namespace content |
| 25 | 24 |
| 26 #endif // CONTENT_CHILD_WEBTHEMEENGINE_IMPL_ANDROID_H_ | 25 #endif // CONTENT_CHILD_WEBTHEMEENGINE_IMPL_ANDROID_H_ |
| OLD | NEW |