layout/inspector/inIDOMView.idl
author Robert O'Callahan <robert@ocallahan.org>
Wed, 04 Dec 2013 14:04:23 +1300
changeset 173457 1dcb339812d1bd157e5c8a123cff9d77252f4978
parent 98529 layout/inspector/public/inIDOMView.idl@f4157e8c410708d76703f19e4dfb61859bfe32d8
permissions -rw-r--r--
Bug 945091. Part 1: Flatten inspector/public and inspector/src into inspector. r=glandium

/* 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 http://mozilla.org/MPL/2.0/. */

#include "nsISupports.idl"

interface nsIDOMNode;

[scriptable, uuid(FBB67442-27A3-483C-8EB2-29C3EED7514C)]
interface inIDOMView : nsISupports
{
  attribute nsIDOMNode rootNode;

  attribute boolean showAnonymousContent;
  attribute boolean showSubDocuments;
  attribute boolean showWhitespaceNodes;
  attribute boolean showAccessibleNodes;
  attribute unsigned long    whatToShow;

  nsIDOMNode getNodeFromRowIndex(in long rowIndex);
  long getRowIndexFromNode(in nsIDOMNode node);

  void rebuild();
};