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 { |
| 17 public: |
| 18 virtual ~WebCompositorMutableStateProvider() { } |
| 19 |
| 20 // The caller is expected to take ownership. |
| 21 virtual WebCompositorMutableState* getMutableStateFor(uint64_t elementId) =
0; |
| 22 }; |
| 23 |
| 24 } // namespace blink |
| 25 |
| 26 #endif // WebCompositorMutableStateProvider_h |
OLD | NEW |