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

Side by Side Diff: sky/engine/core/dom/Document.h

Issue 879733002: Replace createTextNode with new Text(). (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « sky/benchmarks/layout/simple-blocks.sky ('k') | sky/engine/core/dom/Document.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 * (C) 2001 Dirk Mueller (mueller@kde.org) 4 * (C) 2001 Dirk Mueller (mueller@kde.org)
5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org)
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r ights reserved. 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r ights reserved.
7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/)
8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) 8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
9 * Copyright (C) 2011 Google Inc. All rights reserved. 9 * Copyright (C) 2011 Google Inc. All rights reserved.
10 * 10 *
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 168
169 Element* documentElement() const 169 Element* documentElement() const
170 { 170 {
171 return m_documentElement.get(); 171 return m_documentElement.get();
172 } 172 }
173 173
174 Location* location() const; 174 Location* location() const;
175 175
176 PassRefPtr<Element> createElement(const AtomicString& name, ExceptionState&) ; 176 PassRefPtr<Element> createElement(const AtomicString& name, ExceptionState&) ;
177 PassRefPtr<DocumentFragment> createDocumentFragment(); 177 PassRefPtr<DocumentFragment> createDocumentFragment();
178 PassRefPtr<Text> createTextNode(const String& data);
179 PassRefPtr<Node> importNode(Node* importedNode, bool deep, ExceptionState&); 178 PassRefPtr<Node> importNode(Node* importedNode, bool deep, ExceptionState&);
180 PassRefPtr<Element> createElement(const QualifiedName&, bool createdByParser ); 179 PassRefPtr<Element> createElement(const QualifiedName&, bool createdByParser );
181 180
182 Element* elementFromPoint(int x, int y) const; 181 Element* elementFromPoint(int x, int y) const;
183 PassRefPtr<Range> caretRangeFromPoint(int x, int y); 182 PassRefPtr<Range> caretRangeFromPoint(int x, int y);
184 183
185 String readyState() const; 184 String readyState() const;
186 185
187 AtomicString inputEncoding() const { return Document::encodingName(); } 186 AtomicString inputEncoding() const { return Document::encodingName(); }
188 AtomicString charset() const { return Document::encodingName(); } 187 AtomicString charset() const { return Document::encodingName(); }
(...skipping 564 matching lines...) Expand 10 before | Expand all | Expand 10 after
753 Node* eventTargetNodeForDocument(Document*); 752 Node* eventTargetNodeForDocument(Document*);
754 753
755 } // namespace blink 754 } // namespace blink
756 755
757 #ifndef NDEBUG 756 #ifndef NDEBUG
758 // Outside the WebCore namespace for ease of invocation from gdb. 757 // Outside the WebCore namespace for ease of invocation from gdb.
759 void showLiveDocumentInstances(); 758 void showLiveDocumentInstances();
760 #endif 759 #endif
761 760
762 #endif // SKY_ENGINE_CORE_DOM_DOCUMENT_H_ 761 #endif // SKY_ENGINE_CORE_DOM_DOCUMENT_H_
OLDNEW
« no previous file with comments | « sky/benchmarks/layout/simple-blocks.sky ('k') | sky/engine/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698