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

Side by Side Diff: Source/core/dom/Document.h

Issue 102533002: Implemented DocumentType.cloneNode(bool) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years 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 * (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 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 280
281 bool hasManifest() const; 281 bool hasManifest() const;
282 282
283 Location* location() const; 283 Location* location() const;
284 284
285 PassRefPtr<Element> createElement(const AtomicString& name, ExceptionState&) ; 285 PassRefPtr<Element> createElement(const AtomicString& name, ExceptionState&) ;
286 PassRefPtr<DocumentFragment> createDocumentFragment(); 286 PassRefPtr<DocumentFragment> createDocumentFragment();
287 PassRefPtr<Text> createTextNode(const String& data); 287 PassRefPtr<Text> createTextNode(const String& data);
288 PassRefPtr<Comment> createComment(const String& data); 288 PassRefPtr<Comment> createComment(const String& data);
289 PassRefPtr<CDATASection> createCDATASection(const String& data, ExceptionSta te&); 289 PassRefPtr<CDATASection> createCDATASection(const String& data, ExceptionSta te&);
290 PassRefPtr<DocumentType> createDocumentType(const String& qualifiedName, con st String& publicId, const String& systemId);
290 PassRefPtr<ProcessingInstruction> createProcessingInstruction(const String& target, const String& data, ExceptionState&); 291 PassRefPtr<ProcessingInstruction> createProcessingInstruction(const String& target, const String& data, ExceptionState&);
291 PassRefPtr<Attr> createAttribute(const String& name, ExceptionState&); 292 PassRefPtr<Attr> createAttribute(const String& name, ExceptionState&);
292 PassRefPtr<Attr> createAttributeNS(const String& namespaceURI, const String& qualifiedName, ExceptionState&, bool shouldIgnoreNamespaceChecks = false); 293 PassRefPtr<Attr> createAttributeNS(const String& namespaceURI, const String& qualifiedName, ExceptionState&, bool shouldIgnoreNamespaceChecks = false);
293 PassRefPtr<Node> importNode(Node* importedNode, ExceptionState& ec) { return importNode(importedNode, true, ec); } 294 PassRefPtr<Node> importNode(Node* importedNode, ExceptionState& ec) { return importNode(importedNode, true, ec); }
294 PassRefPtr<Node> importNode(Node* importedNode, bool deep, ExceptionState&); 295 PassRefPtr<Node> importNode(Node* importedNode, bool deep, ExceptionState&);
295 PassRefPtr<Element> createElementNS(const String& namespaceURI, const String & qualifiedName, ExceptionState&); 296 PassRefPtr<Element> createElementNS(const String& namespaceURI, const String & qualifiedName, ExceptionState&);
296 PassRefPtr<Element> createElement(const QualifiedName&, bool createdByParser ); 297 PassRefPtr<Element> createElement(const QualifiedName&, bool createdByParser );
297 298
298 PassRefPtr<DOMNamedFlowCollection> webkitGetNamedFlows(); 299 PassRefPtr<DOMNamedFlowCollection> webkitGetNamedFlows();
299 300
(...skipping 1059 matching lines...) Expand 10 before | Expand all | Expand 10 after
1359 inline bool Node::isDocumentNode() const 1360 inline bool Node::isDocumentNode() const
1360 { 1361 {
1361 return this == documentInternal(); 1362 return this == documentInternal();
1362 } 1363 }
1363 1364
1364 Node* eventTargetNodeForDocument(Document*); 1365 Node* eventTargetNodeForDocument(Document*);
1365 1366
1366 } // namespace WebCore 1367 } // namespace WebCore
1367 1368
1368 #endif // Document_h 1369 #endif // Document_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698