| 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. | 4 * Copyright (C) 2004, 2005, 2006, 2009, 2010, 2011 Apple Inc. |
| 5 * All rights reserved. | 5 * All rights reserved. |
| 6 * | 6 * |
| 7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
| 8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
| 9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
| 10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 */ | 22 */ |
| 23 | 23 |
| 24 #ifndef InlineTextBox_h | 24 #ifndef InlineTextBox_h |
| 25 #define InlineTextBox_h | 25 #define InlineTextBox_h |
| 26 | 26 |
| 27 #include "core/CoreExport.h" | 27 #include "core/CoreExport.h" |
| 28 #include "core/layout/api/LineLayoutText.h" | 28 #include "core/layout/api/LineLayoutText.h" |
| 29 #include "core/layout/api/SelectionState.h" | 29 #include "core/layout/api/SelectionState.h" |
| 30 #include "core/layout/line/InlineBox.h" | 30 #include "core/layout/line/InlineBox.h" |
| 31 #include "platform/text/TextRun.h" | 31 #include "platform/text/TextRun.h" |
| 32 #include "wtf/Forward.h" | 32 #include "platform/wtf/Forward.h" |
| 33 | 33 |
| 34 namespace blink { | 34 namespace blink { |
| 35 | 35 |
| 36 class DocumentMarker; | 36 class DocumentMarker; |
| 37 class GraphicsContext; | 37 class GraphicsContext; |
| 38 | 38 |
| 39 // The two truncation values below are used as tokens representing truncation | 39 // The two truncation values below are used as tokens representing truncation |
| 40 // state for the text box, are intended to be relative to |m_start|, and are set | 40 // state for the text box, are intended to be relative to |m_start|, and are set |
| 41 // directly into |m_truncation|. In the case where there is some truncation of | 41 // directly into |m_truncation|. In the case where there is some truncation of |
| 42 // the text but it is not full, |m_truncation| is set to the character offset | 42 // the text but it is not full, |m_truncation| is set to the character offset |
| (...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 240 (Expansion() && NextLeafChild() ? TextRun::kAllowTrailingExpansion | 240 (Expansion() && NextLeafChild() ? TextRun::kAllowTrailingExpansion |
| 241 : TextRun::kForbidTrailingExpansion); | 241 : TextRun::kForbidTrailingExpansion); |
| 242 } | 242 } |
| 243 }; | 243 }; |
| 244 | 244 |
| 245 DEFINE_INLINE_BOX_TYPE_CASTS(InlineTextBox); | 245 DEFINE_INLINE_BOX_TYPE_CASTS(InlineTextBox); |
| 246 | 246 |
| 247 } // namespace blink | 247 } // namespace blink |
| 248 | 248 |
| 249 #endif // InlineTextBox_h | 249 #endif // InlineTextBox_h |
| OLD | NEW |