| 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-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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 float firstRunX() const; | 106 float firstRunX() const; |
| 107 float firstRunY() const; | 107 float firstRunY() const; |
| 108 | 108 |
| 109 virtual void setText(PassRefPtr<StringImpl>, bool force = false); | 109 virtual void setText(PassRefPtr<StringImpl>, bool force = false); |
| 110 void setTextWithOffset(PassRefPtr<StringImpl>, unsigned offset, unsigned len
, bool force = false); | 110 void setTextWithOffset(PassRefPtr<StringImpl>, unsigned offset, unsigned len
, bool force = false); |
| 111 | 111 |
| 112 virtual void transformText(); | 112 virtual void transformText(); |
| 113 | 113 |
| 114 virtual bool canBeSelectionLeaf() const OVERRIDE { return true; } | 114 virtual bool canBeSelectionLeaf() const OVERRIDE { return true; } |
| 115 virtual void setSelectionState(SelectionState s) OVERRIDE FINAL; | 115 virtual void setSelectionState(SelectionState s) OVERRIDE FINAL; |
| 116 virtual LayoutRect selectionRectForPaintInvalidation(const RenderLayerModelO
bject* paintInvalidationContainer, bool clipToVisibleContent = true) OVERRIDE; | 116 virtual LayoutRect selectionRectForPaintInvalidation(const RenderLayerModelO
bject* paintInvalidationContainer, bool clipToVisibleContent = true) const OVERR
IDE; |
| 117 virtual LayoutRect localCaretRect(InlineBox*, int caretOffset, LayoutUnit* e
xtraWidthToEndOfLine = 0) OVERRIDE; | 117 virtual LayoutRect localCaretRect(InlineBox*, int caretOffset, LayoutUnit* e
xtraWidthToEndOfLine = 0) OVERRIDE; |
| 118 | 118 |
| 119 LayoutUnit marginLeft() const { return minimumValueForLength(style()->margin
Left(), 0); } | 119 LayoutUnit marginLeft() const { return minimumValueForLength(style()->margin
Left(), 0); } |
| 120 LayoutUnit marginRight() const { return minimumValueForLength(style()->margi
nRight(), 0); } | 120 LayoutUnit marginRight() const { return minimumValueForLength(style()->margi
nRight(), 0); } |
| 121 | 121 |
| 122 virtual LayoutRect clippedOverflowRectForPaintInvalidation(const RenderLayer
ModelObject* paintInvalidationContainer, const PaintInvalidationState* = 0) cons
t OVERRIDE FINAL; | 122 virtual LayoutRect clippedOverflowRectForPaintInvalidation(const RenderLayer
ModelObject* paintInvalidationContainer, const PaintInvalidationState* = 0) cons
t OVERRIDE FINAL; |
| 123 virtual const RenderLayerModelObject* containerForPaintInvalidation() const
OVERRIDE; | 123 virtual const RenderLayerModelObject* containerForPaintInvalidation() const
OVERRIDE; |
| 124 | 124 |
| 125 InlineTextBox* firstTextBox() const { return m_firstTextBox; } | 125 InlineTextBox* firstTextBox() const { return m_firstTextBox; } |
| 126 InlineTextBox* lastTextBox() const { return m_lastTextBox; } | 126 InlineTextBox* lastTextBox() const { return m_lastTextBox; } |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 244 inline RenderText* Text::renderer() const | 244 inline RenderText* Text::renderer() const |
| 245 { | 245 { |
| 246 return toRenderText(CharacterData::renderer()); | 246 return toRenderText(CharacterData::renderer()); |
| 247 } | 247 } |
| 248 | 248 |
| 249 void applyTextTransform(const RenderStyle*, String&, UChar); | 249 void applyTextTransform(const RenderStyle*, String&, UChar); |
| 250 | 250 |
| 251 } // namespace blink | 251 } // namespace blink |
| 252 | 252 |
| 253 #endif // RenderText_h | 253 #endif // RenderText_h |
| OLD | NEW |