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

Unified Diff: cc/test/fake_content_layer.h

Issue 19106007: cc: Allow the main thread to cancel commits (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add more comments Created 7 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/scheduler/scheduler_unittest.cc ('k') | cc/test/fake_content_layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_content_layer.h
diff --git a/cc/test/fake_content_layer.h b/cc/test/fake_content_layer.h
index 6b7a37d4c83bbace6191493781330d5b84c4ca70..191a634efd07e2eeb3e1fa782527ab7f28d85330 100644
--- a/cc/test/fake_content_layer.h
+++ b/cc/test/fake_content_layer.h
@@ -29,6 +29,10 @@ class FakeContentLayer : public ContentLayer {
ResourceUpdateQueue* queue,
const OcclusionTracker* occlusion) OVERRIDE;
+ void set_always_update_resources(bool always_update_resources) {
+ always_update_resources_ = always_update_resources;
+ }
+
virtual void PushPropertiesTo(LayerImpl* layer) OVERRIDE;
bool HaveBackingAt(int i, int j);
@@ -39,6 +43,7 @@ class FakeContentLayer : public ContentLayer {
size_t update_count_;
size_t push_properties_count_;
+ bool always_update_resources_;
};
} // namespace cc
« no previous file with comments | « cc/scheduler/scheduler_unittest.cc ('k') | cc/test/fake_content_layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698