summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webthemeengine_impl_win.h
diff options
context:
space:
mode:
authordarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-10 18:52:09 +0000
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-10 18:52:09 +0000
commita3d79ab709a169177f8f82852e6bfe4ab81bc1a1 (patch)
treedc3aae86477e201324bb463285b612c40892df16 /webkit/glue/webthemeengine_impl_win.h
parentb4fc9c198c85039e15907ccbf99f4d7259d2f085 (diff)
downloadchromium_src-a3d79ab709a169177f8f82852e6bfe4ab81bc1a1.zip
chromium_src-a3d79ab709a169177f8f82852e6bfe4ab81bc1a1.tar.gz
chromium_src-a3d79ab709a169177f8f82852e6bfe4ab81bc1a1.tar.bz2
Adds WebThemeEngine, WebColor, and WebCanvas to the WebKit API (chrome-side).
R=dglazkov Review URL: http://codereview.chromium.org/40330 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11351 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webthemeengine_impl_win.h')
-rw-r--r--webkit/glue/webthemeengine_impl_win.h38
1 files changed, 38 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..d95d041
--- /dev/null
+++ b/webkit/glue/webthemeengine_impl_win.h
@@ -0,0 +1,38 @@
+// Copyright (c) 2009 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 "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 paintTextField(
+ WebKit::WebCanvas*, int part, int state, int classic_state,
+ const WebKit::WebRect&, WebKit::WebColor, bool fill_content_area,
+ bool draw_edges);
+};
+
+} // namespace webkit_glue
+
+#endif // WEBTHEMEENGINE_IMPL_WIN_H_