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

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

Issue 8787003: Update these includes to use the new header locations (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years 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 | Annotate | Revision Log
« no previous file with comments | « webkit/glue/webthemeengine_impl_win.h ('k') | webkit/glue/webthread_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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "webkit/glue/webthemeengine_impl_win.h" 5 #include "webkit/glue/webthemeengine_impl_win.h"
6 6
7 #include <vsstyle.h> // To convert to gfx::NativeTheme::State 7 #include <vsstyle.h> // To convert to gfx::NativeTheme::State
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "skia/ext/platform_canvas.h" 10 #include "skia/ext/platform_canvas.h"
11 #include "skia/ext/skia_utils_win.h" 11 #include "skia/ext/skia_utils_win.h"
12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebRect.h" 12 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebRect.h"
13 #include "ui/gfx/native_theme.h" 13 #include "ui/gfx/native_theme.h"
14 14
15 using WebKit::WebCanvas; 15 using WebKit::WebCanvas;
16 using WebKit::WebColor; 16 using WebKit::WebColor;
17 using WebKit::WebRect; 17 using WebKit::WebRect;
18 18
19 namespace webkit_glue { 19 namespace webkit_glue {
20 20
21 static RECT WebRectToRECT(const WebRect& rect) { 21 static RECT WebRectToRECT(const WebRect& rect) {
22 RECT result; 22 RECT result;
(...skipping 950 matching lines...) Expand 10 before | Expand all | Expand 10 after
973 extra.progress_bar.value_rect_x = valueRect.x; 973 extra.progress_bar.value_rect_x = valueRect.x;
974 extra.progress_bar.value_rect_y = valueRect.y; 974 extra.progress_bar.value_rect_y = valueRect.y;
975 extra.progress_bar.value_rect_width = valueRect.width; 975 extra.progress_bar.value_rect_width = valueRect.width;
976 extra.progress_bar.value_rect_height = valueRect.height; 976 extra.progress_bar.value_rect_height = valueRect.height;
977 gfx::NativeTheme::instance()->Paint(canvas, gfx::NativeTheme::kProgressBar, 977 gfx::NativeTheme::instance()->Paint(canvas, gfx::NativeTheme::kProgressBar,
978 gfx::NativeTheme::kNormal, gfx_rect, 978 gfx::NativeTheme::kNormal, gfx_rect,
979 extra); 979 extra);
980 } 980 }
981 981
982 } // namespace webkit_glue 982 } // namespace webkit_glue
OLDNEW
« no previous file with comments | « webkit/glue/webthemeengine_impl_win.h ('k') | webkit/glue/webthread_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698