diff options
Diffstat (limited to 'webkit/glue/webthemeengine_impl_win.h')
-rw-r--r-- | webkit/glue/webthemeengine_impl_win.h | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/webkit/glue/webthemeengine_impl_win.h b/webkit/glue/webthemeengine_impl_win.h new file mode 100644 index 0000000..533ea19 --- /dev/null +++ b/webkit/glue/webthemeengine_impl_win.h @@ -0,0 +1,48 @@ +// Copyright (c) 2010 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 WEBTHEMEENGINE_IMPL_WIN_H_ +#define WEBTHEMEENGINE_IMPL_WIN_H_ + +#include "third_party/WebKit/WebKit/chromium/public/WebThemeEngine.h" + +namespace webkit_glue { + +class WebThemeEngineImpl : public WebKit::WebThemeEngine { + public: + // WebThemeEngine methods: + virtual void paintButton( + WebKit::WebCanvas*, int part, int state, int classic_state, + const WebKit::WebRect&); + virtual void paintMenuList( + WebKit::WebCanvas*, int part, int state, int classic_state, + const WebKit::WebRect&); + virtual void paintScrollbarArrow( + WebKit::WebCanvas*, int state, int classic_state, + const WebKit::WebRect&); + virtual void paintScrollbarThumb( + WebKit::WebCanvas*, int part, int state, int classic_state, + const WebKit::WebRect&); + virtual void paintScrollbarTrack( + WebKit::WebCanvas*, int part, int state, int classic_state, + const WebKit::WebRect&, const WebKit::WebRect& align_rect); + virtual void paintSpinButton( + WebKit::WebCanvas*, int part, int state, int classic_state, + const WebKit::WebRect&); + virtual void paintTextField( + WebKit::WebCanvas*, int part, int state, int classic_state, + const WebKit::WebRect&, WebKit::WebColor, bool fill_content_area, + bool draw_edges); + virtual void paintTrackbar( + WebKit::WebCanvas*, int part, int state, int classic_state, + const WebKit::WebRect&); + virtual void paintProgressBar( + WebKit::WebCanvas*, const WebKit::WebRect& barRect, + const WebKit::WebRect& valueRect, bool determinate, + double animatedSeconds); +}; + +} // namespace webkit_glue + +#endif // WEBTHEMEENGINE_IMPL_WIN_H_ |