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

Side by Side Diff: Source/core/layout/compositing/CompositedDeprecatedPaintLayerMapping.h

Issue 1131833002: [Sketch] Animations: Torpedo the old intrusive animation system. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@scroll
Patch Set: Delete more. Created 5 years, 7 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
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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 133
134 // Returns true if the assignment actually changed the assigned squashing la yer. 134 // Returns true if the assignment actually changed the assigned squashing la yer.
135 bool updateSquashingLayerAssignment(DeprecatedPaintLayer* squashedLayer, con st DeprecatedPaintLayer& owningLayer, size_t nextSquashedLayerIndex); 135 bool updateSquashingLayerAssignment(DeprecatedPaintLayer* squashedLayer, con st DeprecatedPaintLayer& owningLayer, size_t nextSquashedLayerIndex);
136 void removeLayerFromSquashingGraphicsLayer(const DeprecatedPaintLayer*); 136 void removeLayerFromSquashingGraphicsLayer(const DeprecatedPaintLayer*);
137 137
138 void finishAccumulatingSquashingLayers(size_t nextSquashedLayerIndex); 138 void finishAccumulatingSquashingLayers(size_t nextSquashedLayerIndex);
139 void updateRenderingContext(); 139 void updateRenderingContext();
140 void updateShouldFlattenTransform(); 140 void updateShouldFlattenTransform();
141 141
142 // GraphicsLayerClient interface 142 // GraphicsLayerClient interface
143 virtual void notifyAnimationStarted(const GraphicsLayer*, double monotonicTi me, int group) override;
144 virtual void paintContents(const GraphicsLayer*, GraphicsContext&, GraphicsL ayerPaintingPhase, const IntRect& clip) override; 143 virtual void paintContents(const GraphicsLayer*, GraphicsContext&, GraphicsL ayerPaintingPhase, const IntRect& clip) override;
145 virtual bool isTrackingPaintInvalidations() const override; 144 virtual bool isTrackingPaintInvalidations() const override;
146 145
147 #if ENABLE(ASSERT) 146 #if ENABLE(ASSERT)
148 virtual void verifyNotPainting() override; 147 virtual void verifyNotPainting() override;
149 #endif 148 #endif
150 149
151 LayoutRect contentsBox() const; 150 LayoutRect contentsBox() const;
152 151
153 GraphicsLayer* layerForHorizontalScrollbar() const { return m_layerForHorizo ntalScrollbar.get(); } 152 GraphicsLayer* layerForHorizontalScrollbar() const { return m_layerForHorizo ntalScrollbar.get(); }
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
414 unsigned m_pendingUpdateScope : 2; 413 unsigned m_pendingUpdateScope : 2;
415 unsigned m_isMainFrameLayoutViewLayer : 1; 414 unsigned m_isMainFrameLayoutViewLayer : 1;
416 415
417 unsigned m_backgroundLayerPaintsFixedRootBackground : 1; 416 unsigned m_backgroundLayerPaintsFixedRootBackground : 1;
418 unsigned m_scrollingContentsAreEmpty : 1; 417 unsigned m_scrollingContentsAreEmpty : 1;
419 }; 418 };
420 419
421 } // namespace blink 420 } // namespace blink
422 421
423 #endif // CompositedDeprecatedPaintLayerMapping_h 422 #endif // CompositedDeprecatedPaintLayerMapping_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698