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

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

Issue 2465983002: Rename "paint invalidation rect" etc. to "visual rect". (Closed)
Patch Set: - Created 4 years, 1 month 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 * (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 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 float textWidthSoFar, 268 float textWidthSoFar,
269 TextDirection, 269 TextDirection,
270 HashSet<const SimpleFontData*>* fallbackFonts, 270 HashSet<const SimpleFontData*>* fallbackFonts,
271 FloatRect* glyphBoundsAccumulation) const; 271 FloatRect* glyphBoundsAccumulation) const;
272 272
273 void secureText(UChar mask); 273 void secureText(UChar mask);
274 274
275 bool isText() const = 275 bool isText() const =
276 delete; // This will catch anyone doing an unnecessary check. 276 delete; // This will catch anyone doing an unnecessary check.
277 277
278 LayoutRect localOverflowRectForPaintInvalidation() const override; 278 LayoutRect localVisualRect() const override;
279 279
280 void checkConsistency() const; 280 void checkConsistency() const;
281 281
282 // We put the bitfield first to minimize padding on 64-bit. 282 // We put the bitfield first to minimize padding on 64-bit.
283 283
284 // Whether or not we can be broken into multiple lines. 284 // Whether or not we can be broken into multiple lines.
285 bool m_hasBreakableChar : 1; 285 bool m_hasBreakableChar : 1;
286 // Whether or not we have a hard break (e.g., <pre> with '\n'). 286 // Whether or not we have a hard break (e.g., <pre> with '\n').
287 bool m_hasBreak : 1; 287 bool m_hasBreak : 1;
288 // Whether or not we have a variable width tab character (e.g., <pre> with 288 // Whether or not we have a variable width tab character (e.g., <pre> with
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
348 348
349 inline LayoutText* Text::layoutObject() const { 349 inline LayoutText* Text::layoutObject() const {
350 return toLayoutText(CharacterData::layoutObject()); 350 return toLayoutText(CharacterData::layoutObject());
351 } 351 }
352 352
353 void applyTextTransform(const ComputedStyle*, String&, UChar); 353 void applyTextTransform(const ComputedStyle*, String&, UChar);
354 354
355 } // namespace blink 355 } // namespace blink
356 356
357 #endif // LayoutText_h 357 #endif // LayoutText_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutTableSection.h ('k') | third_party/WebKit/Source/core/layout/LayoutText.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698