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

Side by Side Diff: third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.h

Issue 1405993008: compositor-worker: plumb element id and mutable properties (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed layout test (and logged bug) Created 5 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
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 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 // Returns true if the assignment actually changed the assigned squashing la yer. 140 // Returns true if the assignment actually changed the assigned squashing la yer.
141 bool updateSquashingLayerAssignment(PaintLayer* squashedLayer, size_t nextSq uashedLayerIndex); 141 bool updateSquashingLayerAssignment(PaintLayer* squashedLayer, size_t nextSq uashedLayerIndex);
142 void removeLayerFromSquashingGraphicsLayer(const PaintLayer*); 142 void removeLayerFromSquashingGraphicsLayer(const PaintLayer*);
143 #if ENABLE(ASSERT) 143 #if ENABLE(ASSERT)
144 bool verifyLayerInSquashingVector(const PaintLayer*); 144 bool verifyLayerInSquashingVector(const PaintLayer*);
145 #endif 145 #endif
146 146
147 void finishAccumulatingSquashingLayers(size_t nextSquashedLayerIndex); 147 void finishAccumulatingSquashingLayers(size_t nextSquashedLayerIndex);
148 void updateRenderingContext(); 148 void updateRenderingContext();
149 void updateShouldFlattenTransform(); 149 void updateShouldFlattenTransform();
150 void updateElementIdAndMutableProperties();
150 151
151 // GraphicsLayerClient interface 152 // GraphicsLayerClient interface
152 void notifyAnimationStarted(const GraphicsLayer*, double monotonicTime, int group) override; 153 void notifyAnimationStarted(const GraphicsLayer*, double monotonicTime, int group) override;
153 void notifyFirstPaint() override; 154 void notifyFirstPaint() override;
154 void notifyFirstTextPaint() override; 155 void notifyFirstTextPaint() override;
155 void notifyFirstImagePaint() override; 156 void notifyFirstImagePaint() override;
156 157
157 void paintContents(const GraphicsLayer*, GraphicsContext&, GraphicsLayerPain tingPhase, const IntRect* clip) const override; 158 void paintContents(const GraphicsLayer*, GraphicsContext&, GraphicsLayerPain tingPhase, const IntRect* clip) const override;
158 bool isTrackingPaintInvalidations() const override; 159 bool isTrackingPaintInvalidations() const override;
159 160
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
442 unsigned m_scrollingContentsAreEmpty : 1; 443 unsigned m_scrollingContentsAreEmpty : 1;
443 444
444 mutable IntRect m_previousPaintInterestRect; 445 mutable IntRect m_previousPaintInterestRect;
445 446
446 friend class CompositedLayerMappingTest; 447 friend class CompositedLayerMappingTest;
447 }; 448 };
448 449
449 } // namespace blink 450 } // namespace blink
450 451
451 #endif // CompositedLayerMapping_h 452 #endif // CompositedLayerMapping_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698