1 // Copyright (c) 2012 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 WEBKIT_GLUE_WEBTHEMEENGINE_IMPL_WIN_H_
6 #define WEBKIT_GLUE_WEBTHEMEENGINE_IMPL_WIN_H_
8 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/win/WebThemeEngine.h"
10 namespace webkit_glue
{
12 class WebThemeEngineImpl
: public WebKit::WebThemeEngine
{
14 // WebThemeEngine methods:
15 virtual void paintButton(
16 WebKit::WebCanvas
* canvas
, int part
, int state
, int classic_state
,
17 const WebKit::WebRect
& rect
);
18 virtual void paintMenuList(
19 WebKit::WebCanvas
* canvas
, int part
, int state
, int classic_state
,
20 const WebKit::WebRect
& rect
);
21 virtual void paintScrollbarArrow(
22 WebKit::WebCanvas
* canvas
, int state
, int classic_state
,
23 const WebKit::WebRect
& rect
);
24 virtual void paintScrollbarThumb(
25 WebKit::WebCanvas
* canvas
, int part
, int state
, int classic_state
,
26 const WebKit::WebRect
& rect
);
27 virtual void paintScrollbarTrack(
28 WebKit::WebCanvas
* canvas
, int part
, int state
, int classic_state
,
29 const WebKit::WebRect
& rect
, const WebKit::WebRect
& align_rect
);
30 virtual void paintSpinButton(
31 WebKit::WebCanvas
* canvas
, int part
, int state
, int classic_state
,
32 const WebKit::WebRect
& rect
);
33 virtual void paintTextField(
34 WebKit::WebCanvas
* canvas
, int part
, int state
, int classic_state
,
35 const WebKit::WebRect
& rect
, WebKit::WebColor color
,
36 bool fill_content_area
, bool draw_edges
);
37 virtual void paintTrackbar(
38 WebKit::WebCanvas
* canvas
, int part
, int state
, int classic_state
,
39 const WebKit::WebRect
& rect
);
40 virtual void paintProgressBar(
41 WebKit::WebCanvas
* canvas
, const WebKit::WebRect
& barRect
,
42 const WebKit::WebRect
& valueRect
, bool determinate
,
43 double animatedSeconds
);
44 virtual WebKit::WebSize
getSize(int part
);
47 } // namespace webkit_glue
49 #endif // WEBKIT_GLUE_WEBTHEMEENGINE_IMPL_WIN_H_