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

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

Issue 498193003: Add |GraphicsLayerDebugInfo::getAnnotatedInvalidationRects| (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: tkent-san review Created 6 years, 3 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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 bool updateRequiresOwnBackingStoreForAncestorReasons(const RenderLayer* comp ositingAncestor); 125 bool updateRequiresOwnBackingStoreForAncestorReasons(const RenderLayer* comp ositingAncestor);
126 126
127 // Updates whether a backing store is needed for intrinsic reasons (that is, based on the 127 // Updates whether a backing store is needed for intrinsic reasons (that is, based on the
128 // layer's own properties or compositing reasons); returns true if the intri nsic need for 128 // layer's own properties or compositing reasons); returns true if the intri nsic need for
129 // a backing store changed. 129 // a backing store changed.
130 bool updateRequiresOwnBackingStoreForIntrinsicReasons(); 130 bool updateRequiresOwnBackingStoreForIntrinsicReasons();
131 131
132 void setSquashingContentsNeedDisplay(); 132 void setSquashingContentsNeedDisplay();
133 void setContentsNeedDisplay(); 133 void setContentsNeedDisplay();
134 // r is in the coordinate space of the layer's render object 134 // r is in the coordinate space of the layer's render object
135 void setContentsNeedDisplayInRect(const LayoutRect&); 135 void setContentsNeedDisplayInRect(const LayoutRect&, WebInvalidationDebugAnn otations);
136 136
137 // Notification from the renderer that its content changed. 137 // Notification from the renderer that its content changed.
138 void contentChanged(ContentChangeType); 138 void contentChanged(ContentChangeType);
139 139
140 LayoutRect compositedBounds() const { return m_compositedBounds; } 140 LayoutRect compositedBounds() const { return m_compositedBounds; }
141 IntRect pixelSnappedCompositedBounds() const; 141 IntRect pixelSnappedCompositedBounds() const;
142 142
143 void positionOverflowControlsLayers(const IntSize& offsetFromRoot); 143 void positionOverflowControlsLayers(const IntSize& offsetFromRoot);
144 bool hasUnpositionedOverflowControlsLayers() const; 144 bool hasUnpositionedOverflowControlsLayers() const;
145 145
(...skipping 277 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/rendering/RenderObject.cpp ('k') | Source/core/rendering/compositing/CompositedLayerMapping.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698