| 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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 float pageScale, | 81 float pageScale, |
| 82 float topControlsDelta) override; | 82 float topControlsDelta) override; |
| 83 void RequestNewOutputSurface() override; | 83 void RequestNewOutputSurface() override; |
| 84 void DidInitializeOutputSurface() override {} | 84 void DidInitializeOutputSurface() override {} |
| 85 void DidFailToInitializeOutputSurface() override; | 85 void DidFailToInitializeOutputSurface() override; |
| 86 void WillCommit() override {} | 86 void WillCommit() override {} |
| 87 void DidCommit() override {} | 87 void DidCommit() override {} |
| 88 void DidCommitAndDrawFrame() override {} | 88 void DidCommitAndDrawFrame() override {} |
| 89 void DidCompleteSwapBuffers() override {} | 89 void DidCompleteSwapBuffers() override {} |
| 90 void DidCompletePageScaleAnimation() override {} | 90 void DidCompletePageScaleAnimation() override {} |
| 91 void RecordFrameTimingEvents( | |
| 92 std::unique_ptr<cc::FrameTimingTracker::CompositeTimingSet> compositeEve
nts, | |
| 93 std::unique_ptr<cc::FrameTimingTracker::MainFrameTimingSet> mainFrameEve
nts) | |
| 94 override {} | |
| 95 | 91 |
| 96 // cc::LayerTreeHostSingleThreadClient implementation. | 92 // cc::LayerTreeHostSingleThreadClient implementation. |
| 97 void DidPostSwapBuffers() override {} | 93 void DidPostSwapBuffers() override {} |
| 98 void DidAbortSwapBuffers() override {} | 94 void DidAbortSwapBuffers() override {} |
| 99 | 95 |
| 100 private: | 96 private: |
| 101 cc::TestTaskGraphRunner m_taskGraphRunner; | 97 cc::TestTaskGraphRunner m_taskGraphRunner; |
| 102 std::unique_ptr<cc::LayerTreeHost> m_layerTreeHost; | 98 std::unique_ptr<cc::LayerTreeHost> m_layerTreeHost; |
| 103 }; | 99 }; |
| 104 | 100 |
| 105 } // namespace blink | 101 } // namespace blink |
| 106 | 102 |
| 107 #endif // WebLayerTreeViewImplForTesting_h | 103 #endif // WebLayerTreeViewImplForTesting_h |
| OLD | NEW |