tor-browser

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

nsIAccessibleAnnouncementEvent.idl (840B)


      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 * Fired when announce() is called on the target accessible.
     10 */
     11 [scriptable, builtinclass, uuid(8818e49c-1286-4fe6-ae82-4d1b795ec88d)]
     12 interface nsIAccessibleAnnouncementEvent : nsIAccessibleEvent
     13 {
     14  const unsigned short POLITE = 0;
     15  const unsigned short ASSERTIVE = 1;
     16 
     17  // String of actual announcement
     18  readonly attribute AString announcement;
     19 
     20  // Priority for announcement, could be POLITE or ASSERTIVE, ATs
     21  // will decide how to appropriately present it.
     22  readonly attribute unsigned short priority;
     23 };