Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(44)

Side by Side Diff: cc/test/fake_renderer_client.h

Issue 334133002: cc: Support on demand raster with ganesh (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review3 Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « cc/surfaces/display.h ('k') | cc/test/pixel_test.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CC_TEST_FAKE_RENDERER_CLIENT_H_ 5 #ifndef CC_TEST_FAKE_RENDERER_CLIENT_H_
6 #define CC_TEST_FAKE_RENDERER_CLIENT_H_ 6 #define CC_TEST_FAKE_RENDERER_CLIENT_H_
7 7
8 #include "cc/output/renderer.h" 8 #include "cc/output/renderer.h"
9 9
10 namespace cc { 10 namespace cc {
11 11
12 class FakeRendererClient : public RendererClient { 12 class FakeRendererClient : public RendererClient {
13 public: 13 public:
14 FakeRendererClient(); 14 FakeRendererClient();
15 15
16 // RendererClient methods. 16 // RendererClient methods.
17 virtual void SetFullRootLayerDamage() OVERRIDE; 17 virtual void SetFullRootLayerDamage() OVERRIDE;
18 virtual void RunOnDemandRasterTask(Task* on_demand_raster_task) OVERRIDE {}
18 19
19 // Methods added for test. 20 // Methods added for test.
20 int set_full_root_layer_damage_count() const { 21 int set_full_root_layer_damage_count() const {
21 return set_full_root_layer_damage_count_; 22 return set_full_root_layer_damage_count_;
22 } 23 }
23 24
24 private: 25 private:
25 int set_full_root_layer_damage_count_; 26 int set_full_root_layer_damage_count_;
26 }; 27 };
27 28
28 } // namespace cc 29 } // namespace cc
29 30
30 #endif // CC_TEST_FAKE_RENDERER_CLIENT_H_ 31 #endif // CC_TEST_FAKE_RENDERER_CLIENT_H_
OLDNEW
« no previous file with comments | « cc/surfaces/display.h ('k') | cc/test/pixel_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698