| 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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 } | 134 } |
| 135 | 135 |
| 136 void WebLayerTreeViewImplForTesting::setDeferCommits(bool defer_commits) { | 136 void WebLayerTreeViewImplForTesting::setDeferCommits(bool defer_commits) { |
| 137 layer_tree_host_->SetDeferCommits(defer_commits); | 137 layer_tree_host_->SetDeferCommits(defer_commits); |
| 138 } | 138 } |
| 139 | 139 |
| 140 void WebLayerTreeViewImplForTesting::Layout() { | 140 void WebLayerTreeViewImplForTesting::Layout() { |
| 141 } | 141 } |
| 142 | 142 |
| 143 void WebLayerTreeViewImplForTesting::ApplyViewportDeltas( | 143 void WebLayerTreeViewImplForTesting::ApplyViewportDeltas( |
| 144 const gfx::Vector2d& inner_delta, | 144 const gfx::Vector2dF& inner_delta, |
| 145 const gfx::Vector2d& outer_delta, | 145 const gfx::Vector2dF& outer_delta, |
| 146 const gfx::Vector2dF& elastic_overscroll_delta, | 146 const gfx::Vector2dF& elastic_overscroll_delta, |
| 147 float page_scale, | 147 float page_scale, |
| 148 float top_controls_delta) { | 148 float top_controls_delta) { |
| 149 } | 149 } |
| 150 | 150 |
| 151 void WebLayerTreeViewImplForTesting::ApplyViewportDeltas( | 151 void WebLayerTreeViewImplForTesting::ApplyViewportDeltas( |
| 152 const gfx::Vector2d& scroll_delta, | 152 const gfx::Vector2d& scroll_delta, |
| 153 float page_scale, | 153 float page_scale, |
| 154 float top_controls_delta) {} | 154 float top_controls_delta) {} |
| 155 | 155 |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 196 | 196 |
| 197 void WebLayerTreeViewImplForTesting::registerSelection( | 197 void WebLayerTreeViewImplForTesting::registerSelection( |
| 198 const blink::WebSelectionBound& start, | 198 const blink::WebSelectionBound& start, |
| 199 const blink::WebSelectionBound& end) { | 199 const blink::WebSelectionBound& end) { |
| 200 } | 200 } |
| 201 | 201 |
| 202 void WebLayerTreeViewImplForTesting::clearSelection() { | 202 void WebLayerTreeViewImplForTesting::clearSelection() { |
| 203 } | 203 } |
| 204 | 204 |
| 205 } // namespace content | 205 } // namespace content |
| OLD | NEW |