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

Side by Side Diff: third_party/WebKit/public/platform/WebCompositorMutableState.h

Issue 1547893003: WIP - compositor worker mega patch. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 months 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 unified diff | Download patch
OLDNEW
(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
OLDNEW
« no previous file with comments | « third_party/WebKit/public/platform/Platform.h ('k') | third_party/WebKit/public/platform/WebCompositorMutableStateProvider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698