blob: 179cbc5f7bcf73b57bb0f620c5fc2f415e8b62ce [file] [log] [blame]
// 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<AnimationEvents> queue) override;
void DidLoseOutputSurface() override {}
void RequestNewOutputSurface() override {}
void DidInitializeOutputSurface(
bool success,
const RendererCapabilities& capabilities) override {}
void DidCompletePageScaleAnimation() override {}
void PostFrameTimingEventsOnMain(
scoped_ptr<FrameTimingTracker::CompositeTimingSet> composite_events,
scoped_ptr<FrameTimingTracker::MainFrameTimingSet> main_frame_events)
override {}
void BeginMainFrame(scoped_ptr<BeginMainFrameAndCommitState>
begin_main_frame_state) override {}
};
} // namespace cc
#endif // CC_TEST_FAKE_CHANNEL_IMPL_H_