OLD | NEW |
1 /* | 1 /* |
2 * (C) 1999 Lars Knoll (knoll@kde.org) | 2 * (C) 1999 Lars Knoll (knoll@kde.org) |
3 * (C) 2000 Dirk Mueller (mueller@kde.org) | 3 * (C) 2000 Dirk Mueller (mueller@kde.org) |
4 * Copyright (C) 2004-2009, 2013 Apple Inc. All rights reserved. | 4 * Copyright (C) 2004-2009, 2013 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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 | 95 |
96 InlineTextBox* CreateInlineTextBox(int start, unsigned short length); | 96 InlineTextBox* CreateInlineTextBox(int start, unsigned short length); |
97 void DirtyOrDeleteLineBoxesIfNeeded(bool full_layout); | 97 void DirtyOrDeleteLineBoxesIfNeeded(bool full_layout); |
98 void DirtyLineBoxes(); | 98 void DirtyLineBoxes(); |
99 | 99 |
100 void AbsoluteRects(Vector<IntRect>&, | 100 void AbsoluteRects(Vector<IntRect>&, |
101 const LayoutPoint& accumulated_offset) const final; | 101 const LayoutPoint& accumulated_offset) const final; |
102 void AbsoluteRectsForRange(Vector<IntRect>&, | 102 void AbsoluteRectsForRange(Vector<IntRect>&, |
103 unsigned start_offset = 0, | 103 unsigned start_offset = 0, |
104 unsigned end_offset = INT_MAX, | 104 unsigned end_offset = INT_MAX, |
105 bool use_selection_height = false); | 105 bool use_selection_height = false) const; |
106 | 106 |
107 void AbsoluteQuads(Vector<FloatQuad>&, | 107 void AbsoluteQuads(Vector<FloatQuad>&, |
108 MapCoordinatesFlags mode = 0) const final; | 108 MapCoordinatesFlags mode = 0) const final; |
109 void AbsoluteQuadsForRange(Vector<FloatQuad>&, | 109 void AbsoluteQuadsForRange(Vector<FloatQuad>&, |
110 unsigned start_offset = 0, | 110 unsigned start_offset = 0, |
111 unsigned end_offset = INT_MAX, | 111 unsigned end_offset = INT_MAX, |
112 bool use_selection_height = false); | 112 bool use_selection_height = false) const; |
113 FloatRect LocalBoundingBoxRectForAccessibility() const final; | 113 FloatRect LocalBoundingBoxRectForAccessibility() const final; |
114 | 114 |
115 enum ClippingOption { kNoClipping, kClipToEllipsis }; | 115 enum ClippingOption { kNoClipping, kClipToEllipsis }; |
116 enum LocalOrAbsoluteOption { kLocalQuads, kAbsoluteQuads }; | 116 enum LocalOrAbsoluteOption { kLocalQuads, kAbsoluteQuads }; |
117 void Quads(Vector<FloatQuad>&, | 117 void Quads(Vector<FloatQuad>&, |
118 ClippingOption = kNoClipping, | 118 ClippingOption = kNoClipping, |
119 LocalOrAbsoluteOption = kAbsoluteQuads, | 119 LocalOrAbsoluteOption = kAbsoluteQuads, |
120 MapCoordinatesFlags mode = 0) const; | 120 MapCoordinatesFlags mode = 0) const; |
121 | 121 |
122 PositionWithAffinity PositionForPoint(const LayoutPoint&) override; | 122 PositionWithAffinity PositionForPoint(const LayoutPoint&) override; |
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
360 inline LayoutText* Text::GetLayoutObject() const { | 360 inline LayoutText* Text::GetLayoutObject() const { |
361 return ToLayoutText(CharacterData::GetLayoutObject()); | 361 return ToLayoutText(CharacterData::GetLayoutObject()); |
362 } | 362 } |
363 | 363 |
364 void ApplyTextTransform(const ComputedStyle*, String&, UChar); | 364 void ApplyTextTransform(const ComputedStyle*, String&, UChar); |
365 AtomicString LocaleForLineBreakIterator(const ComputedStyle&); | 365 AtomicString LocaleForLineBreakIterator(const ComputedStyle&); |
366 | 366 |
367 } // namespace blink | 367 } // namespace blink |
368 | 368 |
369 #endif // LayoutText_h | 369 #endif // LayoutText_h |
OLD | NEW |