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

Unified Diff: cc/trees/proxy_common.h

Issue 1602343002: compositor-worker: cc->blink mutation plumbing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@compositor-worker-ian-patch
Patch Set: Created 4 years, 9 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_common.h
diff --git a/cc/trees/proxy_common.h b/cc/trees/proxy_common.h
index 046f1056ea96e0bac347b50943e38610da1e84a6..9425364dcca7ae78191eab374369a70392a44110 100644
--- a/cc/trees/proxy_common.h
+++ b/cc/trees/proxy_common.h
@@ -7,6 +7,7 @@
#include <stddef.h>
+#include "base/callback_forward.h"
#include "cc/base/cc_export.h"
#include "cc/output/begin_frame_args.h"
#include "cc/trees/layer_tree_host_common.h"
@@ -19,12 +20,15 @@ class BeginMainFrameAndCommitState;
class LayerTreeHost;
+using BeginFrameCallbackList = std::vector<base::Closure>;
+
struct CC_EXPORT BeginMainFrameAndCommitState {
BeginMainFrameAndCommitState();
~BeginMainFrameAndCommitState();
unsigned int begin_frame_id;
BeginFrameArgs begin_frame_args;
+ scoped_ptr<BeginFrameCallbackList> begin_frame_callbacks;
scoped_ptr<ScrollAndScaleSet> scroll_info;
size_t memory_allocation_limit_bytes;
bool evicted_ui_resources;

Powered by Google App Engine
This is Rietveld 408576698