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 "platform/testing/WebLayerTreeViewImplForTesting.h" | 5 #include "platform/testing/WebLayerTreeViewImplForTesting.h" |
6 | 6 |
7 #include "base/threading/thread_task_runner_handle.h" | 7 #include "base/threading/thread_task_runner_handle.h" |
8 #include "cc/animation/animation_host.h" | 8 #include "cc/animation/animation_host.h" |
9 #include "cc/animation/animation_timeline.h" | 9 #include "cc/animation/animation_timeline.h" |
10 #include "cc/blink/web_layer_impl.h" | 10 #include "cc/blink/web_layer_impl.h" |
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
196 | 196 |
197 void WebLayerTreeViewImplForTesting::SetHaveScrollEventHandlers( | 197 void WebLayerTreeViewImplForTesting::SetHaveScrollEventHandlers( |
198 bool have_eent_handlers) { | 198 bool have_eent_handlers) { |
199 layer_tree_host_->SetHaveScrollEventHandlers(have_eent_handlers); | 199 layer_tree_host_->SetHaveScrollEventHandlers(have_eent_handlers); |
200 } | 200 } |
201 | 201 |
202 bool WebLayerTreeViewImplForTesting::HaveScrollEventHandlers() const { | 202 bool WebLayerTreeViewImplForTesting::HaveScrollEventHandlers() const { |
203 return layer_tree_host_->have_scroll_event_handlers(); | 203 return layer_tree_host_->have_scroll_event_handlers(); |
204 } | 204 } |
205 | 205 |
| 206 bool WebLayerTreeViewImplForTesting::IsForSubframe() { |
| 207 return false; |
| 208 } |
| 209 |
206 } // namespace blink | 210 } // namespace blink |
OLD | NEW |