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/webfallbackthemeengine_impl.h" | 5 #include "webkit/glue/webfallbackthemeengine_impl.h" |
6 | 6 |
7 #include "skia/ext/platform_canvas.h" | 7 #include "skia/ext/platform_canvas.h" |
8 #include "third_party/WebKit/Source/Platform/chromium/public/WebRect.h" | 8 #include "third_party/WebKit/public/platform/WebRect.h" |
9 #include "third_party/WebKit/Source/Platform/chromium/public/WebSize.h" | 9 #include "third_party/WebKit/public/platform/WebSize.h" |
10 #include "ui/native_theme/fallback_theme.h" | 10 #include "ui/native_theme/fallback_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::WebFallbackThemeEngine; | 15 using WebKit::WebFallbackThemeEngine; |
16 | 16 |
17 namespace webkit_glue { | 17 namespace webkit_glue { |
18 | 18 |
19 static ui::NativeTheme::Part NativeThemePart( | 19 static ui::NativeTheme::Part NativeThemePart( |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 GetNativeThemeExtraParams( | 182 GetNativeThemeExtraParams( |
183 part, state, extra_params, &native_theme_extra_params); | 183 part, state, extra_params, &native_theme_extra_params); |
184 theme_->Paint(canvas, | 184 theme_->Paint(canvas, |
185 NativeThemePart(part), | 185 NativeThemePart(part), |
186 NativeThemeState(state), | 186 NativeThemeState(state), |
187 gfx::Rect(rect), | 187 gfx::Rect(rect), |
188 native_theme_extra_params); | 188 native_theme_extra_params); |
189 } | 189 } |
190 | 190 |
191 } // namespace webkit_glue | 191 } // namespace webkit_glue |
OLD | NEW |