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

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

Issue 949303002: Fix invalidation during painting of scrollbars (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: NeedsRebaseline Created 5 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 | 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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 void setContentsNeedDisplay(); 120 void setContentsNeedDisplay();
121 // r is in the coordinate space of the layer's render object 121 // r is in the coordinate space of the layer's render object
122 void setContentsNeedDisplayInRect(const LayoutRect&, PaintInvalidationReason ); 122 void setContentsNeedDisplayInRect(const LayoutRect&, PaintInvalidationReason );
123 123
124 // Notification from the renderer that its content changed. 124 // Notification from the renderer that its content changed.
125 void contentChanged(ContentChangeType); 125 void contentChanged(ContentChangeType);
126 126
127 LayoutRect compositedBounds() const { return m_compositedBounds; } 127 LayoutRect compositedBounds() const { return m_compositedBounds; }
128 IntRect pixelSnappedCompositedBounds() const; 128 IntRect pixelSnappedCompositedBounds() const;
129 129
130 void positionOverflowControlsLayers(const IntSize& offsetFromRoot); 130 void positionOverflowControlsLayers();
131 bool hasUnpositionedOverflowControlsLayers() const; 131 bool hasUnpositionedOverflowControlsLayers() const;
132 132
133 // Returns true if the assignment actually changed the assigned squashing la yer. 133 // Returns true if the assignment actually changed the assigned squashing la yer.
134 bool updateSquashingLayerAssignment(Layer* squashedLayer, const Layer& ownin gLayer, size_t nextSquashedLayerIndex); 134 bool updateSquashingLayerAssignment(Layer* squashedLayer, const Layer& ownin gLayer, size_t nextSquashedLayerIndex);
135 void removeLayerFromSquashingGraphicsLayer(const Layer*); 135 void removeLayerFromSquashingGraphicsLayer(const Layer*);
136 136
137 void finishAccumulatingSquashingLayers(size_t nextSquashedLayerIndex); 137 void finishAccumulatingSquashingLayers(size_t nextSquashedLayerIndex);
138 void updateRenderingContext(); 138 void updateRenderingContext();
139 void updateShouldFlattenTransform(); 139 void updateShouldFlattenTransform();
140 140
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
412 unsigned m_pendingUpdateScope : 2; 412 unsigned m_pendingUpdateScope : 2;
413 unsigned m_isMainFrameLayoutViewLayer : 1; 413 unsigned m_isMainFrameLayoutViewLayer : 1;
414 414
415 unsigned m_backgroundLayerPaintsFixedRootBackground : 1; 415 unsigned m_backgroundLayerPaintsFixedRootBackground : 1;
416 unsigned m_scrollingContentsAreEmpty : 1; 416 unsigned m_scrollingContentsAreEmpty : 1;
417 }; 417 };
418 418
419 } // namespace blink 419 } // namespace blink
420 420
421 #endif // CompositedLayerMapping_h 421 #endif // CompositedLayerMapping_h
OLDNEW
« no previous file with comments | « Source/core/layout/LayoutFlexibleBox.cpp ('k') | Source/core/layout/compositing/CompositedLayerMapping.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698