author Bas Schouten <>
Sun, 14 Sep 2014 23:51:32 +0200
changeset 229798 97e016e1192ad4f39f463b052c2b120c3ad39359
parent 204336 ea0448aacaa368a012650135e7fdb696634eabc8
child 231524 f33605277b510e922b55275e076f596fd4f3594b
permissions -rw-r--r--
Bug 1064104: Workaround bug in D2D 1.1 addressing mode. r=jrmuizel

/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at */

#include "nsISupports.idl"

interface nsIDOMNode;
interface nsIDOMNodeFilter;

[scriptable, uuid(5ba1ec15-e18f-46df-9558-c618429f3db3)]
interface inIDeepTreeWalker : nsISupports
  attribute boolean showAnonymousContent;
  attribute boolean showSubDocuments;
  void init(in nsIDOMNode aRoot, in unsigned long aWhatToShow);

  // Methods and attributes from nsIDOMTreeWalker, which is not scriptable.
  readonly attribute nsIDOMNode       root;
  readonly attribute unsigned long    whatToShow;
  readonly attribute nsIDOMNodeFilter filter;
           attribute nsIDOMNode       currentNode;
                                        // raises(DOMException) on setting

  nsIDOMNode         parentNode();
  nsIDOMNode         firstChild();
  nsIDOMNode         lastChild();
  nsIDOMNode         previousSibling();
  nsIDOMNode         nextSibling();
  nsIDOMNode         previousNode();
  nsIDOMNode         nextNode();