Chromium Code Reviews| 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 |