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

Unified Diff: cc/test/fake_layer_tree_host_impl_client.h

Issue 2726343004: cc: Optimize decode scheduling for checker-images. (Closed)
Patch Set: rebase Created 3 years, 8 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/test/fake_layer_tree_host_impl.h ('k') | cc/test/fake_layer_tree_host_impl_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_layer_tree_host_impl_client.h
diff --git a/cc/test/fake_layer_tree_host_impl_client.h b/cc/test/fake_layer_tree_host_impl_client.h
index 4bcc5b098a911f5f67789608a8b689bafabce47d..4dd405ddab916bb966146d35edbee2704da9a622 100644
--- a/cc/test/fake_layer_tree_host_impl_client.h
+++ b/cc/test/fake_layer_tree_host_impl_client.h
@@ -35,7 +35,17 @@ class FakeLayerTreeHostImplClient : public LayerTreeHostImplClient {
void DidPrepareTiles() override {}
void DidCompletePageScaleAnimationOnImplThread() override {}
void OnDrawForCompositorFrameSink(bool resourceless_software_draw) override {}
- void NeedsImplSideInvalidation() override {}
+ void NeedsImplSideInvalidation() override;
+
+ void reset_did_request_impl_side_invalidation() {
+ did_request_impl_side_invalidation_ = false;
+ }
+ bool did_request_impl_side_invalidation() const {
+ return did_request_impl_side_invalidation_;
+ }
+
+ private:
+ bool did_request_impl_side_invalidation_ = false;
};
} // namespace cc
« no previous file with comments | « cc/test/fake_layer_tree_host_impl.h ('k') | cc/test/fake_layer_tree_host_impl_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698