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 WebCompositorMutableState_h |
| 6 #define WebCompositorMutableState_h |
| 7 |
| 8 #include <cstdint> |
| 9 |
| 10 class SkMatrix44; |
| 11 |
| 12 namespace blink { |
| 13 |
| 14 class WebCompositorMutableState { |
| 15 public: |
| 16 virtual ~WebCompositorMutableState() { } |
| 17 |
| 18 virtual double opacity() const = 0; |
| 19 virtual void setOpacity(double) = 0; |
| 20 |
| 21 virtual const SkMatrix44& transform() const = 0; |
| 22 virtual void setTransform(const SkMatrix44&) = 0; |
| 23 |
| 24 virtual double scrollLeft() const = 0; |
| 25 virtual void setScrollLeft(double) = 0; |
| 26 |
| 27 virtual double scrollTop() const = 0; |
| 28 virtual void setScrollTop(double) = 0; |
| 29 }; |
| 30 |
| 31 } // namespace blink |
| 32 |
| 33 #endif // WebCompositorMutableState_h |
OLD | NEW |