| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/test/web_layer_tree_view_impl_for_testing.h" | 5 #include "content/test/web_layer_tree_view_impl_for_testing.h" |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "base/strings/string_number_conversions.h" | 8 #include "base/strings/string_number_conversions.h" |
| 9 #include "base/synchronization/lock.h" | 9 #include "base/synchronization/lock.h" |
| 10 #include "base/thread_task_runner_handle.h" | 10 #include "base/thread_task_runner_handle.h" |
| 11 #include "cc/base/switches.h" | 11 #include "cc/base/switches.h" |
| 12 #include "cc/blink/web_layer_impl.h" | 12 #include "cc/blink/web_layer_impl.h" |
| 13 #include "cc/input/input_handler.h" | 13 #include "cc/input/input_handler.h" |
| 14 #include "cc/layers/layer.h" | 14 #include "cc/layers/layer.h" |
| 15 #include "cc/scheduler/begin_frame_source.h" | 15 #include "cc/scheduler/begin_frame_source.h" |
| 16 #include "cc/test/pixel_test_output_surface.h" | 16 #include "cc/test/pixel_test_output_surface.h" |
| 17 #include "cc/test/test_context_provider.h" | 17 #include "cc/test/test_context_provider.h" |
| 18 #include "cc/trees/layer_tree_host.h" | 18 #include "cc/trees/layer_tree_host.h" |
| 19 #include "content/test/test_blink_web_unit_test_support.h" | 19 #include "content/test/test_blink_web_unit_test_support.h" |
| 20 #include "third_party/WebKit/public/platform/Platform.h" | 20 #include "third_party/WebKit/public/platform/Platform.h" |
| 21 #include "third_party/WebKit/public/platform/WebGraphicsContext3D.h" | 21 #include "third_party/WebKit/public/platform/WebGraphicsContext3D.h" |
| 22 #include "third_party/WebKit/public/platform/WebLayer.h" | 22 #include "third_party/WebKit/public/platform/WebLayer.h" |
| 23 #include "third_party/WebKit/public/platform/WebLayerTreeView.h" | 23 #include "third_party/WebKit/public/platform/WebLayerTreeView.h" |
| 24 #include "third_party/WebKit/public/platform/WebSize.h" | 24 #include "third_party/WebKit/public/platform/WebSize.h" |
| 25 #include "ui/gfx/frame_time.h" | |
| 26 | 25 |
| 27 using blink::WebColor; | 26 using blink::WebColor; |
| 28 using blink::WebGraphicsContext3D; | 27 using blink::WebGraphicsContext3D; |
| 29 using blink::WebRect; | 28 using blink::WebRect; |
| 30 using blink::WebSize; | 29 using blink::WebSize; |
| 31 | 30 |
| 32 namespace content { | 31 namespace content { |
| 33 | 32 |
| 34 WebLayerTreeViewImplForTesting::WebLayerTreeViewImplForTesting() {} | 33 WebLayerTreeViewImplForTesting::WebLayerTreeViewImplForTesting() {} |
| 35 | 34 |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 } | 192 } |
| 194 | 193 |
| 195 void WebLayerTreeViewImplForTesting::registerSelection( | 194 void WebLayerTreeViewImplForTesting::registerSelection( |
| 196 const blink::WebSelection& selection) { | 195 const blink::WebSelection& selection) { |
| 197 } | 196 } |
| 198 | 197 |
| 199 void WebLayerTreeViewImplForTesting::clearSelection() { | 198 void WebLayerTreeViewImplForTesting::clearSelection() { |
| 200 } | 199 } |
| 201 | 200 |
| 202 } // namespace content | 201 } // namespace content |
| OLD | NEW |