nsIAccessibleVirtualCursorChangeEvent.idl 990 B

1234567891011121314151617181920212223242526272829303132333435
  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. #include "nsIAccessibleEvent.idl"
  6. /*
  7. * An interface for virtual cursor changed events.
  8. * Passes previous cursor position and text offsets.
  9. */
  10. [scriptable, builtinclass, uuid(a58693b1-009e-4cc9-ae93-9c7d8f85cfdf)]
  11. interface nsIAccessibleVirtualCursorChangeEvent : nsIAccessibleEvent
  12. {
  13. /**
  14. * Previous object pointed at by virtual cursor. null if none.
  15. */
  16. readonly attribute nsIAccessible oldAccessible;
  17. /**
  18. * Previous start offset of pivot. -1 if none.
  19. */
  20. readonly attribute long oldStartOffset;
  21. /**
  22. * Previous end offset of pivot. -1 if none.
  23. */
  24. readonly attribute long oldEndOffset;
  25. /**
  26. * Reason for virtual cursor move.
  27. */
  28. readonly attribute short reason;
  29. };