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