diff options
Diffstat (limited to 'chromium/content/child/webthemeengine_impl_default.h')
-rw-r--r-- | chromium/content/child/webthemeengine_impl_default.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/chromium/content/child/webthemeengine_impl_default.h b/chromium/content/child/webthemeengine_impl_default.h new file mode 100644 index 00000000000..b757d441b39 --- /dev/null +++ b/chromium/content/child/webthemeengine_impl_default.h @@ -0,0 +1,32 @@ +// Copyright 2014 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#ifndef CONTENT_CHILD_WEBTHEMEENGINE_IMPL_DEFAULT_H_ +#define CONTENT_CHILD_WEBTHEMEENGINE_IMPL_DEFAULT_H_ + +#include "third_party/WebKit/public/platform/WebThemeEngine.h" + +namespace content { + +class WebThemeEngineImpl : public blink::WebThemeEngine { + public: + // WebThemeEngine methods: + virtual blink::WebSize getSize(blink::WebThemeEngine::Part); + virtual void paint( + blink::WebCanvas* canvas, + blink::WebThemeEngine::Part part, + blink::WebThemeEngine::State state, + const blink::WebRect& rect, + const blink::WebThemeEngine::ExtraParams* extra_params); + virtual void paintStateTransition(blink::WebCanvas* canvas, + blink::WebThemeEngine::Part part, + blink::WebThemeEngine::State startState, + blink::WebThemeEngine::State endState, + double progress, + const blink::WebRect& rect); +}; + +} // namespace content + +#endif // CONTENT_CHILD_WEBTHEMEENGINE_IMPL_DEFAULT_H_ |