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

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

Issue 2080593002: Revert of Let FrameView track object paint invalidations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@TrackInvalidation
Patch Set: Created 4 years, 6 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 * (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 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 void styleWillChange(StyleDifference, const ComputedStyle&) final { } 185 void styleWillChange(StyleDifference, const ComputedStyle&) final { }
186 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override ; 186 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override ;
187 187
188 virtual void setTextInternal(PassRefPtr<StringImpl>); 188 virtual void setTextInternal(PassRefPtr<StringImpl>);
189 virtual UChar previousCharacter() const; 189 virtual UChar previousCharacter() const;
190 190
191 void addLayerHitTestRects(LayerHitTestRects&, const PaintLayer* currentLayer , const LayoutPoint& layerOffset, const LayoutRect& containerRect) const overrid e; 191 void addLayerHitTestRects(LayerHitTestRects&, const PaintLayer* currentLayer , const LayoutPoint& layerOffset, const LayoutRect& containerRect) const overrid e;
192 192
193 virtual InlineTextBox* createTextBox(int start, unsigned short length); // S ubclassed by SVG. 193 virtual InlineTextBox* createTextBox(int start, unsigned short length); // S ubclassed by SVG.
194 194
195 void invalidateDisplayItemClients(PaintInvalidationReason) const override; 195 void invalidateDisplayItemClients(const LayoutBoxModelObject& paintInvalidat ionContainer, PaintInvalidationReason) const override;
196 196
197 private: 197 private:
198 void computePreferredLogicalWidths(float leadWidth); 198 void computePreferredLogicalWidths(float leadWidth);
199 void computePreferredLogicalWidths(float leadWidth, HashSet<const SimpleFont Data*>& fallbackFonts, FloatRect& glyphBounds); 199 void computePreferredLogicalWidths(float leadWidth, HashSet<const SimpleFont Data*>& fallbackFonts, FloatRect& glyphBounds);
200 200
201 bool computeCanUseSimpleFontCodePath() const; 201 bool computeCanUseSimpleFontCodePath() const;
202 202
203 // Make length() private so that callers that have a LayoutText* 203 // Make length() private so that callers that have a LayoutText*
204 // will use the more efficient textLength() instead, while 204 // will use the more efficient textLength() instead, while
205 // callers with a LayoutObject* can continue to use length(). 205 // callers with a LayoutObject* can continue to use length().
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 inline LayoutText* Text::layoutObject() const 291 inline LayoutText* Text::layoutObject() const
292 { 292 {
293 return toLayoutText(CharacterData::layoutObject()); 293 return toLayoutText(CharacterData::layoutObject());
294 } 294 }
295 295
296 void applyTextTransform(const ComputedStyle*, String&, UChar); 296 void applyTextTransform(const ComputedStyle*, String&, UChar);
297 297
298 } // namespace blink 298 } // namespace blink
299 299
300 #endif // LayoutText_h 300 #endif // LayoutText_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutTableCell.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutText.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698