| 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) const OVERR
IDE; | 116 virtual LayoutRect selectionRectForPaintInvalidation(const RenderLayerModelO
bject* paintInvalidationContainer) const OVERRIDE; |
| 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 InlineTextBox* firstTextBox() const { return m_firstTextBox; } | 122 InlineTextBox* firstTextBox() const { return m_firstTextBox; } |
| 123 InlineTextBox* lastTextBox() const { return m_lastTextBox; } | 123 InlineTextBox* lastTextBox() const { return m_lastTextBox; } |
| 124 | 124 |
| 125 virtual int caretMinOffset() const OVERRIDE; | 125 virtual int caretMinOffset() const OVERRIDE; |
| 126 virtual int caretMaxOffset() const OVERRIDE; | 126 virtual int caretMaxOffset() const OVERRIDE; |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 238 inline RenderText* Text::renderer() const | 238 inline RenderText* Text::renderer() const |
| 239 { | 239 { |
| 240 return toRenderText(CharacterData::renderer()); | 240 return toRenderText(CharacterData::renderer()); |
| 241 } | 241 } |
| 242 | 242 |
| 243 void applyTextTransform(const RenderStyle*, String&, UChar); | 243 void applyTextTransform(const RenderStyle*, String&, UChar); |
| 244 | 244 |
| 245 } // namespace blink | 245 } // namespace blink |
| 246 | 246 |
| 247 #endif // RenderText_h | 247 #endif // RenderText_h |
| OLD | NEW |