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