| 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 | 4 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights |
| 5 * reserved. | 5 * 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 22 matching lines...) Expand all Loading... |
| 33 #include "core/dom/NodeComputedStyle.h" | 33 #include "core/dom/NodeComputedStyle.h" |
| 34 #include "core/dom/NodeTraversal.h" | 34 #include "core/dom/NodeTraversal.h" |
| 35 #include "core/dom/shadow/ShadowRoot.h" | 35 #include "core/dom/shadow/ShadowRoot.h" |
| 36 #include "core/events/ScopedEventQueue.h" | 36 #include "core/events/ScopedEventQueue.h" |
| 37 #include "core/layout/LayoutText.h" | 37 #include "core/layout/LayoutText.h" |
| 38 #include "core/layout/LayoutTextCombine.h" | 38 #include "core/layout/LayoutTextCombine.h" |
| 39 #include "core/layout/LayoutTextFragment.h" | 39 #include "core/layout/LayoutTextFragment.h" |
| 40 #include "core/layout/api/LayoutTextItem.h" | 40 #include "core/layout/api/LayoutTextItem.h" |
| 41 #include "core/layout/svg/LayoutSVGInlineText.h" | 41 #include "core/layout/svg/LayoutSVGInlineText.h" |
| 42 #include "core/svg/SVGForeignObjectElement.h" | 42 #include "core/svg/SVGForeignObjectElement.h" |
| 43 #include "wtf/text/CString.h" | 43 #include "platform/wtf/text/CString.h" |
| 44 #include "wtf/text/StringBuilder.h" | 44 #include "platform/wtf/text/StringBuilder.h" |
| 45 | 45 |
| 46 namespace blink { | 46 namespace blink { |
| 47 | 47 |
| 48 Text* Text::Create(Document& document, const String& data) { | 48 Text* Text::Create(Document& document, const String& data) { |
| 49 return new Text(document, data, kCreateText); | 49 return new Text(document, data, kCreateText); |
| 50 } | 50 } |
| 51 | 51 |
| 52 Text* Text::CreateEditingText(Document& document, const String& data) { | 52 Text* Text::CreateEditingText(Document& document, const String& data) { |
| 53 return new Text(document, data, kCreateEditingText); | 53 return new Text(document, data, kCreateEditingText); |
| 54 } | 54 } |
| (...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 468 | 468 |
| 469 Text* Text::CloneWithData(const String& data) { | 469 Text* Text::CloneWithData(const String& data) { |
| 470 return Create(GetDocument(), data); | 470 return Create(GetDocument(), data); |
| 471 } | 471 } |
| 472 | 472 |
| 473 DEFINE_TRACE(Text) { | 473 DEFINE_TRACE(Text) { |
| 474 CharacterData::Trace(visitor); | 474 CharacterData::Trace(visitor); |
| 475 } | 475 } |
| 476 | 476 |
| 477 } // namespace blink | 477 } // namespace blink |
| OLD | NEW |