Bug 1839076 - Remove duplicate prefs from mobile.js r=geckoview-reviewers,amejiamarmol
[gecko.git] / accessible / interfaces / nsIAccessibleScrollingEvent.idl
blob229d74579328c2e39ec1b39a6cd641707177001b
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 scroll events.
10 * Stores new scroll position and max scroll position.
12 [scriptable, builtinclass, uuid(f75f0b32-5342-4d60-b1a5-b7bd6888eef5)]
13 interface nsIAccessibleScrollingEvent : nsIAccessibleEvent
15 /**
16 * New X scroll position within a scrollable container in device pixels.
18 readonly attribute unsigned long scrollX;
20 /**
21 * New Y scroll position within a scrollable container in device pixels.
23 readonly attribute unsigned long scrollY;
25 /**
26 * Max X scroll position within a scrollable container in device pixels.
28 readonly attribute unsigned long maxScrollX;
30 /**
31 * Max Y scroll position within a scrollable container in device pixels.
33 readonly attribute unsigned long maxScrollY;