accessible/public/nsIAccessibleVirtualCursorChangeEvent.idl

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:3dd3258ac562
1 /* -*- Mode: C++; 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/. */
5
6 #include "nsIAccessibleEvent.idl"
7
8 /*
9 * An interface for virtual cursor changed events.
10 * Passes previous cursor position and text offsets.
11 */
12 [scriptable, builtinclass, uuid(370e8b9b-2bbc-4bff-a9c7-16ddc54aea21)]
13 interface nsIAccessibleVirtualCursorChangeEvent : nsIAccessibleEvent
14 {
15 /**
16 * Previous object pointed at by virtual cursor. null if none.
17 */
18 readonly attribute nsIAccessible oldAccessible;
19
20 /**
21 * Previous start offset of pivot. -1 if none.
22 */
23 readonly attribute long oldStartOffset;
24
25 /**
26 * Previous end offset of pivot. -1 if none.
27 */
28 readonly attribute long oldEndOffset;
29
30 /**
31 * Reason for virtual cursor move.
32 */
33 readonly attribute short reason;
34 };

mercurial