| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef SKY_VIEWER_PLATFORM_WEBTHEMEENGINE_IMPL_H_ | |
| 6 #define SKY_VIEWER_PLATFORM_WEBTHEMEENGINE_IMPL_H_ | |
| 7 | |
| 8 #include "sky/engine/public/platform/WebThemeEngine.h" | |
| 9 | |
| 10 namespace sky { | |
| 11 | |
| 12 class WebThemeEngineImpl : public blink::WebThemeEngine { | |
| 13 public: | |
| 14 // WebThemeEngine methods: | |
| 15 virtual blink::WebSize getSize(blink::WebThemeEngine::Part); | |
| 16 virtual void paint( | |
| 17 blink::WebCanvas* canvas, | |
| 18 blink::WebThemeEngine::Part part, | |
| 19 blink::WebThemeEngine::State state, | |
| 20 const blink::WebRect& rect, | |
| 21 const blink::WebThemeEngine::ExtraParams* extra_params); | |
| 22 virtual void paintStateTransition(blink::WebCanvas* canvas, | |
| 23 blink::WebThemeEngine::Part part, | |
| 24 blink::WebThemeEngine::State startState, | |
| 25 blink::WebThemeEngine::State endState, | |
| 26 double progress, | |
| 27 const blink::WebRect& rect); | |
| 28 }; | |
| 29 | |
| 30 } // namespace sky | |
| 31 | |
| 32 #endif // SKY_VIEWER_PLATFORM_WEBTHEMEENGINE_IMPL_H_ | |
| OLD | NEW |