layout/inspector/inICSSValueSearch.idl

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/inspector/inICSSValueSearch.idl	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,29 @@
     1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public
     1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this
     1.6 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     1.7 +
     1.8 +#include "inISearchProcess.idl"
     1.9 +
    1.10 +interface nsIDOMDocument;
    1.11 +
    1.12 +[scriptable, uuid(e0d39e48-1dd1-11b2-81bd-9a0c117f0736)]
    1.13 +interface inICSSValueSearch : inISearchProcess {
    1.14 +  
    1.15 +  attribute nsIDOMDocument document;
    1.16 +  
    1.17 +  // the base url for all returned URL results, if returnRelativeURLs is true
    1.18 +  attribute wstring baseURL; 
    1.19 +  
    1.20 +  // strip off the baseURL for all URL results if true
    1.21 +  attribute boolean returnRelativeURLs;
    1.22 +
    1.23 +  // correct the paths on a chrome url, such as turning global/skin/blah into global/blah
    1.24 +  attribute boolean normalizeChromeURLs;
    1.25 +
    1.26 +  // add a css property to search for
    1.27 +  void addPropertyCriteria(in wstring aPropName);
    1.28 +  
    1.29 +  // set the text value to search for in the properties specified (optional)
    1.30 +  attribute wstring textCriteria;
    1.31 +
    1.32 +};

mercurial