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_CLIENT_H_ | 5 #ifndef CC_TEST_STUB_LAYER_TREE_HOST_CLIENT_H_ |
6 #define CC_TEST_STUB_LAYER_TREE_HOST_CLIENT_H_ | 6 #define CC_TEST_STUB_LAYER_TREE_HOST_CLIENT_H_ |
7 | 7 |
8 #include "cc/trees/layer_tree_host_client.h" | 8 #include "cc/trees/layer_tree_host_client.h" |
9 | 9 |
10 namespace cc { | 10 namespace cc { |
(...skipping 16 matching lines...) Expand all Loading... |
27 void RecordWheelAndTouchScrollingCount(bool has_scrolled_by_wheel, | 27 void RecordWheelAndTouchScrollingCount(bool has_scrolled_by_wheel, |
28 bool has_scrolled_by_touch) override {} | 28 bool has_scrolled_by_touch) override {} |
29 void RequestNewCompositorFrameSink() override {} | 29 void RequestNewCompositorFrameSink() override {} |
30 void DidInitializeCompositorFrameSink() override {} | 30 void DidInitializeCompositorFrameSink() override {} |
31 void DidFailToInitializeCompositorFrameSink() override {} | 31 void DidFailToInitializeCompositorFrameSink() override {} |
32 void WillCommit() override {} | 32 void WillCommit() override {} |
33 void DidCommit() override {} | 33 void DidCommit() override {} |
34 void DidCommitAndDrawFrame() override {} | 34 void DidCommitAndDrawFrame() override {} |
35 void DidReceiveCompositorFrameAck() override {} | 35 void DidReceiveCompositorFrameAck() override {} |
36 void DidCompletePageScaleAnimation() override {} | 36 void DidCompletePageScaleAnimation() override {} |
| 37 |
| 38 bool IsForSubframe() override; |
37 }; | 39 }; |
38 | 40 |
39 } // namespace cc | 41 } // namespace cc |
40 | 42 |
41 #endif // CC_TEST_STUB_LAYER_TREE_HOST_CLIENT_H_ | 43 #endif // CC_TEST_STUB_LAYER_TREE_HOST_CLIENT_H_ |
OLD | NEW |