| OLD | NEW |
| (Empty) |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CC_TEST_FAKE_CHANNEL_IMPL_H_ | |
| 6 #define CC_TEST_FAKE_CHANNEL_IMPL_H_ | |
| 7 | |
| 8 #include "base/macros.h" | |
| 9 #include "cc/trees/channel_impl.h" | |
| 10 | |
| 11 namespace cc { | |
| 12 | |
| 13 class FakeChannelImpl : public ChannelImpl { | |
| 14 public: | |
| 15 FakeChannelImpl(); | |
| 16 | |
| 17 ~FakeChannelImpl() override {} | |
| 18 | |
| 19 void DidReceiveCompositorFrameAck() override {} | |
| 20 void BeginMainFrameNotExpectedSoon() override {} | |
| 21 void DidCommitAndDrawFrame() override {} | |
| 22 void SetAnimationEvents(std::unique_ptr<MutatorEvents> queue) override; | |
| 23 void DidLoseCompositorFrameSink() override {} | |
| 24 void RequestNewCompositorFrameSink() override {} | |
| 25 void DidInitializeCompositorFrameSink(bool success) override {} | |
| 26 void DidCompletePageScaleAnimation() override {} | |
| 27 void BeginMainFrame(std::unique_ptr<BeginMainFrameAndCommitState> | |
| 28 begin_main_frame_state) override {} | |
| 29 }; | |
| 30 | |
| 31 } // namespace cc | |
| 32 | |
| 33 #endif // CC_TEST_FAKE_CHANNEL_IMPL_H_ | |
| OLD | NEW |