Index: third_party/WebKit/public/platform/WebMutatorClient.h |
diff --git a/third_party/WebKit/public/platform/WebMutatorClient.h b/third_party/WebKit/public/platform/WebMutatorClient.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..01e850eeb96cbf501b6dfca92680d26555adc486 |
--- /dev/null |
+++ b/third_party/WebKit/public/platform/WebMutatorClient.h |
@@ -0,0 +1,23 @@ |
+// 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 WebMutatorClient_h |
+#define WebMutatorClient_h |
+ |
+#include "public/platform/WebCommon.h" |
+#include "public/platform/WebMutation.h" |
+ |
+namespace blink { |
+ |
+// This class only exists so that blink can instantiate a LayerTreeMutator |
+// to pass to the layer tree view. |
+class BLINK_EXPORT WebMutatorClient { |
+public: |
+ virtual ~WebMutatorClient() {} |
+ |
+ virtual void setNeedsMutate() = 0; |
+}; |
+ |
+} // namespace blink |
+#endif // WebMutatorClient_h |