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

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

Issue 1973083002: Use element id's for animations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 5 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
« no previous file with comments | « third_party/WebKit/Source/web/tests/CompositorWorkerTest.cpp ('k') | ui/compositor/layer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 26 matching lines...) Expand all
37 #include "WebString.h" 37 #include "WebString.h"
38 #include "WebVector.h" 38 #include "WebVector.h"
39 39
40 class SkMatrix44; 40 class SkMatrix44;
41 class SkImageFilter; 41 class SkImageFilter;
42 42
43 namespace cc { 43 namespace cc {
44 class Layer; 44 class Layer;
45 class LayerClient; 45 class LayerClient;
46 class FilterOperations; 46 class FilterOperations;
47 struct ElementId;
47 } 48 }
48 49
49 namespace blink { 50 namespace blink {
50 51
51 class WebLayerScrollClient; 52 class WebLayerScrollClient;
52 struct WebFloatPoint; 53 struct WebFloatPoint;
53 struct WebLayerPositionConstraint; 54 struct WebLayerPositionConstraint;
54 55
55 class WebLayer { 56 class WebLayer {
56 public: 57 public:
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 // deleting the scroll client. 191 // deleting the scroll client.
191 virtual void setScrollClient(WebLayerScrollClient*) = 0; 192 virtual void setScrollClient(WebLayerScrollClient*) = 0;
192 193
193 // Sets the cc-side layer client. 194 // Sets the cc-side layer client.
194 virtual void setLayerClient(cc::LayerClient*) = 0; 195 virtual void setLayerClient(cc::LayerClient*) = 0;
195 196
196 // Gets the underlying cc layer. 197 // Gets the underlying cc layer.
197 virtual const cc::Layer* ccLayer() const = 0; 198 virtual const cc::Layer* ccLayer() const = 0;
198 virtual cc::Layer* ccLayer() = 0; 199 virtual cc::Layer* ccLayer() = 0;
199 200
200 virtual void setElementId(uint64_t) = 0; 201 virtual void setElementId(const cc::ElementId&) = 0;
201 virtual uint64_t elementId() const = 0; 202 virtual cc::ElementId elementId() const = 0;
202 203
203 virtual void setCompositorMutableProperties(uint32_t) = 0; 204 virtual void setCompositorMutableProperties(uint32_t) = 0;
204 virtual uint32_t compositorMutableProperties() const = 0; 205 virtual uint32_t compositorMutableProperties() const = 0;
205 206
206 virtual void setHasWillChangeTransformHint(bool) = 0; 207 virtual void setHasWillChangeTransformHint(bool) = 0;
207 }; 208 };
208 209
209 } // namespace blink 210 } // namespace blink
210 211
211 #endif // WebLayer_h 212 #endif // WebLayer_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/tests/CompositorWorkerTest.cpp ('k') | ui/compositor/layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698