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

Unified Diff: third_party/WebKit/public/platform/WebCompositorMutableStateProvider.h

Issue 1447893002: compositor-worker: Introduce WebCompositorMutableState (Closed) 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
Index: third_party/WebKit/public/platform/WebCompositorMutableStateProvider.h
diff --git a/third_party/WebKit/public/platform/WebCompositorMutableStateProvider.h b/third_party/WebKit/public/platform/WebCompositorMutableStateProvider.h
new file mode 100644
index 0000000000000000000000000000000000000000..f4b5288ed2b334749ec3e6d5a73eca64683a201d
--- /dev/null
+++ b/third_party/WebKit/public/platform/WebCompositorMutableStateProvider.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 WebCompositorMutableStateProvider_h
+#define WebCompositorMutableStateProvider_h
+
+#include <cstdint>
+
+namespace blink {
+
+class WebCompositorMutableState;
+
+// This class is a window onto compositor-owned state. It vends out wrappers
+// around per-element bits of this state.
+class WebCompositorMutableStateProvider {
esprehn 2015/12/16 04:01:59 This is dead code right now, where is it going to
Ian Vollick 2015/12/23 17:34:40 At a high level, when we execute the compositor-wo
+public:
+ virtual ~WebCompositorMutableStateProvider() { }
+
+ // The caller is expected to take ownership.
+ virtual WebCompositorMutableState* getMutableStateFor(uint64_t elementId) = 0;
esprehn 2015/12/16 04:01:58 return a WebPassOwnPtr, how does the caller know w
Ian Vollick 2015/12/23 17:34:40 Done. In the current mega-patch (linked above), w
+};
+
+} // namespace blink
+
+#endif // WebCompositorMutableStateProvider_h

Powered by Google App Engine
This is Rietveld 408576698