| 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, 2009, 2010, 2011 Apple Inc. All rights reserv
ed. | 4 * Copyright (C) 2004, 2005, 2006, 2009, 2010, 2011 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 : InlineBox(obj) | 43 : InlineBox(obj) |
| 44 , m_prevTextBox(0) | 44 , m_prevTextBox(0) |
| 45 , m_nextTextBox(0) | 45 , m_nextTextBox(0) |
| 46 , m_start(start) | 46 , m_start(start) |
| 47 , m_len(length) | 47 , m_len(length) |
| 48 , m_truncation(cNoTruncation) | 48 , m_truncation(cNoTruncation) |
| 49 { | 49 { |
| 50 setIsText(true); | 50 setIsText(true); |
| 51 } | 51 } |
| 52 | 52 |
| 53 LayoutText& renderer() const { return toLayoutText(InlineBox::renderer()); } | 53 LayoutText& layoutObject() const { return toLayoutText(InlineBox::layoutObje
ct()); } |
| 54 | 54 |
| 55 virtual void destroy() override final; | 55 virtual void destroy() override final; |
| 56 | 56 |
| 57 InlineTextBox* prevTextBox() const { return m_prevTextBox; } | 57 InlineTextBox* prevTextBox() const { return m_prevTextBox; } |
| 58 InlineTextBox* nextTextBox() const { return m_nextTextBox; } | 58 InlineTextBox* nextTextBox() const { return m_nextTextBox; } |
| 59 void setNextTextBox(InlineTextBox* n) { m_nextTextBox = n; } | 59 void setNextTextBox(InlineTextBox* n) { m_nextTextBox = n; } |
| 60 void setPreviousTextBox(InlineTextBox* p) { m_prevTextBox = p; } | 60 void setPreviousTextBox(InlineTextBox* p) { m_prevTextBox = p; } |
| 61 | 61 |
| 62 // FIXME: These accessors should ASSERT(!isDirty()). See https://bugs.webkit
.org/show_bug.cgi?id=97264 | 62 // FIXME: These accessors should ASSERT(!isDirty()). See https://bugs.webkit
.org/show_bug.cgi?id=97264 |
| 63 unsigned start() const { return m_start; } | 63 unsigned start() const { return m_start; } |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 } | 171 } |
| 172 }; | 172 }; |
| 173 | 173 |
| 174 DEFINE_INLINE_BOX_TYPE_CASTS(InlineTextBox); | 174 DEFINE_INLINE_BOX_TYPE_CASTS(InlineTextBox); |
| 175 | 175 |
| 176 void alignSelectionRectToDevicePixels(FloatRectWillBeLayoutRect&); | 176 void alignSelectionRectToDevicePixels(FloatRectWillBeLayoutRect&); |
| 177 | 177 |
| 178 } // namespace blink | 178 } // namespace blink |
| 179 | 179 |
| 180 #endif // InlineTextBox_h | 180 #endif // InlineTextBox_h |
| OLD | NEW |