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

Side by Side Diff: Source/core/paint/DeprecatedPaintLayerStackingNodeIterator.h

Issue 1312203004: Revert of Add documentation to 2 DeprecatedPaintLayer objects (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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 | « Source/core/paint/DeprecatedPaintLayerStackingNode.h ('k') | no next file » | 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) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 20 matching lines...) Expand all
31 #ifndef DeprecatedPaintLayerStackingNodeIterator_h 31 #ifndef DeprecatedPaintLayerStackingNodeIterator_h
32 #define DeprecatedPaintLayerStackingNodeIterator_h 32 #define DeprecatedPaintLayerStackingNodeIterator_h
33 33
34 #include "wtf/Allocator.h" 34 #include "wtf/Allocator.h"
35 #include "wtf/Noncopyable.h" 35 #include "wtf/Noncopyable.h"
36 36
37 namespace blink { 37 namespace blink {
38 38
39 enum ChildrenIteration { 39 enum ChildrenIteration {
40 NegativeZOrderChildren = 1, 40 NegativeZOrderChildren = 1,
41 // Normal flow children are not mandated by CSS 2.1 but are an artifact of
42 // our implementation: we allocate DeprecatedPaintLayers for elements that
43 // are not treated as stacking contexts and thus we need to walk them
44 // during painting and hit-testing.
45 NormalFlowChildren = 1 << 1, 41 NormalFlowChildren = 1 << 1,
46 PositiveZOrderChildren = 1 << 2, 42 PositiveZOrderChildren = 1 << 2,
47 AllChildren = NegativeZOrderChildren | NormalFlowChildren | PositiveZOrderCh ildren 43 AllChildren = NegativeZOrderChildren | NormalFlowChildren | PositiveZOrderCh ildren
48 }; 44 };
49 45
50 class DeprecatedPaintLayerStackingNode; 46 class DeprecatedPaintLayerStackingNode;
51 class DeprecatedPaintLayer; 47 class DeprecatedPaintLayer;
52 48
53 // This iterator walks the DeprecatedPaintLayerStackingNode lists in the followi ng order: 49 // This iterator walks the DeprecatedPaintLayerStackingNode lists in the followi ng order:
54 // NegativeZOrderChildren -> NormalFlowChildren -> PositiveZOrderChildren. 50 // NegativeZOrderChildren -> NormalFlowChildren -> PositiveZOrderChildren.
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 83
88 const DeprecatedPaintLayerStackingNode& m_root; 84 const DeprecatedPaintLayerStackingNode& m_root;
89 unsigned m_remainingChildren; 85 unsigned m_remainingChildren;
90 int m_index; 86 int m_index;
91 DeprecatedPaintLayer* m_currentNormalFlowChild; 87 DeprecatedPaintLayer* m_currentNormalFlowChild;
92 }; 88 };
93 89
94 } // namespace blink 90 } // namespace blink
95 91
96 #endif // DeprecatedPaintLayerStackingNodeIterator_h 92 #endif // DeprecatedPaintLayerStackingNodeIterator_h
OLDNEW
« no previous file with comments | « Source/core/paint/DeprecatedPaintLayerStackingNode.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698