OLD | NEW |
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/glue/webthemeengine_impl_linux.h" | 5 #include "webkit/glue/webthemeengine_impl_default.h" |
6 | 6 |
7 #include "skia/ext/platform_canvas.h" | 7 #include "skia/ext/platform_canvas.h" |
8 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebRect.h" | 8 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebRect.h" |
9 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebSize.h" | 9 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebSize.h" |
10 #include "ui/native_theme/native_theme.h" | 10 #include "ui/native_theme/native_theme.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 using WebKit::WebThemeEngine; | 15 using WebKit::WebThemeEngine; |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 part, state, extra_params, &native_theme_extra_params); | 176 part, state, extra_params, &native_theme_extra_params); |
177 ui::NativeTheme::instance()->Paint( | 177 ui::NativeTheme::instance()->Paint( |
178 canvas, | 178 canvas, |
179 NativeThemePart(part), | 179 NativeThemePart(part), |
180 NativeThemeState(state), | 180 NativeThemeState(state), |
181 gfx::Rect(rect), | 181 gfx::Rect(rect), |
182 native_theme_extra_params); | 182 native_theme_extra_params); |
183 } | 183 } |
184 | 184 |
185 } // namespace webkit_glue | 185 } // namespace webkit_glue |
OLD | NEW |