1 // Copyright 2014 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.
5 #ifndef CC_TEST_FAKE_RENDERER_CLIENT_H_
6 #define CC_TEST_FAKE_RENDERER_CLIENT_H_
8 #include "cc/output/renderer.h"
12 class FakeRendererClient
: public RendererClient
{
16 // RendererClient methods.
17 virtual void SetFullRootLayerDamage() OVERRIDE
;
18 virtual void RunOnDemandRasterTask(Task
* on_demand_raster_task
) OVERRIDE
{}
20 // Methods added for test.
21 int set_full_root_layer_damage_count() const {
22 return set_full_root_layer_damage_count_
;
26 int set_full_root_layer_damage_count_
;
31 #endif // CC_TEST_FAKE_RENDERER_CLIENT_H_