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