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

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

Issue 6312156: Change includes of gfx/* to ui/gfx/* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 10 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 | « webkit/glue/webmediaplayer_impl.h ('k') | webkit/glue/webthemeengine_impl_win.cc » ('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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_linux.h" 5 #include "webkit/glue/webthemeengine_impl_linux.h"
6 6
7 #include "gfx/native_theme_linux.h"
8 #include "skia/ext/platform_canvas.h" 7 #include "skia/ext/platform_canvas.h"
9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebRect.h" 8 #include "third_party/WebKit/Source/WebKit/chromium/public/WebRect.h"
10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSize.h" 9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSize.h"
10 #include "ui/gfx/native_theme_linux.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 gfx::Rect WebRectToRect(const WebRect& rect) { 18 static gfx::Rect WebRectToRect(const WebRect& rect) {
19 return gfx::Rect(rect.x, rect.y, rect.width, rect.height); 19 return gfx::Rect(rect.x, rect.y, rect.width, rect.height);
20 } 20 }
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 GetNativeThemeExtraParams( 167 GetNativeThemeExtraParams(
168 part, state, extra_params, &native_theme_extra_params); 168 part, state, extra_params, &native_theme_extra_params);
169 gfx::NativeThemeLinux::instance()->Paint( 169 gfx::NativeThemeLinux::instance()->Paint(
170 canvas, 170 canvas,
171 NativeThemePart(part), 171 NativeThemePart(part),
172 NativeThemeState(state), 172 NativeThemeState(state),
173 WebRectToRect(rect), 173 WebRectToRect(rect),
174 native_theme_extra_params); 174 native_theme_extra_params);
175 } 175 }
176 } // namespace webkit_glue 176 } // namespace webkit_glue
OLDNEW
« no previous file with comments | « webkit/glue/webmediaplayer_impl.h ('k') | webkit/glue/webthemeengine_impl_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698