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

Side by Side Diff: webkit/glue/webthemeengine_impl_win.cc

Issue 387020: Upstreaming WebKit.gyp (Closed)
Patch Set: Created 11 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « webkit/glue/webthemeengine_impl_win.h ('k') | webkit/glue/weburlloader_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this
2 // source code is governed by a BSD-style license that can be found in the 2 // source code is governed by a BSD-style license that can be found in the
3 // LICENSE file. 3 // LICENSE file.
4 4
5 #include "webkit/glue/webthemeengine_impl_win.h" 5 #include "webkit/glue/webthemeengine_impl_win.h"
6 6
7 #include "app/gfx/native_theme_win.h" 7 #include "app/gfx/native_theme_win.h"
8 #include "skia/ext/platform_canvas.h" 8 #include "skia/ext/platform_canvas.h"
9 #include "skia/ext/skia_utils_win.h" 9 #include "skia/ext/skia_utils_win.h"
10 #include "webkit/api/public/WebRect.h" 10 #include "third_party/WebKit/WebKit/chromium/public/WebRect.h"
11 11
12 using WebKit::WebCanvas; 12 using WebKit::WebCanvas;
13 using WebKit::WebColor; 13 using WebKit::WebColor;
14 using WebKit::WebRect; 14 using WebKit::WebRect;
15 15
16 namespace webkit_glue { 16 namespace webkit_glue {
17 17
18 static RECT WebRectToRECT(const WebRect& rect) { 18 static RECT WebRectToRECT(const WebRect& rect) {
19 RECT result; 19 RECT result;
20 result.left = rect.x; 20 result.left = rect.x;
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 HDC hdc = canvas->beginPlatformPaint(); 108 HDC hdc = canvas->beginPlatformPaint();
109 109
110 RECT native_rect = WebRectToRECT(rect); 110 RECT native_rect = WebRectToRECT(rect);
111 gfx::NativeTheme::instance()->PaintTrackbar( 111 gfx::NativeTheme::instance()->PaintTrackbar(
112 hdc, part, state, classic_state, &native_rect, canvas); 112 hdc, part, state, classic_state, &native_rect, canvas);
113 113
114 canvas->endPlatformPaint(); 114 canvas->endPlatformPaint();
115 } 115 }
116 116
117 } // namespace webkit_glue 117 } // namespace webkit_glue
OLDNEW
« no previous file with comments | « webkit/glue/webthemeengine_impl_win.h ('k') | webkit/glue/weburlloader_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698