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"
9 * An interface scroll events.
10 * Stores new scroll position and max scroll position.
12 [scriptable
, builtinclass
, uuid(f75f0b32
-5342-4d60
-b1a5
-b7bd6888eef5
)]
13 interface nsIAccessibleScrollingEvent
: nsIAccessibleEvent
16 * New X scroll position within a scrollable container in device pixels.
18 readonly attribute
unsigned long scrollX
;
21 * New Y scroll position within a scrollable container in device pixels.
23 readonly attribute
unsigned long scrollY
;
26 * Max X scroll position within a scrollable container in device pixels.
28 readonly attribute
unsigned long maxScrollX
;
31 * Max Y scroll position within a scrollable container in device pixels.
33 readonly attribute
unsigned long maxScrollY
;