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

Side by Side Diff: third_party/WebKit/Source/core/layout/DepthOrderedLayoutObjectList.h

Issue 2391893004: Reformat comments in core/layout up until LayoutBox (Closed)
Patch Set: Rebase w/HEAD (again) Created 4 years, 2 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef DepthOrderedLayoutObjectList_h 5 #ifndef DepthOrderedLayoutObjectList_h
6 #define DepthOrderedLayoutObjectList_h 6 #define DepthOrderedLayoutObjectList_h
7 7
8 #include "wtf/Allocator.h" 8 #include "wtf/Allocator.h"
9 #include "wtf/HashSet.h" 9 #include "wtf/HashSet.h"
10 #include "wtf/Vector.h" 10 #include "wtf/Vector.h"
11 11
12 namespace blink { 12 namespace blink {
13 13
14 class LayoutObject; 14 class LayoutObject;
15 15
16 // Put data inside a forward-declared struct, to avoid including LayoutObject.h here. 16 // Put data inside a forward-declared struct, to avoid including LayoutObject.h.
17 struct DepthOrderedLayoutObjectListData; 17 struct DepthOrderedLayoutObjectListData;
18 18
19 class DepthOrderedLayoutObjectList { 19 class DepthOrderedLayoutObjectList {
20 public: 20 public:
21 DepthOrderedLayoutObjectList(); 21 DepthOrderedLayoutObjectList();
22 ~DepthOrderedLayoutObjectList(); 22 ~DepthOrderedLayoutObjectList();
23 23
24 void add(LayoutObject&); 24 void add(LayoutObject&);
25 void remove(LayoutObject&); 25 void remove(LayoutObject&);
26 void clear(); 26 void clear();
(...skipping 25 matching lines...) Expand all
52 const HashSet<LayoutObject*>& unordered() const; 52 const HashSet<LayoutObject*>& unordered() const;
53 const Vector<LayoutObjectWithDepth>& ordered(); 53 const Vector<LayoutObjectWithDepth>& ordered();
54 54
55 private: 55 private:
56 DepthOrderedLayoutObjectListData* m_data; 56 DepthOrderedLayoutObjectListData* m_data;
57 }; 57 };
58 58
59 } // namespace blink 59 } // namespace blink
60 60
61 #endif // DepthOrderedLayoutObjectList_h 61 #endif // DepthOrderedLayoutObjectList_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/CounterNode.cpp ('k') | third_party/WebKit/Source/core/layout/FloatingObjects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698