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

Side by Side Diff: Source/core/rendering/RenderText.h

Issue 332543002: Rename Repaint to Paint Invalidation Part 4 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/rendering/RenderTableSection.cpp ('k') | Source/core/rendering/RenderText.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, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv ed. 4 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv ed.
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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 float firstRunX() const; 105 float firstRunX() const;
106 float firstRunY() const; 106 float firstRunY() const;
107 107
108 virtual void setText(PassRefPtr<StringImpl>, bool force = false); 108 virtual void setText(PassRefPtr<StringImpl>, bool force = false);
109 void setTextWithOffset(PassRefPtr<StringImpl>, unsigned offset, unsigned len , bool force = false); 109 void setTextWithOffset(PassRefPtr<StringImpl>, unsigned offset, unsigned len , bool force = false);
110 110
111 virtual void transformText(); 111 virtual void transformText();
112 112
113 virtual bool canBeSelectionLeaf() const OVERRIDE { return true; } 113 virtual bool canBeSelectionLeaf() const OVERRIDE { return true; }
114 virtual void setSelectionState(SelectionState s) OVERRIDE FINAL; 114 virtual void setSelectionState(SelectionState s) OVERRIDE FINAL;
115 virtual LayoutRect selectionRectForRepaint(const RenderLayerModelObject* rep aintContainer, bool clipToVisibleContent = true) OVERRIDE; 115 virtual LayoutRect selectionRectForPaintInvalidation(const RenderLayerModelO bject* paintInvalidationContainer, bool clipToVisibleContent = true) OVERRIDE;
116 virtual LayoutRect localCaretRect(InlineBox*, int caretOffset, LayoutUnit* e xtraWidthToEndOfLine = 0) OVERRIDE; 116 virtual LayoutRect localCaretRect(InlineBox*, int caretOffset, LayoutUnit* e xtraWidthToEndOfLine = 0) OVERRIDE;
117 117
118 LayoutUnit marginLeft() const { return minimumValueForLength(style()->margin Left(), 0); } 118 LayoutUnit marginLeft() const { return minimumValueForLength(style()->margin Left(), 0); }
119 LayoutUnit marginRight() const { return minimumValueForLength(style()->margi nRight(), 0); } 119 LayoutUnit marginRight() const { return minimumValueForLength(style()->margi nRight(), 0); }
120 120
121 virtual LayoutRect clippedOverflowRectForRepaint(const RenderLayerModelObjec t* repaintContainer) const OVERRIDE FINAL; 121 virtual LayoutRect clippedOverflowRectForPaintInvalidation(const RenderLayer ModelObject* paintInvalidationContainer) const OVERRIDE FINAL;
122 122
123 InlineTextBox* firstTextBox() const { return m_firstTextBox; } 123 InlineTextBox* firstTextBox() const { return m_firstTextBox; }
124 InlineTextBox* lastTextBox() const { return m_lastTextBox; } 124 InlineTextBox* lastTextBox() const { return m_lastTextBox; }
125 125
126 virtual int caretMinOffset() const OVERRIDE; 126 virtual int caretMinOffset() const OVERRIDE;
127 virtual int caretMaxOffset() const OVERRIDE; 127 virtual int caretMaxOffset() const OVERRIDE;
128 unsigned renderedTextLength() const; 128 unsigned renderedTextLength() const;
129 129
130 virtual int previousOffset(int current) const OVERRIDE FINAL; 130 virtual int previousOffset(int current) const OVERRIDE FINAL;
131 virtual int previousOffsetForBackwardDeletion(int current) const OVERRIDE FI NAL; 131 virtual int previousOffsetForBackwardDeletion(int current) const OVERRIDE FI NAL;
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 inline void RenderText::checkConsistency() const 229 inline void RenderText::checkConsistency() const
230 { 230 {
231 } 231 }
232 #endif 232 #endif
233 233
234 void applyTextTransform(const RenderStyle*, String&, UChar); 234 void applyTextTransform(const RenderStyle*, String&, UChar);
235 235
236 } // namespace WebCore 236 } // namespace WebCore
237 237
238 #endif // RenderText_h 238 #endif // RenderText_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderTableSection.cpp ('k') | Source/core/rendering/RenderText.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698