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

Unified Diff: cc/trees/layer_tree_host_impl.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/layer_tree_host_impl.h
diff --git a/cc/trees/layer_tree_host_impl.h b/cc/trees/layer_tree_host_impl.h
index cb7b9cfe71b5d4e2a30310c73bec88ecfdb85e48..52d01fac1a6d793d82f676a2e918d4fb16651f2b 100644
--- a/cc/trees/layer_tree_host_impl.h
+++ b/cc/trees/layer_tree_host_impl.h
@@ -12,6 +12,7 @@
#include <unordered_map>
#include <vector>
+#include "base/callback.h"
#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
#include "base/time/time.h"
@@ -79,6 +80,8 @@ class UIResourceRequest;
struct ScrollAndScaleSet;
class Viewport;
+using BeginFrameCallbackList = std::vector<base::Closure>;
+
enum class GpuRasterizationStatus {
ON,
ON_FORCED,
@@ -457,6 +460,8 @@ class CC_EXPORT LayerTreeHostImpl
const gfx::Transform& DrawTransform() const;
+ scoped_ptr<BeginFrameCallbackList> ProcessLayerTreeMutations();
+
scoped_ptr<ScrollAndScaleSet> ProcessScrollDeltas();
void set_max_memory_needed_bytes(size_t bytes) {

Powered by Google App Engine
This is Rietveld 408576698