Adding Peter Thatcher to the owners file.
[chromium-blink-merge.git] / cc / test / fake_renderer_client.h
blob772b44a44dafd0cb4a9c543f5effe020ea4ef0f6
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"
10 namespace cc {
12 class FakeRendererClient : public RendererClient {
13 public:
14 FakeRendererClient();
16 // RendererClient methods.
17 void SetFullRootLayerDamage() override;
19 // Methods added for test.
20 int set_full_root_layer_damage_count() const {
21 return set_full_root_layer_damage_count_;
24 private:
25 int set_full_root_layer_damage_count_;
28 } // namespace cc
30 #endif // CC_TEST_FAKE_RENDERER_CLIENT_H_