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

Unified Diff: cc/blink/mutation_conversions.h

Issue 1547893003: WIP - compositor worker mega patch. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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/blink/cc_blink_tests.gyp ('k') | cc/blink/mutation_conversions.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/blink/mutation_conversions.h
diff --git a/cc/blink/mutation_conversions.h b/cc/blink/mutation_conversions.h
new file mode 100644
index 0000000000000000000000000000000000000000..8b91f256104d3ad063a3546973dfa1c547f6f1e5
--- /dev/null
+++ b/cc/blink/mutation_conversions.h
@@ -0,0 +1,26 @@
+// Copyright 2015 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 CC_BLINK_MUTATION_CONVERSIONS_H_
+#define CC_BLINK_MUTATION_CONVERSIONS_H_
+
+#include "cc/animation/layer_tree_mutation.h"
+#include "cc/blink/cc_blink_export.h"
+#include "third_party/WebKit/public/platform/WebMutation.h"
+
+namespace cc_blink {
+
+// TODO(vollick): once the repos are merged, this whole sorry business can be
+// deleted since we can share the compositor proxy mutation types.
+CC_BLINK_EXPORT void convertToBlinkMutations(
+ const cc::LayerTreeMutationMap& source,
+ blink::WebMutationMap* destination);
+
+CC_BLINK_EXPORT void convertFromBlinkMutations(
+ const blink::WebMutationMap& source,
+ cc::LayerTreeMutationMap* destination);
+
+} // namespace cc_blink
+
+#endif // CC_BLINK_MUTATION_CONVERSIONS_H_
« no previous file with comments | « cc/blink/cc_blink_tests.gyp ('k') | cc/blink/mutation_conversions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698