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: Source/core/rendering/RenderInline.h

Issue 620753006: Rendering API cleanup (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Patch for landing Created 6 years, 2 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) 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 virtual void absoluteQuads(Vector<FloatQuad>&, bool* wasFixed) const OVERRID E; 61 virtual void absoluteQuads(Vector<FloatQuad>&, bool* wasFixed) const OVERRID E;
62 62
63 virtual LayoutSize offsetFromContainer(const RenderObject*, const LayoutPoin t&, bool* offsetDependsOnPoint = 0) const OVERRIDE FINAL; 63 virtual LayoutSize offsetFromContainer(const RenderObject*, const LayoutPoin t&, bool* offsetDependsOnPoint = 0) const OVERRIDE FINAL;
64 64
65 IntRect linesBoundingBox() const; 65 IntRect linesBoundingBox() const;
66 LayoutRect linesVisualOverflowBoundingBox() const; 66 LayoutRect linesVisualOverflowBoundingBox() const;
67 67
68 InlineFlowBox* createAndAppendInlineFlowBox(); 68 InlineFlowBox* createAndAppendInlineFlowBox();
69 69
70 void dirtyLineBoxes(bool fullLayout); 70 void dirtyLineBoxes(bool fullLayout);
71 void deleteLineBoxTree();
72 71
73 RenderLineBoxList* lineBoxes() { return &m_lineBoxes; } 72 RenderLineBoxList* lineBoxes() { return &m_lineBoxes; }
74 const RenderLineBoxList* lineBoxes() const { return &m_lineBoxes; } 73 const RenderLineBoxList* lineBoxes() const { return &m_lineBoxes; }
75 74
76 InlineFlowBox* firstLineBox() const { return m_lineBoxes.firstLineBox(); } 75 InlineFlowBox* firstLineBox() const { return m_lineBoxes.firstLineBox(); }
77 InlineFlowBox* lastLineBox() const { return m_lineBoxes.lastLineBox(); } 76 InlineFlowBox* lastLineBox() const { return m_lineBoxes.lastLineBox(); }
78 InlineBox* firstLineBoxIncludingCulling() const { return alwaysCreateLineBox es() ? firstLineBox() : culledInlineFirstLineBox(); } 77 InlineBox* firstLineBoxIncludingCulling() const { return alwaysCreateLineBox es() ? firstLineBox() : culledInlineFirstLineBox(); }
79 InlineBox* lastLineBoxIncludingCulling() const { return alwaysCreateLineBoxe s() ? lastLineBox() : culledInlineLastLineBox(); } 78 InlineBox* lastLineBoxIncludingCulling() const { return alwaysCreateLineBoxe s() ? lastLineBox() : culledInlineLastLineBox(); }
80 79
81 virtual RenderBoxModelObject* virtualContinuation() const OVERRIDE FINAL { r eturn continuation(); } 80 virtual RenderBoxModelObject* virtualContinuation() const OVERRIDE FINAL { r eturn continuation(); }
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 181
183 RenderObjectChildList m_children; 182 RenderObjectChildList m_children;
184 RenderLineBoxList m_lineBoxes; // All of the line boxes created for this i nline flow. For example, <i>Hello<br>world.</i> will have two <i> line boxes. 183 RenderLineBoxList m_lineBoxes; // All of the line boxes created for this i nline flow. For example, <i>Hello<br>world.</i> will have two <i> line boxes.
185 }; 184 };
186 185
187 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderInline, isRenderInline()); 186 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderInline, isRenderInline());
188 187
189 } // namespace blink 188 } // namespace blink
190 189
191 #endif // RenderInline_h 190 #endif // RenderInline_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderImageResourceStyleImage.h ('k') | Source/core/rendering/RenderInline.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698