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.
5 #ifndef CONTENT_CHILD_WEBFALLBACKTHEMEENGINE_IMPL_H_
6 #define CONTENT_CHILD_WEBFALLBACKTHEMEENGINE_IMPL_H_
8 #include "base/memory/scoped_ptr.h"
9 #include "third_party/WebKit/public/platform/WebFallbackThemeEngine.h"
17 class WebFallbackThemeEngineImpl
: public blink::WebFallbackThemeEngine
{
19 WebFallbackThemeEngineImpl();
20 virtual ~WebFallbackThemeEngineImpl();
22 // WebFallbackThemeEngine methods:
23 virtual blink::WebSize
getSize(blink::WebFallbackThemeEngine::Part
);
25 blink::WebCanvas
* canvas
,
26 blink::WebFallbackThemeEngine::Part part
,
27 blink::WebFallbackThemeEngine::State state
,
28 const blink::WebRect
& rect
,
29 const blink::WebFallbackThemeEngine::ExtraParams
* extra_params
);
32 scoped_ptr
<ui::FallbackTheme
> theme_
;
34 DISALLOW_COPY_AND_ASSIGN(WebFallbackThemeEngineImpl
);
37 } // namespace content
39 #endif // CONTENT_CHILD_WEBFALLBACKTHEMEENGINE_IMPL_H_