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

Side by Side Diff: Source/core/rendering/compositing/CompositedLayerMapping.h

Issue 185633002: Adding monotonic only API to Blink's animation delegate interface (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Adding BLINK_PLATFORM_EXPORT back in. Created 6 years, 9 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 | « no previous file | Source/core/rendering/compositing/CompositedLayerMapping.cpp » ('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) 2009, 2010, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2009, 2010, 2011 Apple 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 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 166
167 // Returns true if the assignment actually changed the assigned squashing la yer. 167 // Returns true if the assignment actually changed the assigned squashing la yer.
168 bool updateSquashingLayerAssignment(RenderLayer*, IntSize offsetFromSquashin gCLM, size_t nextSquashedLayerIndex); 168 bool updateSquashingLayerAssignment(RenderLayer*, IntSize offsetFromSquashin gCLM, size_t nextSquashedLayerIndex);
169 void removeRenderLayerFromSquashingGraphicsLayer(const RenderLayer*); 169 void removeRenderLayerFromSquashingGraphicsLayer(const RenderLayer*);
170 170
171 void finishAccumulatingSquashingLayers(size_t nextSquashedLayerIndex); 171 void finishAccumulatingSquashingLayers(size_t nextSquashedLayerIndex);
172 void updateRenderingContext(); 172 void updateRenderingContext();
173 void updateShouldFlattenTransform(); 173 void updateShouldFlattenTransform();
174 174
175 // GraphicsLayerClient interface 175 // GraphicsLayerClient interface
176 virtual void notifyAnimationStarted(const GraphicsLayer*, double wallClockTi me, double monotonicTime) OVERRIDE; 176 virtual void notifyAnimationStarted(const GraphicsLayer*, double monotonicTi me) OVERRIDE;
177 virtual void paintContents(const GraphicsLayer*, GraphicsContext&, GraphicsL ayerPaintingPhase, const IntRect& clip) OVERRIDE; 177 virtual void paintContents(const GraphicsLayer*, GraphicsContext&, GraphicsL ayerPaintingPhase, const IntRect& clip) OVERRIDE;
178 virtual bool isTrackingRepaints() const OVERRIDE; 178 virtual bool isTrackingRepaints() const OVERRIDE;
179 179
180 PassOwnPtr<Vector<FloatRect> > collectTrackedRepaintRects() const; 180 PassOwnPtr<Vector<FloatRect> > collectTrackedRepaintRects() const;
181 181
182 #ifndef NDEBUG 182 #ifndef NDEBUG
183 virtual void verifyNotPainting() OVERRIDE; 183 virtual void verifyNotPainting() OVERRIDE;
184 #endif 184 #endif
185 185
186 LayoutRect contentsBox() const; 186 LayoutRect contentsBox() const;
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
357 bool m_isMainFrameRenderViewLayer; 357 bool m_isMainFrameRenderViewLayer;
358 bool m_requiresOwnBackingStoreForIntrinsicReasons; 358 bool m_requiresOwnBackingStoreForIntrinsicReasons;
359 bool m_requiresOwnBackingStoreForAncestorReasons; 359 bool m_requiresOwnBackingStoreForAncestorReasons;
360 bool m_canCompositeFilters; 360 bool m_canCompositeFilters;
361 bool m_backgroundLayerPaintsFixedRootBackground; 361 bool m_backgroundLayerPaintsFixedRootBackground;
362 }; 362 };
363 363
364 } // namespace WebCore 364 } // namespace WebCore
365 365
366 #endif // CompositedLayerMapping_h 366 #endif // CompositedLayerMapping_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/rendering/compositing/CompositedLayerMapping.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698