layout/inspector/inICSSValueSearch.idl
author Matteo Ferretti <mferretti@mozilla.com>
Thu, 17 Mar 2016 10:59:39 -0400
changeset 291317 5fd9689bcac1185b7c228ac3d1bdd1eadb5c9f00
parent 158730 20ba1c3ccad8d5f6f0d38885cc47187b81cb5c37
permissions -rw-r--r--
Bug 1139187 - Unit Test for Geometry Editor; r=pbro MozReview-Commit-ID: 9smoBjNt1St

/* 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 "inISearchProcess.idl"

interface nsIDOMDocument;

[scriptable, uuid(e0d39e48-1dd1-11b2-81bd-9a0c117f0736)]
interface inICSSValueSearch : inISearchProcess {
  
  attribute nsIDOMDocument document;
  
  // the base url for all returned URL results, if returnRelativeURLs is true
  attribute wstring baseURL; 
  
  // strip off the baseURL for all URL results if true
  attribute boolean returnRelativeURLs;

  // correct the paths on a chrome url, such as turning global/skin/blah into global/blah
  attribute boolean normalizeChromeURLs;

  // add a css property to search for
  void addPropertyCriteria(in wstring aPropName);
  
  // set the text value to search for in the properties specified (optional)
  attribute wstring textCriteria;

};