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

Unified Diff: cc/trees/proxy_main.h

Issue 2778223005: Plumb activation time to main (Closed)
Patch Set: add baseline test in layer_tree_host_unittest_proxy; initialize source_frame_number is all ctors 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
Index: cc/trees/proxy_main.h
diff --git a/cc/trees/proxy_main.h b/cc/trees/proxy_main.h
index 3d97276193aa75690a6e8c6d0c2c5a60e9b1d57d..4ff01a7c4e2dfad5675c53b2b869381854575cad 100644
--- a/cc/trees/proxy_main.h
+++ b/cc/trees/proxy_main.h
@@ -61,6 +61,10 @@ class CC_EXPORT ProxyMain : public Proxy {
return final_pipeline_stage_;
}
+ BeginFrameArgs BeginFrameArgsForTesting() {
+ return begin_frame_args_for_testing_;
+ }
+
private:
// Proxy implementation.
bool IsStarted() const override;
@@ -129,6 +133,8 @@ class CC_EXPORT ProxyMain : public Proxy {
// run before we destroy it on the impl thread.
std::unique_ptr<ProxyImpl> proxy_impl_;
+ BeginFrameArgs begin_frame_args_for_testing_;
brianderson 2017/04/13 22:36:37 Can you store this in LayerTreeTest from an overri
panicker 2017/04/14 22:02:45 Can you elaborate on what you mean exactly: - Stor
panicker 2017/04/17 21:54:50 Addressed
+
base::WeakPtrFactory<ProxyMain> weak_factory_;
DISALLOW_COPY_AND_ASSIGN(ProxyMain);

Powered by Google App Engine
This is Rietveld 408576698