| 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 #ifndef WebLayerTreeViewImplForTesting_h | 5 #ifndef WebLayerTreeViewImplForTesting_h |
| 6 #define WebLayerTreeViewImplForTesting_h | 6 #define WebLayerTreeViewImplForTesting_h |
| 7 | 7 |
| 8 #include "cc/test/test_task_graph_runner.h" | 8 #include "cc/test/test_task_graph_runner.h" |
| 9 #include "cc/trees/layer_tree_host_client.h" | 9 #include "cc/trees/layer_tree_host_client.h" |
| 10 #include "cc/trees/layer_tree_host_single_thread_client.h" | 10 #include "cc/trees/layer_tree_host_single_thread_client.h" |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 bool has_scrolled_by_touch) override; | 88 bool has_scrolled_by_touch) override; |
| 89 void RequestNewCompositorFrameSink() override; | 89 void RequestNewCompositorFrameSink() override; |
| 90 void DidInitializeCompositorFrameSink() override {} | 90 void DidInitializeCompositorFrameSink() override {} |
| 91 void DidFailToInitializeCompositorFrameSink() override; | 91 void DidFailToInitializeCompositorFrameSink() override; |
| 92 void WillCommit() override {} | 92 void WillCommit() override {} |
| 93 void DidCommit() override {} | 93 void DidCommit() override {} |
| 94 void DidCommitAndDrawFrame() override {} | 94 void DidCommitAndDrawFrame() override {} |
| 95 void DidReceiveCompositorFrameAck() override {} | 95 void DidReceiveCompositorFrameAck() override {} |
| 96 void DidCompletePageScaleAnimation() override {} | 96 void DidCompletePageScaleAnimation() override {} |
| 97 | 97 |
| 98 bool IsForSubframe() override; |
| 99 |
| 98 // cc::LayerTreeHostSingleThreadClient implementation. | 100 // cc::LayerTreeHostSingleThreadClient implementation. |
| 99 void DidSubmitCompositorFrame() override {} | 101 void DidSubmitCompositorFrame() override {} |
| 100 void DidLoseCompositorFrameSink() override {} | 102 void DidLoseCompositorFrameSink() override {} |
| 101 | 103 |
| 102 private: | 104 private: |
| 103 cc::TestTaskGraphRunner task_graph_runner_; | 105 cc::TestTaskGraphRunner task_graph_runner_; |
| 104 std::unique_ptr<cc::AnimationHost> animation_host_; | 106 std::unique_ptr<cc::AnimationHost> animation_host_; |
| 105 std::unique_ptr<cc::LayerTreeHost> layer_tree_host_; | 107 std::unique_ptr<cc::LayerTreeHost> layer_tree_host_; |
| 106 }; | 108 }; |
| 107 | 109 |
| 108 } // namespace blink | 110 } // namespace blink |
| 109 | 111 |
| 110 #endif // WebLayerTreeViewImplForTesting_h | 112 #endif // WebLayerTreeViewImplForTesting_h |
| OLD | NEW |