OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef WebCompositorMutableStateProvider_h | |
6 #define WebCompositorMutableStateProvider_h | |
7 | |
8 #include <cstdint> | |
9 | |
10 namespace blink { | |
11 | |
12 class WebCompositorMutableState; | |
13 | |
14 // This class is a window onto compositor-owned state. It vends out wrappers | |
15 // around per-element bits of this state. | |
16 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
| |
17 public: | |
18 virtual ~WebCompositorMutableStateProvider() { } | |
19 | |
20 // The caller is expected to take ownership. | |
21 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
| |
22 }; | |
23 | |
24 } // namespace blink | |
25 | |
26 #endif // WebCompositorMutableStateProvider_h | |
OLD | NEW |