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

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

Issue 2324603002: Move AX local bounding box calculation into LayoutObject (Closed)
Patch Set: Rebase Created 4 years, 3 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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 LayoutUnit marginBottom() const final; 132 LayoutUnit marginBottom() const final;
133 LayoutUnit marginBefore(const ComputedStyle* otherStyle = nullptr) const fin al; 133 LayoutUnit marginBefore(const ComputedStyle* otherStyle = nullptr) const fin al;
134 LayoutUnit marginAfter(const ComputedStyle* otherStyle = nullptr) const fina l; 134 LayoutUnit marginAfter(const ComputedStyle* otherStyle = nullptr) const fina l;
135 LayoutUnit marginStart(const ComputedStyle* otherStyle = nullptr) const fina l; 135 LayoutUnit marginStart(const ComputedStyle* otherStyle = nullptr) const fina l;
136 LayoutUnit marginEnd(const ComputedStyle* otherStyle = nullptr) const final; 136 LayoutUnit marginEnd(const ComputedStyle* otherStyle = nullptr) const final;
137 LayoutUnit marginOver() const final; 137 LayoutUnit marginOver() const final;
138 LayoutUnit marginUnder() const final; 138 LayoutUnit marginUnder() const final;
139 139
140 void absoluteRects(Vector<IntRect>&, const LayoutPoint& accumulatedOffset) c onst final; 140 void absoluteRects(Vector<IntRect>&, const LayoutPoint& accumulatedOffset) c onst final;
141 void absoluteQuads(Vector<FloatQuad>&) const override; 141 void absoluteQuads(Vector<FloatQuad>&) const override;
142 FloatRect localBoundingBoxRectForAccessibility() const final;
142 143
143 LayoutSize offsetFromContainer(const LayoutObject*) const final; 144 LayoutSize offsetFromContainer(const LayoutObject*) const final;
144 145
145 LayoutRect linesBoundingBox() const; 146 LayoutRect linesBoundingBox() const;
146 LayoutRect visualOverflowRect() const final; 147 LayoutRect visualOverflowRect() const final;
147 148
148 InlineFlowBox* createAndAppendInlineFlowBox(); 149 InlineFlowBox* createAndAppendInlineFlowBox();
149 150
150 void dirtyLineBoxes(bool fullLayout); 151 void dirtyLineBoxes(bool fullLayout);
151 152
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 274
274 LayoutObjectChildList m_children; 275 LayoutObjectChildList m_children;
275 LineBoxList m_lineBoxes; // All of the line boxes created for this inline fl ow. For example, <i>Hello<br>world.</i> will have two <i> line boxes. 276 LineBoxList m_lineBoxes; // All of the line boxes created for this inline fl ow. For example, <i>Hello<br>world.</i> will have two <i> line boxes.
276 }; 277 };
277 278
278 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutInline, isLayoutInline()); 279 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutInline, isLayoutInline());
279 280
280 } // namespace blink 281 } // namespace blink
281 282
282 #endif // LayoutInline_h 283 #endif // LayoutInline_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBox.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutInline.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698