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

Unified Diff: cc/trees/layer_tree_host_impl.h

Issue 2717553005: cc: Glue LTHI and Scheduler changes for checker-imaging. (Closed)
Patch Set: .. Created 3 years, 10 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/trees/layer_tree_host.cc ('k') | cc/trees/layer_tree_host_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_host_impl.h
diff --git a/cc/trees/layer_tree_host_impl.h b/cc/trees/layer_tree_host_impl.h
index 37f1306110fe427509ac97d7469cd7462cb8ae28..b54dcbb728ea80bf656d48af29b7102caa6d978a 100644
--- a/cc/trees/layer_tree_host_impl.h
+++ b/cc/trees/layer_tree_host_impl.h
@@ -235,6 +235,7 @@ class CC_EXPORT LayerTreeHostImpl
DISALLOW_COPY_AND_ASSIGN(FrameData);
};
+ virtual void DidSendBeginMainFrame() {}
virtual void BeginMainFrameAborted(
CommitEarlyOutReason reason,
std::vector<std::unique_ptr<SwapPromise>> swap_promises);
@@ -253,7 +254,8 @@ class CC_EXPORT LayerTreeHostImpl
// Analogous to a commit, this function is used to create a sync tree and
// add impl-side invalidations to it.
- void InvalidateContentOnImplSide();
+ // virtual for testing.
+ virtual void InvalidateContentOnImplSide();
void SetTreeLayerFilterMutated(ElementId element_id,
LayerTreeImpl* tree,
@@ -318,6 +320,10 @@ class CC_EXPORT LayerTreeHostImpl
// immediately if any notifications had been blocked while blocking.
virtual void BlockNotifyReadyToActivateForTesting(bool block);
+ // Prevents notifying the |client_| when an impl side invalidation request is
+ // made. When unblocked, the disabled request will immediately be called.
+ virtual void BlockImplSideInvalidationRequestsForTesting(bool block);
+
// Resets all of the trees to an empty state.
void ResetTreesForTesting();
« no previous file with comments | « cc/trees/layer_tree_host.cc ('k') | cc/trees/layer_tree_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698