layout/inspector/inIDOMView.idl
author Jean-Yves Avenard <jyavenard@mozilla.com>
Wed, 31 Jan 2018 19:08:51 +0100
changeset 463332 4e8af01f19c29b43c1f0606d1fac0d262c777b40
parent 173469 20ba1c3ccad8d5f6f0d38885cc47187b81cb5c37
permissions -rw-r--r--
Bug 1432779 - P4. Remove the concept of preferred layout. r=padenot,r=kamidphish Channel layout is derived by the content being played. The concept of preferred layout is meaningless. Either we have a layout defined, or we don't. There's no in-between. So we remove it. MozReview-Commit-ID: CSCAInNmzMS

/* 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();
};