| 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 "base/location.h" | 12 #include "base/location.h" |
| 13 #include "base/thread_task_runner_handle.h" | 13 #include "base/threading/thread_task_runner_handle.h" |
| 14 #include "cc/output/compositor_frame.h" | 14 #include "cc/output/compositor_frame.h" |
| 15 #include "content/public/test/test_synchronous_compositor_android.h" | 15 #include "content/public/test/test_synchronous_compositor_android.h" |
| 16 | 16 |
| 17 namespace android_webview { | 17 namespace android_webview { |
| 18 | 18 |
| 19 namespace { | 19 namespace { |
| 20 // BrowserViewRenderer subclass used for enabling tests to observe | 20 // BrowserViewRenderer subclass used for enabling tests to observe |
| 21 // OnParentDrawConstraintsUpdated. | 21 // OnParentDrawConstraintsUpdated. |
| 22 class TestBrowserViewRenderer : public BrowserViewRenderer { | 22 class TestBrowserViewRenderer : public BrowserViewRenderer { |
| 23 public: | 23 public: |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 window_->PostInvalidate(); | 156 window_->PostInvalidate(); |
| 157 } | 157 } |
| 158 | 158 |
| 159 void RenderingTest::DetachFunctorFromView() {} | 159 void RenderingTest::DetachFunctorFromView() {} |
| 160 | 160 |
| 161 gfx::Point RenderingTest::GetLocationOnScreen() { | 161 gfx::Point RenderingTest::GetLocationOnScreen() { |
| 162 return gfx::Point(); | 162 return gfx::Point(); |
| 163 } | 163 } |
| 164 | 164 |
| 165 } // namespace android_webview | 165 } // namespace android_webview |
| OLD | NEW |