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

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

Issue 23769011: Move a bunch of windows stuff from ui/base/win to ui/gfx/win (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Moar bustage. Created 7 years, 3 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/views/win/hwnd_message_handler.cc ('k') | no next file » | 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/child/webthemeengine_impl_win.h" 5 #include "webkit/child/webthemeengine_impl_win.h"
6 6
7 #include <vsstyle.h> // To convert to ui::NativeTheme::State 7 #include <vsstyle.h> // To convert to ui::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/public/platform/WebRect.h" 12 #include "third_party/WebKit/public/platform/WebRect.h"
13 #include "ui/gfx/dpi_win.h" 13 #include "ui/gfx/win/dpi.h"
14 #include "ui/native_theme/native_theme.h" 14 #include "ui/native_theme/native_theme.h"
15 15
16 using WebKit::WebCanvas; 16 using WebKit::WebCanvas;
17 using WebKit::WebColor; 17 using WebKit::WebColor;
18 using WebKit::WebRect; 18 using WebKit::WebRect;
19 using WebKit::WebSize; 19 using WebKit::WebSize;
20 20
21 namespace webkit_glue { 21 namespace webkit_glue {
22 22
23 static RECT WebRectToRECT(const WebRect& rect) { 23 static RECT WebRectToRECT(const WebRect& rect) {
(...skipping 981 matching lines...) Expand 10 before | Expand all | Expand 10 after
1005 } 1005 }
1006 return WebSize(size.width(), size.height()); 1006 return WebSize(size.width(), size.height());
1007 } 1007 }
1008 default: 1008 default:
1009 NOTREACHED() << "Unhandled part: " << part; 1009 NOTREACHED() << "Unhandled part: " << part;
1010 } 1010 }
1011 return WebSize(); 1011 return WebSize();
1012 } 1012 }
1013 1013
1014 } // namespace webkit_glue 1014 } // namespace webkit_glue
OLDNEW
« no previous file with comments | « ui/views/win/hwnd_message_handler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698