dom/interfaces/base/nsIQueryContentEventResult.idl

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dom/interfaces/base/nsIQueryContentEventResult.idl	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,28 @@
     1.4 +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
     1.5 +/* This Source Code Form is subject to the terms of the Mozilla Public
     1.6 + * License, v. 2.0. If a copy of the MPL was not distributed with this
     1.7 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     1.8 +
     1.9 +#include "nsISupports.idl"
    1.10 +
    1.11 +/**
    1.12 + * The result of query content events.  succeeded propery can be used always.
    1.13 + * Whether other properties can be used or not depends on the event.
    1.14 + * See nsIDOMWindowUtils.idl, which properites can be used was documented.
    1.15 + */
    1.16 +
    1.17 +[scriptable, uuid(4b4ba266-b51e-4f0f-8d0e-9f13cb2a0056)]
    1.18 +interface nsIQueryContentEventResult : nsISupports
    1.19 +{
    1.20 +  readonly attribute unsigned long offset;
    1.21 +  readonly attribute boolean reversed;
    1.22 +
    1.23 +  readonly attribute long left;
    1.24 +  readonly attribute long top;
    1.25 +  readonly attribute long width;
    1.26 +  readonly attribute long height;
    1.27 +  readonly attribute AString text;
    1.28 +
    1.29 +  readonly attribute boolean succeeded;
    1.30 +  readonly attribute boolean notFound;
    1.31 +};

mercurial