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

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

Issue 2863023003: Remove use_selection_height usage in LayoutText (Closed)
Patch Set: corrected indentation Created 3 years, 7 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 | « no previous file | third_party/WebKit/Source/core/layout/LayoutText.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 * (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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 String PlainText() const; 94 String PlainText() const;
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) const;
105 bool use_selection_height = false) const;
106 105
107 void AbsoluteQuads(Vector<FloatQuad>&, 106 void AbsoluteQuads(Vector<FloatQuad>&,
108 MapCoordinatesFlags mode = 0) const final; 107 MapCoordinatesFlags mode = 0) const final;
109 void AbsoluteQuadsForRange(Vector<FloatQuad>&, 108 void AbsoluteQuadsForRange(Vector<FloatQuad>&,
110 unsigned start_offset = 0, 109 unsigned start_offset = 0,
111 unsigned end_offset = INT_MAX) const; 110 unsigned end_offset = INT_MAX) const;
112 FloatRect LocalBoundingBoxRectForAccessibility() const final; 111 FloatRect LocalBoundingBoxRectForAccessibility() const final;
113 112
114 enum ClippingOption { kNoClipping, kClipToEllipsis }; 113 enum ClippingOption { kNoClipping, kClipToEllipsis };
115 enum LocalOrAbsoluteOption { kLocalQuads, kAbsoluteQuads }; 114 enum LocalOrAbsoluteOption { kLocalQuads, kAbsoluteQuads };
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 inline LayoutText* Text::GetLayoutObject() const { 358 inline LayoutText* Text::GetLayoutObject() const {
360 return ToLayoutText(CharacterData::GetLayoutObject()); 359 return ToLayoutText(CharacterData::GetLayoutObject());
361 } 360 }
362 361
363 void ApplyTextTransform(const ComputedStyle*, String&, UChar); 362 void ApplyTextTransform(const ComputedStyle*, String&, UChar);
364 AtomicString LocaleForLineBreakIterator(const ComputedStyle&); 363 AtomicString LocaleForLineBreakIterator(const ComputedStyle&);
365 364
366 } // namespace blink 365 } // namespace blink
367 366
368 #endif // LayoutText_h 367 #endif // LayoutText_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/LayoutText.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698