| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "content/child/webfallbackthemeengine_impl.h" | 5 #include "content/child/webfallbackthemeengine_impl.h" |
| 6 | 6 |
| 7 #include "base/macros.h" |
| 7 #include "skia/ext/platform_canvas.h" | 8 #include "skia/ext/platform_canvas.h" |
| 8 #include "third_party/WebKit/public/platform/WebRect.h" | 9 #include "third_party/WebKit/public/platform/WebRect.h" |
| 9 #include "third_party/WebKit/public/platform/WebSize.h" | 10 #include "third_party/WebKit/public/platform/WebSize.h" |
| 10 #include "ui/native_theme/native_theme_base.h" | 11 #include "ui/native_theme/native_theme_base.h" |
| 11 | 12 |
| 12 using blink::WebCanvas; | 13 using blink::WebCanvas; |
| 13 using blink::WebColor; | 14 using blink::WebColor; |
| 14 using blink::WebRect; | 15 using blink::WebRect; |
| 15 using blink::WebFallbackThemeEngine; | 16 using blink::WebFallbackThemeEngine; |
| 16 | 17 |
| (...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 205 GetNativeThemeExtraParams( | 206 GetNativeThemeExtraParams( |
| 206 part, state, extra_params, &native_theme_extra_params); | 207 part, state, extra_params, &native_theme_extra_params); |
| 207 theme_->Paint(canvas, | 208 theme_->Paint(canvas, |
| 208 NativeThemePart(part), | 209 NativeThemePart(part), |
| 209 NativeThemeState(state), | 210 NativeThemeState(state), |
| 210 gfx::Rect(rect), | 211 gfx::Rect(rect), |
| 211 native_theme_extra_params); | 212 native_theme_extra_params); |
| 212 } | 213 } |
| 213 | 214 |
| 214 } // namespace content | 215 } // namespace content |
| OLD | NEW |