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

Side by Side Diff: third_party/WebKit/Source/core/frame/FrameView.h

Issue 2635143003: Merge list of orthogonal writing mode roots into depth-ordered layout list. (Closed)
Patch Set: Created 3 years, 11 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 /* 1 /*
2 Copyright (C) 1997 Martin Jones (mjones@kde.org) 2 Copyright (C) 1997 Martin Jones (mjones@kde.org)
3 (C) 1998 Waldo Bastian (bastian@kde.org) 3 (C) 1998 Waldo Bastian (bastian@kde.org)
4 (C) 1998, 1999 Torben Weis (weis@kde.org) 4 (C) 1998, 1999 Torben Weis (weis@kde.org)
5 (C) 1999 Lars Knoll (knoll@kde.org) 5 (C) 1999 Lars Knoll (knoll@kde.org)
6 (C) 1999 Antti Koivisto (koivisto@kde.org) 6 (C) 1999 Antti Koivisto (koivisto@kde.org)
7 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights 7 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights
8 reserved. 8 reserved.
9 9
10 This library is free software; you can redistribute it and/or 10 This library is free software; you can redistribute it and/or
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 void scheduleRelayout(); 135 void scheduleRelayout();
136 void scheduleRelayoutOfSubtree(LayoutObject*); 136 void scheduleRelayoutOfSubtree(LayoutObject*);
137 bool layoutPending() const; 137 bool layoutPending() const;
138 bool isInPerformLayout() const; 138 bool isInPerformLayout() const;
139 139
140 void clearLayoutSubtreeRoot(const LayoutObject&); 140 void clearLayoutSubtreeRoot(const LayoutObject&);
141 void addOrthogonalWritingModeRoot(LayoutBox&); 141 void addOrthogonalWritingModeRoot(LayoutBox&);
142 void removeOrthogonalWritingModeRoot(LayoutBox&); 142 void removeOrthogonalWritingModeRoot(LayoutBox&);
143 bool hasOrthogonalWritingModeRoots() const; 143 bool hasOrthogonalWritingModeRoots() const;
144 void layoutOrthogonalWritingModeRoots(); 144 void layoutOrthogonalWritingModeRoots();
145 void scheduleOrthogonalWritingModeRootsForLayout();
145 int layoutCount() const { return m_layoutCount; } 146 int layoutCount() const { return m_layoutCount; }
146 147
147 void countObjectsNeedingLayout(unsigned& needsLayoutObjects, 148 void countObjectsNeedingLayout(unsigned& needsLayoutObjects,
148 unsigned& totalObjects, 149 unsigned& totalObjects,
149 bool& isPartial); 150 bool& isPartial);
150 151
151 bool needsLayout() const; 152 bool needsLayout() const;
152 bool checkDoesNotNeedLayout() const; 153 bool checkDoesNotNeedLayout() const;
153 void setNeedsLayout(); 154 void setNeedsLayout();
154 155
(...skipping 1068 matching lines...) Expand 10 before | Expand all | Expand 10 after
1223 widget.isFrameView()); 1224 widget.isFrameView());
1224 DEFINE_TYPE_CASTS(FrameView, 1225 DEFINE_TYPE_CASTS(FrameView,
1225 ScrollableArea, 1226 ScrollableArea,
1226 scrollableArea, 1227 scrollableArea,
1227 scrollableArea->isFrameView(), 1228 scrollableArea->isFrameView(),
1228 scrollableArea.isFrameView()); 1229 scrollableArea.isFrameView());
1229 1230
1230 } // namespace blink 1231 } // namespace blink
1231 1232
1232 #endif // FrameView_h 1233 #endif // FrameView_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698