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

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

Issue 2547053003: s/ passed(...) / WTF::passed(...) / to avoid future ambiguity w/ base::Passed. (Closed)
Patch Set: Rebasing... Created 4 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 /* 1 /*
2 * Copyright (C) 2003, 2006, 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2003, 2006, 2007, 2008 Apple Inc. All rights reserved.
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 bool onlyEditableLeaves); 152 bool onlyEditableLeaves);
153 InlineBox* closestLeafChildForLogicalLeftPosition( 153 InlineBox* closestLeafChildForLogicalLeftPosition(
154 LayoutUnit, 154 LayoutUnit,
155 bool onlyEditableLeaves = false); 155 bool onlyEditableLeaves = false);
156 156
157 void appendFloat(LayoutBox* floatingBox) { 157 void appendFloat(LayoutBox* floatingBox) {
158 ASSERT(!isDirty()); 158 ASSERT(!isDirty());
159 if (m_floats) 159 if (m_floats)
160 m_floats->append(floatingBox); 160 m_floats->append(floatingBox);
161 else 161 else
162 m_floats = wrapUnique(new Vector<LayoutBox*>(1, floatingBox)); 162 m_floats = WTF::wrapUnique(new Vector<LayoutBox*>(1, floatingBox));
163 } 163 }
164 164
165 Vector<LayoutBox*>* floatsPtr() { 165 Vector<LayoutBox*>* floatsPtr() {
166 ASSERT(!isDirty()); 166 ASSERT(!isDirty());
167 return m_floats.get(); 167 return m_floats.get();
168 } 168 }
169 169
170 void extractLineBoxFromLayoutObject() final; 170 void extractLineBoxFromLayoutObject() final;
171 void attachLineBoxToLayoutObject() final; 171 void attachLineBoxToLayoutObject() final;
172 void removeLineBoxFromLayoutObject() final; 172 void removeLineBoxFromLayoutObject() final;
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 LayoutUnit m_lineBottom; 230 LayoutUnit m_lineBottom;
231 LayoutUnit m_lineTopWithLeading; 231 LayoutUnit m_lineTopWithLeading;
232 LayoutUnit m_lineBottomWithLeading; 232 LayoutUnit m_lineBottomWithLeading;
233 LayoutUnit m_selectionBottom; 233 LayoutUnit m_selectionBottom;
234 LayoutUnit m_paginationStrut; 234 LayoutUnit m_paginationStrut;
235 }; 235 };
236 236
237 } // namespace blink 237 } // namespace blink
238 238
239 #endif // RootInlineBox_h 239 #endif // RootInlineBox_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698