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

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

Issue 106423002: Remove fourth argument to createNodeIterator/createTreeWalker (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: base files 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 | Annotate | Revision Log
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 422 matching lines...) Expand 10 before | Expand all | Expand 10 after
433 Page* page() const; // can be null 433 Page* page() const; // can be null
434 Settings* settings() const; // can be null 434 Settings* settings() const; // can be null
435 435
436 float devicePixelRatio() const; 436 float devicePixelRatio() const;
437 437
438 PassRefPtr<Range> createRange(); 438 PassRefPtr<Range> createRange();
439 439
440 PassRefPtr<NodeIterator> createNodeIterator(Node* root, ExceptionState&); 440 PassRefPtr<NodeIterator> createNodeIterator(Node* root, ExceptionState&);
441 PassRefPtr<NodeIterator> createNodeIterator(Node* root, unsigned whatToShow, ExceptionState&); 441 PassRefPtr<NodeIterator> createNodeIterator(Node* root, unsigned whatToShow, ExceptionState&);
442 PassRefPtr<NodeIterator> createNodeIterator(Node* root, unsigned whatToShow, PassRefPtr<NodeFilter>, ExceptionState&); 442 PassRefPtr<NodeIterator> createNodeIterator(Node* root, unsigned whatToShow, PassRefPtr<NodeFilter>, ExceptionState&);
443 PassRefPtr<NodeIterator> createNodeIterator(Node* root, unsigned whatToShow, PassRefPtr<NodeFilter>, bool expandEntityReferences, ExceptionState&);
444 443
445 PassRefPtr<TreeWalker> createTreeWalker(Node* root, ExceptionState&); 444 PassRefPtr<TreeWalker> createTreeWalker(Node* root, ExceptionState&);
446 PassRefPtr<TreeWalker> createTreeWalker(Node* root, unsigned whatToShow, Exc eptionState&); 445 PassRefPtr<TreeWalker> createTreeWalker(Node* root, unsigned whatToShow, Exc eptionState&);
447 PassRefPtr<TreeWalker> createTreeWalker(Node* root, unsigned whatToShow, Pas sRefPtr<NodeFilter>, ExceptionState&); 446 PassRefPtr<TreeWalker> createTreeWalker(Node* root, unsigned whatToShow, Pas sRefPtr<NodeFilter>, ExceptionState&);
448 PassRefPtr<TreeWalker> createTreeWalker(Node* root, unsigned whatToShow, Pas sRefPtr<NodeFilter>, bool expandEntityReferences, ExceptionState&);
449 447
450 // Special support for editing 448 // Special support for editing
451 PassRefPtr<CSSStyleDeclaration> createCSSStyleDeclaration(); 449 PassRefPtr<CSSStyleDeclaration> createCSSStyleDeclaration();
452 PassRefPtr<Text> createEditingTextNode(const String&); 450 PassRefPtr<Text> createEditingTextNode(const String&);
453 451
454 void setStyleDependentState(RenderStyle* documentStyle); 452 void setStyleDependentState(RenderStyle* documentStyle);
455 void inheritHtmlAndBodyElementStyles(StyleRecalcChange); 453 void inheritHtmlAndBodyElementStyles(StyleRecalcChange);
456 void recalcStyle(StyleRecalcChange); 454 void recalcStyle(StyleRecalcChange);
457 void updateStyleIfNeeded(); 455 void updateStyleIfNeeded();
458 void updateStyleForNodeIfNeeded(Node*); 456 void updateStyleForNodeIfNeeded(Node*);
(...skipping 902 matching lines...) Expand 10 before | Expand all | Expand 10 after
1361 inline bool Node::isDocumentNode() const 1359 inline bool Node::isDocumentNode() const
1362 { 1360 {
1363 return this == documentInternal(); 1361 return this == documentInternal();
1364 } 1362 }
1365 1363
1366 Node* eventTargetNodeForDocument(Document*); 1364 Node* eventTargetNodeForDocument(Document*);
1367 1365
1368 } // namespace WebCore 1366 } // namespace WebCore
1369 1367
1370 #endif // Document_h 1368 #endif // Document_h
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/TreeWalker/TreeWalker-basic-expected.txt ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698