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

Side by Side Diff: Source/core/rendering/RenderLayer.h

Issue 23455031: New UMA stats for stacking container opt-in measurements. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: nit Created 7 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
« no previous file with comments | « no previous file | Source/core/rendering/RenderLayer.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2003, 2009, 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2003, 2009, 2012 Apple Inc. All rights reserved.
3 * 3 *
4 * Portions are Copyright (C) 1998 Netscape Communications Corporation. 4 * Portions are Copyright (C) 1998 Netscape Communications Corporation.
5 * 5 *
6 * Other contributors: 6 * Other contributors:
7 * Robert O'Callahan <roc+@cs.cmu.edu> 7 * Robert O'Callahan <roc+@cs.cmu.edu>
8 * David Baron <dbaron@fas.harvard.edu> 8 * David Baron <dbaron@fas.harvard.edu>
9 * Christian Biesinger <cbiesinger@web.de> 9 * Christian Biesinger <cbiesinger@web.de>
10 * Randall Jesup <rjesup@wgate.com> 10 * Randall Jesup <rjesup@wgate.com>
(...skipping 1107 matching lines...) Expand 10 before | Expand all | Expand 10 after
1118 1118
1119 // This is true if we have an out-of-flow positioned descendant whose 1119 // This is true if we have an out-of-flow positioned descendant whose
1120 // containing block is our ancestor. If this is the case, the descendant 1120 // containing block is our ancestor. If this is the case, the descendant
1121 // may fall outside of our clip preventing things like opting into 1121 // may fall outside of our clip preventing things like opting into
1122 // composited scrolling (which causes clipping of all descendants). 1122 // composited scrolling (which causes clipping of all descendants).
1123 unsigned m_hasUnclippedDescendant : 1; 1123 unsigned m_hasUnclippedDescendant : 1;
1124 1124
1125 unsigned m_isUnclippedDescendant : 1; 1125 unsigned m_isUnclippedDescendant : 1;
1126 1126
1127 unsigned m_needsCompositedScrolling : 1; 1127 unsigned m_needsCompositedScrolling : 1;
1128 unsigned m_needsCompositedScrollingHasBeenRecorded : 1;
1129 unsigned m_willUseCompositedScrollingHasBeenRecorded : 1;
1130
1131 unsigned m_isScrollableAreaHasBeenRecorded : 1;
1128 1132
1129 // If this is true, then no non-descendant appears between any of our 1133 // If this is true, then no non-descendant appears between any of our
1130 // descendants in stacking order. This is one of the requirements of being 1134 // descendants in stacking order. This is one of the requirements of being
1131 // able to safely become a stacking context. 1135 // able to safely become a stacking context.
1132 unsigned m_canBePromotedToStackingContainer : 1; 1136 unsigned m_canBePromotedToStackingContainer : 1;
1133 unsigned m_canBePromotedToStackingContainerDirty : 1; 1137 unsigned m_canBePromotedToStackingContainerDirty : 1;
1134 1138
1135 const unsigned m_isRootLayer : 1; 1139 const unsigned m_isRootLayer : 1;
1136 1140
1137 unsigned m_usedTransparency : 1; // Tracks whether we need to close a transp arent layer, i.e., whether 1141 unsigned m_usedTransparency : 1; // Tracks whether we need to close a transp arent layer, i.e., whether
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
1298 1302
1299 } // namespace WebCore 1303 } // namespace WebCore
1300 1304
1301 #ifndef NDEBUG 1305 #ifndef NDEBUG
1302 // Outside the WebCore namespace for ease of invocation from gdb. 1306 // Outside the WebCore namespace for ease of invocation from gdb.
1303 void showLayerTree(const WebCore::RenderLayer*); 1307 void showLayerTree(const WebCore::RenderLayer*);
1304 void showLayerTree(const WebCore::RenderObject*); 1308 void showLayerTree(const WebCore::RenderObject*);
1305 #endif 1309 #endif
1306 1310
1307 #endif // RenderLayer_h 1311 #endif // RenderLayer_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/rendering/RenderLayer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698