OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
4 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights
reserved. | 4 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 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 10 matching lines...) Expand all Loading... |
21 | 21 |
22 #include "config.h" | 22 #include "config.h" |
23 #include "core/dom/CharacterData.h" | 23 #include "core/dom/CharacterData.h" |
24 | 24 |
25 #include "core/dom/Document.h" | 25 #include "core/dom/Document.h" |
26 #include "core/dom/EventNames.h" | 26 #include "core/dom/EventNames.h" |
27 #include "core/dom/ExceptionCode.h" | 27 #include "core/dom/ExceptionCode.h" |
28 #include "core/dom/MutationEvent.h" | 28 #include "core/dom/MutationEvent.h" |
29 #include "core/dom/MutationObserverInterestGroup.h" | 29 #include "core/dom/MutationObserverInterestGroup.h" |
30 #include "core/dom/MutationRecord.h" | 30 #include "core/dom/MutationRecord.h" |
31 #include "core/dom/NodeRenderingContext.h" | |
32 #include "core/dom/Text.h" | 31 #include "core/dom/Text.h" |
33 #include "core/dom/WebCoreMemoryInstrumentation.h" | 32 #include "core/dom/WebCoreMemoryInstrumentation.h" |
34 #include "core/editing/FrameSelection.h" | 33 #include "core/editing/FrameSelection.h" |
35 #include "core/inspector/InspectorInstrumentation.h" | 34 #include "core/inspector/InspectorInstrumentation.h" |
36 #include "core/platform/text/TextBreakIterator.h" | 35 #include "core/platform/text/TextBreakIterator.h" |
37 #include "core/rendering/RenderText.h" | |
38 #include "core/rendering/style/StyleInheritedData.h" | |
39 | 36 |
40 using namespace std; | 37 using namespace std; |
41 | 38 |
42 namespace WebCore { | 39 namespace WebCore { |
43 | 40 |
44 void CharacterData::atomize() | 41 void CharacterData::atomize() |
45 { | 42 { |
46 m_data = AtomicString(m_data); | 43 m_data = AtomicString(m_data); |
47 } | 44 } |
48 | 45 |
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
251 { | 248 { |
252 return static_cast<int>(length()); | 249 return static_cast<int>(length()); |
253 } | 250 } |
254 | 251 |
255 bool CharacterData::offsetInCharacters() const | 252 bool CharacterData::offsetInCharacters() const |
256 { | 253 { |
257 return true; | 254 return true; |
258 } | 255 } |
259 | 256 |
260 } // namespace WebCore | 257 } // namespace WebCore |
OLD | NEW |