| 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 ReportFixedRasterScaleUseCounters( |
| 92 bool hasBlurryContent, |
| 93 bool hasPotentialPerformanceRegression) override {} |
| 91 | 94 |
| 92 // cc::LayerTreeHostSingleThreadClient implementation. | 95 // cc::LayerTreeHostSingleThreadClient implementation. |
| 93 void DidPostSwapBuffers() override {} | 96 void DidPostSwapBuffers() override {} |
| 94 void DidAbortSwapBuffers() override {} | 97 void DidAbortSwapBuffers() override {} |
| 95 | 98 |
| 96 private: | 99 private: |
| 97 cc::TestTaskGraphRunner m_taskGraphRunner; | 100 cc::TestTaskGraphRunner m_taskGraphRunner; |
| 98 std::unique_ptr<cc::LayerTreeHost> m_layerTreeHost; | 101 std::unique_ptr<cc::LayerTreeHost> m_layerTreeHost; |
| 99 }; | 102 }; |
| 100 | 103 |
| 101 } // namespace blink | 104 } // namespace blink |
| 102 | 105 |
| 103 #endif // WebLayerTreeViewImplForTesting_h | 106 #endif // WebLayerTreeViewImplForTesting_h |
| OLD | NEW |