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

Side by Side Diff: Source/WebCore/rendering/RenderInline.h

Issue 10447080: Merge 117865 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1132/
Patch Set: Created 8 years, 6 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
« no previous file with comments | « Source/WebCore/rendering/RenderBlock.cpp ('k') | Source/WebCore/rendering/RenderInline.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. 4 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 virtual void absoluteQuads(Vector<FloatQuad>&, bool* wasFixed) const; 50 virtual void absoluteQuads(Vector<FloatQuad>&, bool* wasFixed) const;
51 51
52 virtual LayoutSize offsetFromContainer(RenderObject*, const LayoutPoint&) co nst; 52 virtual LayoutSize offsetFromContainer(RenderObject*, const LayoutPoint&) co nst;
53 53
54 IntRect linesBoundingBox() const; 54 IntRect linesBoundingBox() const;
55 LayoutRect linesVisualOverflowBoundingBox() const; 55 LayoutRect linesVisualOverflowBoundingBox() const;
56 56
57 InlineFlowBox* createAndAppendInlineFlowBox(); 57 InlineFlowBox* createAndAppendInlineFlowBox();
58 58
59 void dirtyLineBoxes(bool fullLayout); 59 void dirtyLineBoxes(bool fullLayout);
60 void deleteLineBoxTree();
60 61
61 RenderLineBoxList* lineBoxes() { return &m_lineBoxes; } 62 RenderLineBoxList* lineBoxes() { return &m_lineBoxes; }
62 const RenderLineBoxList* lineBoxes() const { return &m_lineBoxes; } 63 const RenderLineBoxList* lineBoxes() const { return &m_lineBoxes; }
63 64
64 InlineFlowBox* firstLineBox() const { return m_lineBoxes.firstLineBox(); } 65 InlineFlowBox* firstLineBox() const { return m_lineBoxes.firstLineBox(); }
65 InlineFlowBox* lastLineBox() const { return m_lineBoxes.lastLineBox(); } 66 InlineFlowBox* lastLineBox() const { return m_lineBoxes.lastLineBox(); }
66 InlineBox* firstLineBoxIncludingCulling() const { return alwaysCreateLineBox es() ? firstLineBox() : culledInlineFirstLineBox(); } 67 InlineBox* firstLineBoxIncludingCulling() const { return alwaysCreateLineBox es() ? firstLineBox() : culledInlineFirstLineBox(); }
67 InlineBox* lastLineBoxIncludingCulling() const { return alwaysCreateLineBoxe s() ? lastLineBox() : culledInlineLastLineBox(); } 68 InlineBox* lastLineBoxIncludingCulling() const { return alwaysCreateLineBoxe s() ? lastLineBox() : culledInlineLastLineBox(); }
68 69
69 virtual RenderBoxModelObject* virtualContinuation() const { return continuat ion(); } 70 virtual RenderBoxModelObject* virtualContinuation() const { return continuat ion(); }
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 ASSERT(!object || object->isRenderInline()); 183 ASSERT(!object || object->isRenderInline());
183 return static_cast<const RenderInline*>(object); 184 return static_cast<const RenderInline*>(object);
184 } 185 }
185 186
186 // This will catch anyone doing an unnecessary cast. 187 // This will catch anyone doing an unnecessary cast.
187 void toRenderInline(const RenderInline*); 188 void toRenderInline(const RenderInline*);
188 189
189 } // namespace WebCore 190 } // namespace WebCore
190 191
191 #endif // RenderInline_h 192 #endif // RenderInline_h
OLDNEW
« no previous file with comments | « Source/WebCore/rendering/RenderBlock.cpp ('k') | Source/WebCore/rendering/RenderInline.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698