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

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

Issue 1269123002: Preparation for combining paths of focus rings and outlines (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove debug from fast/css/focus-ring-recursive-continuations.html Created 5 years, 4 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 | Annotate | Revision Log
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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 InlineBox* firstLineBoxIncludingCulling() const { return alwaysCreateLineBox es() ? firstLineBox() : culledInlineFirstLineBox(); } 79 InlineBox* firstLineBoxIncludingCulling() const { return alwaysCreateLineBox es() ? firstLineBox() : culledInlineFirstLineBox(); }
80 InlineBox* lastLineBoxIncludingCulling() const { return alwaysCreateLineBoxe s() ? lastLineBox() : culledInlineLastLineBox(); } 80 InlineBox* lastLineBoxIncludingCulling() const { return alwaysCreateLineBoxe s() ? lastLineBox() : culledInlineLastLineBox(); }
81 81
82 LayoutBoxModelObject* virtualContinuation() const final { return continuatio n(); } 82 LayoutBoxModelObject* virtualContinuation() const final { return continuatio n(); }
83 LayoutInline* inlineElementContinuation() const; 83 LayoutInline* inlineElementContinuation() const;
84 84
85 void updateDragState(bool dragOn) final; 85 void updateDragState(bool dragOn) final;
86 86
87 LayoutSize offsetForInFlowPositionedInline(const LayoutBox& child) const; 87 LayoutSize offsetForInFlowPositionedInline(const LayoutBox& child) const;
88 88
89 void addFocusRingRects(Vector<LayoutRect>&, const LayoutPoint& additionalOff set) const final; 89 void addOutlineRects(Vector<LayoutRect>&, const LayoutPoint& additionalOffse t) const final;
90 90
91 using LayoutBoxModelObject::continuation; 91 using LayoutBoxModelObject::continuation;
92 using LayoutBoxModelObject::setContinuation; 92 using LayoutBoxModelObject::setContinuation;
93 93
94 bool alwaysCreateLineBoxes() const { return alwaysCreateLineBoxesForLayoutIn line(); } 94 bool alwaysCreateLineBoxes() const { return alwaysCreateLineBoxesForLayoutIn line(); }
95 void setAlwaysCreateLineBoxes(bool alwaysCreateLineBoxes = true) { setAlways CreateLineBoxesForLayoutInline(alwaysCreateLineBoxes); } 95 void setAlwaysCreateLineBoxes(bool alwaysCreateLineBoxes = true) { setAlways CreateLineBoxesForLayoutInline(alwaysCreateLineBoxes); }
96 void updateAlwaysCreateLineBoxes(bool fullLayout); 96 void updateAlwaysCreateLineBoxes(bool fullLayout);
97 97
98 LayoutRect localCaretRect(InlineBox*, int, LayoutUnit* extraWidthToEndOfLine ) final; 98 LayoutRect localCaretRect(InlineBox*, int, LayoutUnit* extraWidthToEndOfLine ) final;
99 99
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 192
193 LayoutObjectChildList m_children; 193 LayoutObjectChildList m_children;
194 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. 194 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.
195 }; 195 };
196 196
197 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutInline, isLayoutInline()); 197 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutInline, isLayoutInline());
198 198
199 } // namespace blink 199 } // namespace blink
200 200
201 #endif // LayoutInline_h 201 #endif // LayoutInline_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698