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

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

Issue 474683003: Not for review - Rebase of crrev.com/62833003 Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: . Created 6 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « public/platform/Platform.h ('k') | public/platform/WebTeleportCallback.h » ('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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 // Clear the filters in use by passing in a newly instantiated 126 // Clear the filters in use by passing in a newly instantiated
127 // WebFilterOperations object. 127 // WebFilterOperations object.
128 virtual void setFilters(const WebFilterOperations&) = 0; 128 virtual void setFilters(const WebFilterOperations&) = 0;
129 129
130 // An animation delegate is notified when animations are started and 130 // An animation delegate is notified when animations are started and
131 // stopped. The WebLayer does not take ownership of the delegate, and it is 131 // stopped. The WebLayer does not take ownership of the delegate, and it is
132 // the responsibility of the client to reset the layer's delegate before 132 // the responsibility of the client to reset the layer's delegate before
133 // deleting the delegate. 133 // deleting the delegate.
134 virtual void setAnimationDelegate(WebCompositorAnimationDelegate*) = 0; 134 virtual void setAnimationDelegate(WebCompositorAnimationDelegate*) = 0;
135 135
136 // Adds an id that will be used to permit animation of a layer property via
137 // a worker thread animation.
138 virtual void addAnimatedProperty(const WebString&) = 0;
139 virtual void clearAnimatedProperties() = 0;
136 140
137 // Returns false if the animation cannot be added. 141 // Returns false if the animation cannot be added.
138 // Takes ownership of the WebCompositorAnimation object. 142 // Takes ownership of the WebCompositorAnimation object.
139 virtual bool addAnimation(WebCompositorAnimation*) = 0; 143 virtual bool addAnimation(WebCompositorAnimation*) = 0;
140 144
141 // Removes all animations with the given id. 145 // Removes all animations with the given id.
142 virtual void removeAnimation(int animationId) = 0; 146 virtual void removeAnimation(int animationId) = 0;
143 147
144 // Removes all animations with the given id targeting the given property. 148 // Removes all animations with the given id targeting the given property.
145 virtual void removeAnimation(int animationId, WebCompositorAnimation::Target Property) = 0; 149 virtual void removeAnimation(int animationId, WebCompositorAnimation::Target Property) = 0;
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 211
208 // True if the layer is not part of a tree attached to a WebLayerTreeView. 212 // True if the layer is not part of a tree attached to a WebLayerTreeView.
209 virtual bool isOrphan() const = 0; 213 virtual bool isOrphan() const = 0;
210 214
211 virtual void setWebLayerClient(WebLayerClient*) = 0; 215 virtual void setWebLayerClient(WebLayerClient*) = 0;
212 }; 216 };
213 217
214 } // namespace blink 218 } // namespace blink
215 219
216 #endif // WebLayer_h 220 #endif // WebLayer_h
OLDNEW
« no previous file with comments | « public/platform/Platform.h ('k') | public/platform/WebTeleportCallback.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698