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

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

Issue 1422773008: Fixing remaining VC++ 2015 64-bit build breaks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removing unneeded include Created 5 years 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 TracedLayoutObject_h 5 #ifndef TracedLayoutObject_h
6 #define TracedLayoutObject_h 6 #define TracedLayoutObject_h
7 7
8 #include "platform/EventTracer.h" 8 #include "platform/EventTracer.h"
9 #include "platform/geometry/LayoutRect.h" 9 #include "platform/geometry/LayoutRect.h"
10 #include "wtf/Vector.h" 10 #include "wtf/Vector.h"
11 11
12 namespace blink { 12 namespace blink {
13 13
14 class JSONObject; 14 class JSONObject;
15 class LayoutObject; 15 class LayoutObject;
16 class LayoutView; 16 class LayoutView;
17 17
18 class TracedLayoutObject : public TraceEvent::ConvertableToTraceFormat { 18 class TracedLayoutObject : public TraceEvent::ConvertableToTraceFormat {
19 WTF_MAKE_NONCOPYABLE(TracedLayoutObject); 19 WTF_MAKE_NONCOPYABLE(TracedLayoutObject);
20 public: 20 public:
21 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> create(const LayoutV iew&, bool traceGeometry = true); 21 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> create(const LayoutV iew&, bool traceGeometry = true);
22 22
23 String asTraceFormat() const override; 23 String asTraceFormat() const override;
24 24
25 private: 25 private:
26 explicit TracedLayoutObject(const LayoutObject&, bool traceGeometry); 26 explicit TracedLayoutObject(const LayoutObject&, bool traceGeometry);
27 27
28 PassRefPtr<JSONObject> toJSON() const; 28 PassRefPtr<JSONObject> toJSON() const;
29 29
30 unsigned long m_address; 30 uintptr_t m_address;
31 bool m_isAnonymous; 31 bool m_isAnonymous;
32 bool m_isPositioned; 32 bool m_isPositioned;
33 bool m_isRelPositioned; 33 bool m_isRelPositioned;
34 bool m_isStickyPositioned; 34 bool m_isStickyPositioned;
35 bool m_isFloating; 35 bool m_isFloating;
36 bool m_selfNeeds; 36 bool m_selfNeeds;
37 bool m_positionedMovement; 37 bool m_positionedMovement;
38 bool m_childNeeds; 38 bool m_childNeeds;
39 bool m_posChildNeeds; 39 bool m_posChildNeeds;
40 bool m_isTableCell; 40 bool m_isTableCell;
41 String m_name; 41 String m_name;
42 String m_tag; 42 String m_tag;
43 String m_id; 43 String m_id;
44 Vector<String> m_classNames; 44 Vector<String> m_classNames;
45 IntRect m_absRect; 45 IntRect m_absRect;
46 LayoutRect m_rect; 46 LayoutRect m_rect;
47 unsigned m_row; 47 unsigned m_row;
48 unsigned m_col; 48 unsigned m_col;
49 unsigned m_rowSpan; 49 unsigned m_rowSpan;
50 unsigned m_colSpan; 50 unsigned m_colSpan;
51 Vector<RefPtr<TracedLayoutObject>> m_children; 51 Vector<RefPtr<TracedLayoutObject>> m_children;
52 }; 52 };
53 53
54 } // namespace blink 54 } // namespace blink
55 55
56 #endif // TracedLayoutObject_h 56 #endif // TracedLayoutObject_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698