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 Apple Inc. All rights reserved. | 4 * Copyright (C) 2004, 2005, 2006, 2007 Apple Inc. All rights reserved. |
5 * Copyright (C) 2006 Andrew Wellington (proton@wiretapped.net) | 5 * Copyright (C) 2006 Andrew Wellington (proton@wiretapped.net) |
6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) | 6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) |
7 * | 7 * |
8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
(...skipping 12 matching lines...) Expand all Loading... |
23 */ | 23 */ |
24 | 24 |
25 #include "config.h" | 25 #include "config.h" |
26 #include "core/rendering/RenderText.h" | 26 #include "core/rendering/RenderText.h" |
27 | 27 |
28 #include "core/accessibility/AXObjectCache.h" | 28 #include "core/accessibility/AXObjectCache.h" |
29 #include "core/dom/Text.h" | 29 #include "core/dom/Text.h" |
30 #include "core/fetch/TextResourceDecoder.h" | 30 #include "core/fetch/TextResourceDecoder.h" |
31 #include "core/frame/FrameView.h" | 31 #include "core/frame/FrameView.h" |
32 #include "core/page/Settings.h" | 32 #include "core/page/Settings.h" |
| 33 #include "core/rendering/AbstractInlineTextBox.h" |
33 #include "core/rendering/EllipsisBox.h" | 34 #include "core/rendering/EllipsisBox.h" |
34 #include "core/rendering/InlineTextBox.h" | 35 #include "core/rendering/InlineTextBox.h" |
35 #include "core/rendering/RenderBlock.h" | 36 #include "core/rendering/RenderBlock.h" |
36 #include "core/rendering/RenderCombineText.h" | 37 #include "core/rendering/RenderCombineText.h" |
37 #include "core/rendering/RenderLayer.h" | 38 #include "core/rendering/RenderLayer.h" |
38 #include "core/rendering/RenderView.h" | 39 #include "core/rendering/RenderView.h" |
39 #include "core/rendering/break_lines.h" | 40 #include "core/rendering/break_lines.h" |
40 #include "platform/geometry/FloatQuad.h" | 41 #include "platform/geometry/FloatQuad.h" |
41 #include "platform/text/TextBreakIterator.h" | 42 #include "platform/text/TextBreakIterator.h" |
42 #include "wtf/text/StringBuffer.h" | 43 #include "wtf/text/StringBuffer.h" |
(...skipping 1779 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1822 gSecureTextTimers = new SecureTextTimerMap; | 1823 gSecureTextTimers = new SecureTextTimerMap; |
1823 | 1824 |
1824 SecureTextTimer* secureTextTimer = gSecureTextTimers->get(this); | 1825 SecureTextTimer* secureTextTimer = gSecureTextTimers->get(this); |
1825 if (!secureTextTimer) { | 1826 if (!secureTextTimer) { |
1826 secureTextTimer = new SecureTextTimer(this); | 1827 secureTextTimer = new SecureTextTimer(this); |
1827 gSecureTextTimers->add(this, secureTextTimer); | 1828 gSecureTextTimers->add(this, secureTextTimer); |
1828 } | 1829 } |
1829 secureTextTimer->restartWithNewText(lastTypedCharacterOffset); | 1830 secureTextTimer->restartWithNewText(lastTypedCharacterOffset); |
1830 } | 1831 } |
1831 | 1832 |
| 1833 PassRefPtr<AbstractInlineTextBox> RenderText::firstAbstractInlineTextBox() |
| 1834 { |
| 1835 return AbstractInlineTextBox::getOrCreate(this, m_firstTextBox); |
| 1836 } |
| 1837 |
1832 } // namespace WebCore | 1838 } // namespace WebCore |
OLD | NEW |