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 "android_webview/browser/test/rendering_test.h" | 5 #include "android_webview/browser/test/rendering_test.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 #include "android_webview/browser/browser_view_renderer.h" | 9 #include "android_webview/browser/browser_view_renderer.h" |
10 #include "android_webview/browser/child_frame.h" | 10 #include "android_webview/browser/child_frame.h" |
11 #include "android_webview/browser/render_thread_manager.h" | 11 #include "android_webview/browser/render_thread_manager.h" |
12 #include "android_webview/common/aw_switches.h" | 12 #include "android_webview/common/aw_switches.h" |
13 #include "base/command_line.h" | 13 #include "base/command_line.h" |
14 #include "base/location.h" | 14 #include "base/location.h" |
| 15 #include "base/memory/ptr_util.h" |
15 #include "base/threading/thread_task_runner_handle.h" | 16 #include "base/threading/thread_task_runner_handle.h" |
16 #include "cc/output/compositor_frame.h" | 17 #include "cc/output/compositor_frame.h" |
17 #include "content/public/browser/android/synchronous_compositor.h" | 18 #include "content/public/browser/android/synchronous_compositor.h" |
18 #include "content/public/test/test_synchronous_compositor_android.h" | 19 #include "content/public/test/test_synchronous_compositor_android.h" |
19 | 20 |
20 namespace android_webview { | 21 namespace android_webview { |
21 | 22 |
22 namespace { | 23 namespace { |
23 // BrowserViewRenderer subclass used for enabling tests to observe | 24 // BrowserViewRenderer subclass used for enabling tests to observe |
24 // OnParentDrawConstraintsUpdated. | 25 // OnParentDrawConstraintsUpdated. |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 void RenderingTest::PostInvalidate() { | 157 void RenderingTest::PostInvalidate() { |
157 if (window_) | 158 if (window_) |
158 window_->PostInvalidate(); | 159 window_->PostInvalidate(); |
159 } | 160 } |
160 | 161 |
161 gfx::Point RenderingTest::GetLocationOnScreen() { | 162 gfx::Point RenderingTest::GetLocationOnScreen() { |
162 return gfx::Point(); | 163 return gfx::Point(); |
163 } | 164 } |
164 | 165 |
165 } // namespace android_webview | 166 } // namespace android_webview |
OLD | NEW |