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

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

Issue 292503006: Oilpan: add [WillBeGarbageCollected] for Node. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: DOMWindow dtor fixes Created 6 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 * (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 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 Location* location() const; 316 Location* location() const;
317 317
318 PassRefPtrWillBeRawPtr<Element> createElement(const AtomicString& name, Exce ptionState&); 318 PassRefPtrWillBeRawPtr<Element> createElement(const AtomicString& name, Exce ptionState&);
319 PassRefPtrWillBeRawPtr<DocumentFragment> createDocumentFragment(); 319 PassRefPtrWillBeRawPtr<DocumentFragment> createDocumentFragment();
320 PassRefPtrWillBeRawPtr<Text> createTextNode(const String& data); 320 PassRefPtrWillBeRawPtr<Text> createTextNode(const String& data);
321 PassRefPtrWillBeRawPtr<Comment> createComment(const String& data); 321 PassRefPtrWillBeRawPtr<Comment> createComment(const String& data);
322 PassRefPtrWillBeRawPtr<CDATASection> createCDATASection(const String& data, ExceptionState&); 322 PassRefPtrWillBeRawPtr<CDATASection> createCDATASection(const String& data, ExceptionState&);
323 PassRefPtrWillBeRawPtr<ProcessingInstruction> createProcessingInstruction(co nst String& target, const String& data, ExceptionState&); 323 PassRefPtrWillBeRawPtr<ProcessingInstruction> createProcessingInstruction(co nst String& target, const String& data, ExceptionState&);
324 PassRefPtrWillBeRawPtr<Attr> createAttribute(const AtomicString& name, Excep tionState&); 324 PassRefPtrWillBeRawPtr<Attr> createAttribute(const AtomicString& name, Excep tionState&);
325 PassRefPtrWillBeRawPtr<Attr> createAttributeNS(const AtomicString& namespace URI, const AtomicString& qualifiedName, ExceptionState&, bool shouldIgnoreNamesp aceChecks = false); 325 PassRefPtrWillBeRawPtr<Attr> createAttributeNS(const AtomicString& namespace URI, const AtomicString& qualifiedName, ExceptionState&, bool shouldIgnoreNamesp aceChecks = false);
326 PassRefPtr<Node> importNode(Node* importedNode, ExceptionState&); 326 PassRefPtrWillBeRawPtr<Node> importNode(Node* importedNode, ExceptionState&) ;
327 PassRefPtr<Node> importNode(Node* importedNode, bool deep, ExceptionState&); 327 PassRefPtrWillBeRawPtr<Node> importNode(Node* importedNode, bool deep, Excep tionState&);
328 PassRefPtrWillBeRawPtr<Element> createElementNS(const AtomicString& namespac eURI, const AtomicString& qualifiedName, ExceptionState&); 328 PassRefPtrWillBeRawPtr<Element> createElementNS(const AtomicString& namespac eURI, const AtomicString& qualifiedName, ExceptionState&);
329 PassRefPtrWillBeRawPtr<Element> createElement(const QualifiedName&, bool cre atedByParser); 329 PassRefPtrWillBeRawPtr<Element> createElement(const QualifiedName&, bool cre atedByParser);
330 330
331 bool regionBasedColumnsEnabled() const; 331 bool regionBasedColumnsEnabled() const;
332 332
333 /** 333 /**
334 * Retrieve all nodes that intersect a rect in the window's document, until it is fully enclosed by 334 * Retrieve all nodes that intersect a rect in the window's document, until it is fully enclosed by
335 * the boundaries of a node. 335 * the boundaries of a node.
336 * 336 *
337 * @param centerX x reference for the rectangle in CSS pixels 337 * @param centerX x reference for the rectangle in CSS pixels
(...skipping 1102 matching lines...) Expand 10 before | Expand all | Expand 10 after
1440 inline bool Node::isDocumentNode() const 1440 inline bool Node::isDocumentNode() const
1441 { 1441 {
1442 return this == document(); 1442 return this == document();
1443 } 1443 }
1444 1444
1445 Node* eventTargetNodeForDocument(Document*); 1445 Node* eventTargetNodeForDocument(Document*);
1446 1446
1447 } // namespace WebCore 1447 } // namespace WebCore
1448 1448
1449 #endif // Document_h 1449 #endif // Document_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698