| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 CC_TEST_STUB_LAYER_TREE_HOST_SINGLE_THREAD_CLIENT_H_ | 5 #ifndef CC_TEST_STUB_LAYER_TREE_HOST_SINGLE_THREAD_CLIENT_H_ |
| 6 #define CC_TEST_STUB_LAYER_TREE_HOST_SINGLE_THREAD_CLIENT_H_ | 6 #define CC_TEST_STUB_LAYER_TREE_HOST_SINGLE_THREAD_CLIENT_H_ |
| 7 | 7 |
| 8 #include "cc/trees/layer_tree_host_single_thread_client.h" | 8 #include "cc/trees/layer_tree_host_single_thread_client.h" |
| 9 | 9 |
| 10 namespace cc { | 10 namespace cc { |
| 11 | 11 |
| 12 class StubLayerTreeHostSingleThreadClient | 12 class StubLayerTreeHostSingleThreadClient |
| 13 : public LayerTreeHostSingleThreadClient { | 13 : public LayerTreeHostSingleThreadClient { |
| 14 public: | 14 public: |
| 15 ~StubLayerTreeHostSingleThreadClient() override; | 15 ~StubLayerTreeHostSingleThreadClient() override; |
| 16 | 16 |
| 17 // LayerTreeHostSingleThreadClient implementation. | 17 // LayerTreeHostSingleThreadClient implementation. |
| 18 void RequestScheduleComposite() override {} | 18 void RequestScheduleComposite() override {} |
| 19 void RequestScheduleAnimation() override {} | 19 void RequestScheduleAnimation() override {} |
| 20 void DidPostSwapBuffers() override {} | 20 void DidSubmitCompositorFrame() override {} |
| 21 void DidReceiveCompositorFrameAck() override {} | 21 void DidLoseCompositorFrameSink() override {} |
| 22 void DidAbortSwapBuffers() override {} | |
| 23 }; | 22 }; |
| 24 | 23 |
| 25 } // namespace cc | 24 } // namespace cc |
| 26 | 25 |
| 27 #endif // CC_TEST_STUB_LAYER_TREE_HOST_SINGLE_THREAD_CLIENT_H_ | 26 #endif // CC_TEST_STUB_LAYER_TREE_HOST_SINGLE_THREAD_CLIENT_H_ |
| OLD | NEW |