blob: 32716ea8b1dbf03154a0c394f9d98951a9ff3c81 [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<AnimationEventsVector> 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_