| 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 "cc/base/switches.h" | 10 #include "cc/base/switches.h" |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 void WebLayerTreeViewImplForTesting::setDeferCommits(bool defer_commits) { | 140 void WebLayerTreeViewImplForTesting::setDeferCommits(bool defer_commits) { |
| 141 layer_tree_host_->SetDeferCommits(defer_commits); | 141 layer_tree_host_->SetDeferCommits(defer_commits); |
| 142 } | 142 } |
| 143 | 143 |
| 144 void WebLayerTreeViewImplForTesting::Layout() { | 144 void WebLayerTreeViewImplForTesting::Layout() { |
| 145 } | 145 } |
| 146 | 146 |
| 147 void WebLayerTreeViewImplForTesting::ApplyViewportDeltas( | 147 void WebLayerTreeViewImplForTesting::ApplyViewportDeltas( |
| 148 const gfx::Vector2d& inner_delta, | 148 const gfx::Vector2d& inner_delta, |
| 149 const gfx::Vector2d& outer_delta, | 149 const gfx::Vector2d& outer_delta, |
| 150 const gfx::Vector2dF& elastic_overscroll_delta, |
| 150 float page_scale, | 151 float page_scale, |
| 151 float top_controls_delta) {} | 152 float top_controls_delta) { |
| 153 } |
| 152 | 154 |
| 153 void WebLayerTreeViewImplForTesting::ApplyViewportDeltas( | 155 void WebLayerTreeViewImplForTesting::ApplyViewportDeltas( |
| 154 const gfx::Vector2d& scroll_delta, | 156 const gfx::Vector2d& scroll_delta, |
| 155 float page_scale, | 157 float page_scale, |
| 156 float top_controls_delta) {} | 158 float top_controls_delta) {} |
| 157 | 159 |
| 158 void WebLayerTreeViewImplForTesting::RequestNewOutputSurface( | 160 void WebLayerTreeViewImplForTesting::RequestNewOutputSurface( |
| 159 bool fallback) { | 161 bool fallback) { |
| 160 bool flipped_output_surface = false; | 162 bool flipped_output_surface = false; |
| 161 layer_tree_host_->SetOutputSurface( | 163 layer_tree_host_->SetOutputSurface( |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 195 | 197 |
| 196 void WebLayerTreeViewImplForTesting::registerSelection( | 198 void WebLayerTreeViewImplForTesting::registerSelection( |
| 197 const blink::WebSelectionBound& start, | 199 const blink::WebSelectionBound& start, |
| 198 const blink::WebSelectionBound& end) { | 200 const blink::WebSelectionBound& end) { |
| 199 } | 201 } |
| 200 | 202 |
| 201 void WebLayerTreeViewImplForTesting::clearSelection() { | 203 void WebLayerTreeViewImplForTesting::clearSelection() { |
| 202 } | 204 } |
| 203 | 205 |
| 204 } // namespace content | 206 } // namespace content |
| OLD | NEW |