mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 00:25:27 +00:00
3e8593199d
--- accessible/base/AccEvent.cpp | 8 +++++ accessible/base/AccEvent.h | 29 ++++++++++++++++- accessible/generic/DocAccessible.cpp | 8 +++-- accessible/interfaces/moz.build | 1 + .../nsIAccessibleObjectAttributeChangedEvent.idl | 21 ++++++++++++ accessible/tests/mochitest/common.js | 2 ++ accessible/tests/mochitest/events.js | 37 ++++++++++++++++++++++ .../tests/mochitest/events/test_aria_objattr.html | 7 ++-- accessible/xpcom/AccEvents.conf | 1 + 9 files changed, 106 insertions(+), 8 deletions(-) create mode 100644 accessible/interfaces/nsIAccessibleObjectAttributeChangedEvent.idl
22 lines
695 B
Plaintext
22 lines
695 B
Plaintext
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
/* vim: set ts=2 et sw=2 tw=80: */
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
#include "nsIAccessibleEvent.idl"
|
|
|
|
interface nsIAtom;
|
|
|
|
/**
|
|
* Fired when an attribute of an accessible changes.
|
|
*/
|
|
[scriptable, builtinclass, uuid(4CA96609-23C8-4771-86E7-77C8B651CA24)]
|
|
interface nsIAccessibleObjectAttributeChangedEvent : nsIAccessibleEvent
|
|
{
|
|
/**
|
|
* Return the accessible attribute that changed.
|
|
*/
|
|
readonly attribute nsIAtom changedAttribute;
|
|
};
|