Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(796)

Unified Diff: webkit/glue/webthemeengine_impl_win.cc

Issue 42451: Chromium side of trackbar drawing. This is needed to support <input type="ra... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/glue/webthemeengine_impl_win.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webthemeengine_impl_win.cc
===================================================================
--- webkit/glue/webthemeengine_impl_win.cc (revision 12160)
+++ webkit/glue/webthemeengine_impl_win.cc (working copy)
@@ -102,4 +102,16 @@
canvas->endPlatformPaint();
}
+void WebThemeEngineImpl::paintTrackbar(
+ WebCanvas* canvas, int part, int state, int classic_state,
+ const WebRect& rect) {
+ HDC hdc = canvas->beginPlatformPaint();
+
+ RECT native_rect = WebRectToRECT(rect);
+ gfx::NativeTheme::instance()->PaintTrackbar(
+ hdc, part, state, classic_state, &native_rect, canvas);
+
+ canvas->endPlatformPaint();
+}
+
} // namespace webkit_glue
« no previous file with comments | « webkit/glue/webthemeengine_impl_win.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698