tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

nsIAccessibleScrollingEvent.idl (1078B)


      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 scroll events.
     10 * Stores new scroll position and max scroll position.
     11 */
     12 [scriptable, builtinclass, uuid(f75f0b32-5342-4d60-b1a5-b7bd6888eef5)]
     13 interface nsIAccessibleScrollingEvent : nsIAccessibleEvent
     14 {
     15  /**
     16   * New X scroll position within a scrollable container in device pixels.
     17   */
     18  readonly attribute unsigned long scrollX;
     19 
     20  /**
     21   * New Y scroll position within a scrollable container in device pixels.
     22   */
     23  readonly attribute unsigned long scrollY;
     24 
     25  /**
     26  * Max X scroll position within a scrollable container in device pixels.
     27   */
     28  readonly attribute unsigned long maxScrollX;
     29 
     30  /**
     31   * Max Y scroll position within a scrollable container in device pixels.
     32   */
     33  readonly attribute unsigned long maxScrollY;
     34 };