2010-03-19 08:02:53 +03:00
|
|
|
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2012-05-21 15:12:37 +04:00
|
|
|
/* 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/. */
|
2010-03-19 08:02:53 +03:00
|
|
|
|
|
|
|
#include "nsISupports.idl"
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The result of query content events. succeeded propery can be used always.
|
|
|
|
* Whether other properties can be used or not depends on the event.
|
|
|
|
* See nsIDOMWindowUtils.idl, which properites can be used was documented.
|
|
|
|
*/
|
|
|
|
|
2015-04-14 08:27:37 +03:00
|
|
|
[scriptable, uuid(e2c39e0e-345f-451a-a7b2-e0230d555847)]
|
2010-03-19 08:02:53 +03:00
|
|
|
interface nsIQueryContentEventResult : nsISupports
|
|
|
|
{
|
|
|
|
readonly attribute unsigned long offset;
|
2015-04-14 08:27:37 +03:00
|
|
|
readonly attribute unsigned long tentativeCaretOffset;
|
2010-03-19 08:02:53 +03:00
|
|
|
readonly attribute boolean reversed;
|
|
|
|
|
|
|
|
readonly attribute long left;
|
|
|
|
readonly attribute long top;
|
|
|
|
readonly attribute long width;
|
|
|
|
readonly attribute long height;
|
|
|
|
readonly attribute AString text;
|
|
|
|
|
|
|
|
readonly attribute boolean succeeded;
|
|
|
|
readonly attribute boolean notFound;
|
2015-04-14 08:27:37 +03:00
|
|
|
readonly attribute boolean tentativeCaretOffsetNotFound;
|
2010-03-19 08:02:53 +03:00
|
|
|
};
|