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

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

Issue 652593003: Web Animations: Plumb compositor group id through animation creation and start/finish notifications (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Pass groupId to createAnimation. Created 6 years, 2 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 | Annotate | Revision Log
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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 145
146 // Returns true if the assignment actually changed the assigned squashing la yer. 146 // Returns true if the assignment actually changed the assigned squashing la yer.
147 bool updateSquashingLayerAssignment(RenderLayer* squashedLayer, const Render Layer& owningLayer, size_t nextSquashedLayerIndex); 147 bool updateSquashingLayerAssignment(RenderLayer* squashedLayer, const Render Layer& owningLayer, size_t nextSquashedLayerIndex);
148 void removeRenderLayerFromSquashingGraphicsLayer(const RenderLayer*); 148 void removeRenderLayerFromSquashingGraphicsLayer(const RenderLayer*);
149 149
150 void finishAccumulatingSquashingLayers(size_t nextSquashedLayerIndex); 150 void finishAccumulatingSquashingLayers(size_t nextSquashedLayerIndex);
151 void updateRenderingContext(); 151 void updateRenderingContext();
152 void updateShouldFlattenTransform(); 152 void updateShouldFlattenTransform();
153 153
154 // GraphicsLayerClient interface 154 // GraphicsLayerClient interface
155 virtual void notifyAnimationStarted(const GraphicsLayer*, double monotonicTi me) override; 155 virtual void notifyAnimationStarted(const GraphicsLayer*, double monotonicTi me, int group) override;
156 virtual void paintContents(const GraphicsLayer*, GraphicsContext&, GraphicsL ayerPaintingPhase, const IntRect& clip) override; 156 virtual void paintContents(const GraphicsLayer*, GraphicsContext&, GraphicsL ayerPaintingPhase, const IntRect& clip) override;
157 virtual bool isTrackingPaintInvalidations() const override; 157 virtual bool isTrackingPaintInvalidations() const override;
158 158
159 #if ENABLE(ASSERT) 159 #if ENABLE(ASSERT)
160 virtual void verifyNotPainting() override; 160 virtual void verifyNotPainting() override;
161 #endif 161 #endif
162 162
163 LayoutRect contentsBox() const; 163 LayoutRect contentsBox() const;
164 164
165 GraphicsLayer* layerForHorizontalScrollbar() const { return m_layerForHorizo ntalScrollbar.get(); } 165 GraphicsLayer* layerForHorizontalScrollbar() const { return m_layerForHorizo ntalScrollbar.get(); }
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
423 unsigned m_isMainFrameRenderViewLayer : 1; 423 unsigned m_isMainFrameRenderViewLayer : 1;
424 unsigned m_requiresOwnBackingStoreForIntrinsicReasons : 1; 424 unsigned m_requiresOwnBackingStoreForIntrinsicReasons : 1;
425 unsigned m_requiresOwnBackingStoreForAncestorReasons : 1; 425 unsigned m_requiresOwnBackingStoreForAncestorReasons : 1;
426 unsigned m_backgroundLayerPaintsFixedRootBackground : 1; 426 unsigned m_backgroundLayerPaintsFixedRootBackground : 1;
427 unsigned m_scrollingContentsAreEmpty : 1; 427 unsigned m_scrollingContentsAreEmpty : 1;
428 }; 428 };
429 429
430 } // namespace blink 430 } // namespace blink
431 431
432 #endif // CompositedLayerMapping_h 432 #endif // CompositedLayerMapping_h
OLDNEW
« no previous file with comments | « Source/core/frame/PinchViewport.cpp ('k') | Source/core/rendering/compositing/CompositedLayerMapping.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698