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

Side by Side Diff: third_party/WebKit/Source/core/layout/line/InlineFlowBox.cpp

Issue 2809363002: Rewrite references to "wtf/" to "platform/wtf/" in core/layout. (Closed)
Patch Set: Created 3 years, 8 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) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. 2 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc.
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Library General Public License for more details. 13 * Library General Public License for more details.
14 * 14 *
15 * You should have received a copy of the GNU Library General Public License 15 * You should have received a copy of the GNU Library General Public License
16 * along with this library; see the file COPYING.LIB. If not, write to 16 * along with this library; see the file COPYING.LIB. If not, write to
17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 * Boston, MA 02110-1301, USA. 18 * Boston, MA 02110-1301, USA.
19 */ 19 */
20 20
21 #include "core/layout/line/InlineFlowBox.h" 21 #include "core/layout/line/InlineFlowBox.h"
22 22
23 #include <math.h>
24 #include <algorithm>
23 #include "core/CSSPropertyNames.h" 25 #include "core/CSSPropertyNames.h"
24 #include "core/dom/Document.h" 26 #include "core/dom/Document.h"
25 #include "core/layout/HitTestResult.h" 27 #include "core/layout/HitTestResult.h"
26 #include "core/layout/api/LineLayoutAPIShim.h" 28 #include "core/layout/api/LineLayoutAPIShim.h"
27 #include "core/layout/api/LineLayoutBox.h" 29 #include "core/layout/api/LineLayoutBox.h"
28 #include "core/layout/api/LineLayoutInline.h" 30 #include "core/layout/api/LineLayoutInline.h"
29 #include "core/layout/api/LineLayoutListMarker.h" 31 #include "core/layout/api/LineLayoutListMarker.h"
30 #include "core/layout/api/LineLayoutRubyBase.h" 32 #include "core/layout/api/LineLayoutRubyBase.h"
31 #include "core/layout/api/LineLayoutRubyRun.h" 33 #include "core/layout/api/LineLayoutRubyRun.h"
32 #include "core/layout/api/LineLayoutRubyText.h" 34 #include "core/layout/api/LineLayoutRubyText.h"
33 #include "core/layout/line/GlyphOverflow.h" 35 #include "core/layout/line/GlyphOverflow.h"
34 #include "core/layout/line/InlineTextBox.h" 36 #include "core/layout/line/InlineTextBox.h"
35 #include "core/layout/line/RootInlineBox.h" 37 #include "core/layout/line/RootInlineBox.h"
36 #include "core/paint/BoxPainter.h" 38 #include "core/paint/BoxPainter.h"
37 #include "core/paint/InlineFlowBoxPainter.h" 39 #include "core/paint/InlineFlowBoxPainter.h"
38 #include "core/style/ShadowList.h" 40 #include "core/style/ShadowList.h"
39 #include "platform/fonts/Font.h" 41 #include "platform/fonts/Font.h"
40 #include "wtf/PtrUtil.h" 42 #include "platform/wtf/PtrUtil.h"
41 #include <algorithm>
42 #include <math.h>
43 43
44 namespace blink { 44 namespace blink {
45 45
46 struct SameSizeAsInlineFlowBox : public InlineBox { 46 struct SameSizeAsInlineFlowBox : public InlineBox {
47 void* pointers[5]; 47 void* pointers[5];
48 uint32_t bitfields : 23; 48 uint32_t bitfields : 23;
49 }; 49 };
50 50
51 static_assert(sizeof(InlineFlowBox) == sizeof(SameSizeAsInlineFlowBox), 51 static_assert(sizeof(InlineFlowBox) == sizeof(SameSizeAsInlineFlowBox),
52 "InlineFlowBox should stay small"); 52 "InlineFlowBox should stay small");
(...skipping 1700 matching lines...) Expand 10 before | Expand all | Expand 10 after
1753 DCHECK_EQ(child->prevOnLine(), prev); 1753 DCHECK_EQ(child->prevOnLine(), prev);
1754 prev = child; 1754 prev = child;
1755 } 1755 }
1756 DCHECK_EQ(prev, m_lastChild); 1756 DCHECK_EQ(prev, m_lastChild);
1757 #endif 1757 #endif
1758 } 1758 }
1759 1759
1760 #endif 1760 #endif
1761 1761
1762 } // namespace blink 1762 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/line/InlineBox.cpp ('k') | third_party/WebKit/Source/core/layout/line/InlineIterator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698