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

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: add missing files 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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 bool updateRequiresOwnBackingStoreForAncestorReasons(const RenderLayer* comp ositingAncestor); 126 bool updateRequiresOwnBackingStoreForAncestorReasons(const RenderLayer* comp ositingAncestor);
127 127
128 // Updates whether a backing store is needed for intrinsic reasons (that is, based on the 128 // Updates whether a backing store is needed for intrinsic reasons (that is, based on the
129 // layer's own properties or compositing reasons); returns true if the intri nsic need for 129 // layer's own properties or compositing reasons); returns true if the intri nsic need for
130 // a backing store changed. 130 // a backing store changed.
131 bool updateRequiresOwnBackingStoreForIntrinsicReasons(); 131 bool updateRequiresOwnBackingStoreForIntrinsicReasons();
132 132
133 void setSquashingContentsNeedDisplay(); 133 void setSquashingContentsNeedDisplay();
134 void setContentsNeedDisplay(); 134 void setContentsNeedDisplay();
135 // r is in the coordinate space of the layer's render object 135 // r is in the coordinate space of the layer's render object
136 void setContentsNeedDisplayInRect(const LayoutRect&); 136 void setContentsNeedDisplayInRect(const LayoutRect&, WebInvalidationDebugAnn otations);
137 137
138 // Notification from the renderer that its content changed. 138 // Notification from the renderer that its content changed.
139 void contentChanged(ContentChangeType); 139 void contentChanged(ContentChangeType);
140 140
141 LayoutRect compositedBounds() const { return m_compositedBounds; } 141 LayoutRect compositedBounds() const { return m_compositedBounds; }
142 IntRect pixelSnappedCompositedBounds() const; 142 IntRect pixelSnappedCompositedBounds() const;
143 void updateCompositedBounds(); 143 void updateCompositedBounds();
144 144
145 void positionOverflowControlsLayers(const IntSize& offsetFromRoot); 145 void positionOverflowControlsLayers(const IntSize& offsetFromRoot);
146 bool hasUnpositionedOverflowControlsLayers() const; 146 bool hasUnpositionedOverflowControlsLayers() const;
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
422 unsigned m_isMainFrameRenderViewLayer : 1; 422 unsigned m_isMainFrameRenderViewLayer : 1;
423 unsigned m_requiresOwnBackingStoreForIntrinsicReasons : 1; 423 unsigned m_requiresOwnBackingStoreForIntrinsicReasons : 1;
424 unsigned m_requiresOwnBackingStoreForAncestorReasons : 1; 424 unsigned m_requiresOwnBackingStoreForAncestorReasons : 1;
425 unsigned m_backgroundLayerPaintsFixedRootBackground : 1; 425 unsigned m_backgroundLayerPaintsFixedRootBackground : 1;
426 unsigned m_scrollingContentsAreEmpty : 1; 426 unsigned m_scrollingContentsAreEmpty : 1;
427 }; 427 };
428 428
429 } // namespace blink 429 } // namespace blink
430 430
431 #endif // CompositedLayerMapping_h 431 #endif // CompositedLayerMapping_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698