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 "mojo/services/html_viewer/web_theme_engine_impl.h" | 5 #include "components/html_viewer/web_theme_engine_impl.h" |
6 | 6 |
7 #include "skia/ext/platform_canvas.h" | 7 #include "skia/ext/platform_canvas.h" |
8 #include "third_party/WebKit/public/platform/WebRect.h" | 8 #include "third_party/WebKit/public/platform/WebRect.h" |
9 #include "third_party/WebKit/public/platform/WebSize.h" | 9 #include "third_party/WebKit/public/platform/WebSize.h" |
10 #include "ui/native_theme/native_theme.h" | 10 #include "ui/native_theme/native_theme.h" |
11 | 11 |
12 using blink::WebCanvas; | 12 using blink::WebCanvas; |
13 using blink::WebColor; | 13 using blink::WebColor; |
14 using blink::WebRect; | 14 using blink::WebRect; |
15 using blink::WebThemeEngine; | 15 using blink::WebThemeEngine; |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 ui::NativeTheme::instance()->PaintStateTransition( | 194 ui::NativeTheme::instance()->PaintStateTransition( |
195 canvas, | 195 canvas, |
196 NativeThemePart(part), | 196 NativeThemePart(part), |
197 NativeThemeState(startState), | 197 NativeThemeState(startState), |
198 NativeThemeState(endState), | 198 NativeThemeState(endState), |
199 progress, | 199 progress, |
200 gfx::Rect(rect)); | 200 gfx::Rect(rect)); |
201 } | 201 } |
202 | 202 |
203 } // namespace html_viewer | 203 } // namespace html_viewer |
OLD | NEW |