Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(843)

Side by Side Diff: third_party/WebKit/Source/core/dom/Text.cpp

Issue 2848963002: Clean up bindings/core/v8 (Part 1) (Closed)
Patch Set: Fix build Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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.
11 * 11 *
12 * This library is distributed in the hope that it will be useful, 12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Library General Public License for more details. 15 * Library General Public License for more details.
16 * 16 *
17 * You should have received a copy of the GNU Library General Public License 17 * You should have received a copy of the GNU Library General Public License
18 * along with this library; see the file COPYING.LIB. If not, write to 18 * along with this library; see the file COPYING.LIB. If not, write to
19 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 19 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20 * Boston, MA 02110-1301, USA. 20 * Boston, MA 02110-1301, USA.
21 */ 21 */
22 22
23 #include "core/dom/Text.h" 23 #include "core/dom/Text.h"
24 24
25 #include "bindings/core/v8/DOMDataStore.h"
26 #include "bindings/core/v8/ExceptionState.h" 25 #include "bindings/core/v8/ExceptionState.h"
27 #include "core/SVGNames.h" 26 #include "core/SVGNames.h"
28 #include "core/css/resolver/StyleResolver.h" 27 #include "core/css/resolver/StyleResolver.h"
29 #include "core/dom/ExceptionCode.h" 28 #include "core/dom/ExceptionCode.h"
30 #include "core/dom/FirstLetterPseudoElement.h" 29 #include "core/dom/FirstLetterPseudoElement.h"
31 #include "core/dom/LayoutTreeBuilder.h" 30 #include "core/dom/LayoutTreeBuilder.h"
32 #include "core/dom/LayoutTreeBuilderTraversal.h" 31 #include "core/dom/LayoutTreeBuilderTraversal.h"
33 #include "core/dom/NodeComputedStyle.h" 32 #include "core/dom/NodeComputedStyle.h"
34 #include "core/dom/NodeTraversal.h" 33 #include "core/dom/NodeTraversal.h"
35 #include "core/dom/shadow/ShadowRoot.h" 34 #include "core/dom/shadow/ShadowRoot.h"
36 #include "core/events/ScopedEventQueue.h" 35 #include "core/events/ScopedEventQueue.h"
37 #include "core/layout/LayoutText.h" 36 #include "core/layout/LayoutText.h"
38 #include "core/layout/LayoutTextCombine.h" 37 #include "core/layout/LayoutTextCombine.h"
39 #include "core/layout/LayoutTextFragment.h" 38 #include "core/layout/LayoutTextFragment.h"
40 #include "core/layout/api/LayoutTextItem.h" 39 #include "core/layout/api/LayoutTextItem.h"
41 #include "core/layout/svg/LayoutSVGInlineText.h" 40 #include "core/layout/svg/LayoutSVGInlineText.h"
42 #include "core/svg/SVGForeignObjectElement.h" 41 #include "core/svg/SVGForeignObjectElement.h"
42 #include "platform/bindings/DOMDataStore.h"
43 #include "platform/wtf/text/CString.h" 43 #include "platform/wtf/text/CString.h"
44 #include "platform/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) {
(...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after
470 470
471 Text* Text::CloneWithData(const String& data) { 471 Text* Text::CloneWithData(const String& data) {
472 return Create(GetDocument(), data); 472 return Create(GetDocument(), data);
473 } 473 }
474 474
475 DEFINE_TRACE(Text) { 475 DEFINE_TRACE(Text) {
476 CharacterData::Trace(visitor); 476 CharacterData::Trace(visitor);
477 } 477 }
478 478
479 } // namespace blink 479 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/Node.cpp ('k') | third_party/WebKit/Source/core/dom/custom/CustomElementReactionStack.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698