Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
1 /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 #include "nsISupports.idl"
8 /**
9 * The result of query content events. succeeded propery can be used always.
10 * Whether other properties can be used or not depends on the event.
11 * See nsIDOMWindowUtils.idl, which properites can be used was documented.
12 */
14 [scriptable, uuid(4b4ba266-b51e-4f0f-8d0e-9f13cb2a0056)]
15 interface nsIQueryContentEventResult : nsISupports
16 {
17 readonly attribute unsigned long offset;
18 readonly attribute boolean reversed;
20 readonly attribute long left;
21 readonly attribute long top;
22 readonly attribute long width;
23 readonly attribute long height;
24 readonly attribute AString text;
26 readonly attribute boolean succeeded;
27 readonly attribute boolean notFound;
28 };