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, 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 Loading... |
105 virtual void setText(PassRefPtr<StringImpl>, bool force = false); | 105 virtual void setText(PassRefPtr<StringImpl>, bool force = false); |
106 void setTextWithOffset(PassRefPtr<StringImpl>, unsigned offset, unsigned len
, bool force = false); | 106 void setTextWithOffset(PassRefPtr<StringImpl>, unsigned offset, unsigned len
, bool force = false); |
107 | 107 |
108 virtual void transformText(); | 108 virtual void transformText(); |
109 | 109 |
110 virtual bool canBeSelectionLeaf() const { return true; } | 110 virtual bool canBeSelectionLeaf() const { return true; } |
111 virtual void setSelectionState(SelectionState s) OVERRIDE FINAL; | 111 virtual void setSelectionState(SelectionState s) OVERRIDE FINAL; |
112 virtual LayoutRect selectionRectForRepaint(const RenderLayerModelObject* rep
aintContainer, bool clipToVisibleContent = true) OVERRIDE; | 112 virtual LayoutRect selectionRectForRepaint(const RenderLayerModelObject* rep
aintContainer, bool clipToVisibleContent = true) OVERRIDE; |
113 virtual LayoutRect localCaretRect(InlineBox*, int caretOffset, LayoutUnit* e
xtraWidthToEndOfLine = 0); | 113 virtual LayoutRect localCaretRect(InlineBox*, int caretOffset, LayoutUnit* e
xtraWidthToEndOfLine = 0); |
114 | 114 |
115 LayoutUnit marginLeft() const { return minimumValueForLength(style()->margin
Left(), 0, view()); } | 115 LayoutUnit marginLeft() const { return minimumValueForLength(style()->margin
Left(), 0); } |
116 LayoutUnit marginRight() const { return minimumValueForLength(style()->margi
nRight(), 0, view()); } | 116 LayoutUnit marginRight() const { return minimumValueForLength(style()->margi
nRight(), 0); } |
117 | 117 |
118 virtual LayoutRect clippedOverflowRectForRepaint(const RenderLayerModelObjec
t* repaintContainer) const OVERRIDE FINAL; | 118 virtual LayoutRect clippedOverflowRectForRepaint(const RenderLayerModelObjec
t* repaintContainer) const OVERRIDE FINAL; |
119 | 119 |
120 InlineTextBox* firstTextBox() const { return m_firstTextBox; } | 120 InlineTextBox* firstTextBox() const { return m_firstTextBox; } |
121 InlineTextBox* lastTextBox() const { return m_lastTextBox; } | 121 InlineTextBox* lastTextBox() const { return m_lastTextBox; } |
122 | 122 |
123 virtual int caretMinOffset() const; | 123 virtual int caretMinOffset() const; |
124 virtual int caretMaxOffset() const; | 124 virtual int caretMaxOffset() const; |
125 unsigned renderedTextLength() const; | 125 unsigned renderedTextLength() const; |
126 | 126 |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 inline void RenderText::checkConsistency() const | 228 inline void RenderText::checkConsistency() const |
229 { | 229 { |
230 } | 230 } |
231 #endif | 231 #endif |
232 | 232 |
233 void applyTextTransform(const RenderStyle*, String&, UChar); | 233 void applyTextTransform(const RenderStyle*, String&, UChar); |
234 | 234 |
235 } // namespace WebCore | 235 } // namespace WebCore |
236 | 236 |
237 #endif // RenderText_h | 237 #endif // RenderText_h |
OLD | NEW |