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

Unified Diff: third_party/WebKit/public/platform/WebCompositorMutations.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: Address Vollick comments Created 4 years, 11 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: third_party/WebKit/public/platform/WebCompositorMutations.h
diff --git a/third_party/WebKit/public/platform/WebCompositorMutations.h b/third_party/WebKit/public/platform/WebCompositorMutations.h
new file mode 100644
index 0000000000000000000000000000000000000000..119231145f4578c60ec1b162ca5d1ee2ae4dfad4
--- /dev/null
+++ b/third_party/WebKit/public/platform/WebCompositorMutations.h
@@ -0,0 +1,21 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef WebCompositorMutations_h
+#define WebCompositorMutations_h
+
+#include "cc/animation/layer_tree_mutations.h"
+
+namespace blink {
+
+// This class contains the mutation data to be plumbed back to the main thread
+// after a CompositorWorker callback runs. It is a do-nothing base class since
+// these mutations are only used within blink.
+struct WebCompositorMutations : public cc::LayerTreeMutations {
+ virtual ~WebCompositorMutations() {}
+};
+
+} // namespace blink
+
+#endif // WebCompositorMutations_h

Powered by Google App Engine
This is Rietveld 408576698