Bug 1509907 - Add telemetry to track flexbox highlighter usage. r=miker
[gecko.git] / accessible / interfaces / nsIAccessibleVirtualCursorChangeEvent.idl
blob8023f85a91cd4aaeb298f777554437eab4e9fddf
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/. */
6 #include "nsIAccessibleEvent.idl"
8 /*
9 * An interface for virtual cursor changed events.
10 * Passes previous cursor position and text offsets.
12 [scriptable, builtinclass, uuid(a58693b1-009e-4cc9-ae93-9c7d8f85cfdf)]
13 interface nsIAccessibleVirtualCursorChangeEvent : nsIAccessibleEvent
15 /**
16 * Previous object pointed at by virtual cursor, null if none.
18 readonly attribute nsIAccessible oldAccessible;
20 /**
21 * Previous start offset of pivot, otherwise -1.
23 readonly attribute long oldStartOffset;
25 /**
26 * Previous end offset of pivot, otherwise -1.
28 readonly attribute long oldEndOffset;
30 /**
31 * New object pointed at by virtual cursor, null if none.
33 readonly attribute nsIAccessible newAccessible;
35 /**
36 * New start offset of pivot, otherwise -1.
38 readonly attribute long newStartOffset;
40 /**
41 * New end offset of pivot, otherwise -1.
43 readonly attribute long newEndOffset;
45 /**
46 * Reason for virtual cursor move.
48 readonly attribute short reason;
50 /**
51 * Text boundary type for movement, NO_BOUNDARY if none.
53 readonly attribute short boundaryType;