// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CC_TEST_FAKE_CHANNEL_IMPL_H_ #define CC_TEST_FAKE_CHANNEL_IMPL_H_ #include "base/macros.h" #include "cc/trees/channel_impl.h" namespace cc { class FakeChannelImpl : public ChannelImpl { public: FakeChannelImpl(); ~FakeChannelImpl() override {} void DidCompleteSwapBuffers() override {} void SetRendererCapabilitiesMainCopy( const RendererCapabilities& capabilities) override {} void BeginMainFrameNotExpectedSoon() override {} void DidCommitAndDrawFrame() override {} void SetAnimationEvents(scoped_ptr queue) override; void DidLoseOutputSurface() override {} void RequestNewOutputSurface() override {} void DidInitializeOutputSurface( bool success, const RendererCapabilities& capabilities) override {} void DidCompletePageScaleAnimation() override {} void PostFrameTimingEventsOnMain( scoped_ptr composite_events, scoped_ptr main_frame_events) override {} void BeginMainFrame(scoped_ptr begin_main_frame_state) override {} }; } // namespace cc #endif // CC_TEST_FAKE_CHANNEL_IMPL_H_