mirror of
https://github.com/roytam1/palemoon27.git
synced 2026-05-26 14:18:48 +00:00
75ad9bcc60
- Bug 1225882 - Force XSLT to load async if CORS is required. r=sicking (485703225d) - Bug 1168115 - Null CSSStyleSheet::mOwningPtr in the nsStyleLinkElement Unlink method. r=heycam (a82d26b778) - Bug 1252841: Convert HAL daemon socket to |UniquePtr<>|, r=brsun (069171166d) - Bug 1245901 - Measure counts of browser CPOW usage which is now rejected, r=billm (bf772d7df3) - Bug 1258555: Fix return type of js::GCPointerPolicy::needsSweep. r=terrence (1e81399b2e) - Bug 1249107 - Fix assertion failure when reaching start node in JS::ubi::ShortestPaths; r=jimb (1dba7085c2) - Bug 1242462 - Allow IonMonkey re-enter until we reached the frequent bailout threshold. r=jandem (eaec0ee20d) - Bug 1249736 - Remove redundant StartType from MStart. r=jandem (f18546e86f) - Bug 1250964: SharedStubs - Don't add invalid stubs, r=jandem (b02cace7ee) - Bug 1250964: SharedStubs - Remove bogus assert, r=bogus on CLOSED TREE (d310a60b69) - Bug 1250031 - IonMonkey: MIPS: Fix ion/bug1233343.js crash. r=h4writer (ca83d03b77) - Bug 1254808 - IonMonkey: MIPS: Define JS_USE_LINK_REGISTER on MIPS. r=h4writer (fce298a97e) - Bug 1255352 - Use initial CacheIR infrastructure and use it for some simple Baseline stubs. r=efaust (c5ee30767f) - Bug 1250935 - Use mozilla::Variant instead of a raw union and manual tag for ScriptSource::data; r=terrence (034592e64c) - bug 1253268 - allow getting ids of proxied accessibles r=yzen (cc73189ef3) - Bug 1238555 - Always update the LazyScript's static scope chain when emitting functions. (r=till) (b7293ed553) - Bug 1122581 - Fix FormatFrame to not assert on Ion frames in some cases. r=shu (4cf9d53fca) - Bug 1246605 - Fix getBacktrace assert with debugger breakpoints. r=evilpie (c05c44c085) - Bug 1254174 - Convert uncaught symbol to a descriptive string. r=jorendorff (6917dd4540)
107 lines
3.9 KiB
C++
107 lines
3.9 KiB
C++
/* -*- 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/. */
|
|
|
|
#ifndef mozilla_a11y_xpcAccessible_h_
|
|
#define mozilla_a11y_xpcAccessible_h_
|
|
|
|
#include "nsIAccessible.h"
|
|
|
|
class nsIAccessible;
|
|
|
|
namespace mozilla {
|
|
namespace a11y {
|
|
|
|
class Accessible;
|
|
class AccessibleOrProxy;
|
|
|
|
/**
|
|
* XPCOM nsIAccessible interface implementation, used by xpcAccessibleGeneric
|
|
* class.
|
|
*/
|
|
class xpcAccessible : public nsIAccessible
|
|
{
|
|
public:
|
|
// nsIAccessible
|
|
NS_IMETHOD GetParent(nsIAccessible** aParent) final override;
|
|
NS_IMETHOD GetNextSibling(nsIAccessible** aNextSibling) final override;
|
|
NS_IMETHOD GetPreviousSibling(nsIAccessible** aPreviousSibling)
|
|
final override;
|
|
NS_IMETHOD GetFirstChild(nsIAccessible** aFirstChild) final override;
|
|
NS_IMETHOD GetLastChild(nsIAccessible** aLastChild) final override;
|
|
NS_IMETHOD GetChildCount(int32_t* aChildCount) final override;
|
|
NS_IMETHOD GetChildAt(int32_t aChildIndex, nsIAccessible** aChild)
|
|
final override;
|
|
NS_IMETHOD GetChildren(nsIArray** aChildren) final override;
|
|
NS_IMETHOD GetIndexInParent(int32_t* aIndexInParent) final override;
|
|
|
|
NS_IMETHOD GetDOMNode(nsIDOMNode** aDOMNode) final override;
|
|
NS_IMETHOD GetId(nsAString& aID) final override;
|
|
NS_IMETHOD GetDocument(nsIAccessibleDocument** aDocument) final override;
|
|
NS_IMETHOD GetRootDocument(nsIAccessibleDocument** aRootDocument)
|
|
final override;
|
|
|
|
NS_IMETHOD GetRole(uint32_t* aRole) final override;
|
|
NS_IMETHOD GetState(uint32_t* aState, uint32_t* aExtraState)
|
|
final override;
|
|
|
|
NS_IMETHOD GetDescription(nsAString& aDescription) final override;
|
|
NS_IMETHOD GetName(nsAString& aName) final override;
|
|
NS_IMETHOD GetLanguage(nsAString& aLanguage) final override;
|
|
NS_IMETHOD GetValue(nsAString& aValue) final override;
|
|
NS_IMETHOD GetHelp(nsAString& aHelp) final override;
|
|
|
|
NS_IMETHOD GetAccessKey(nsAString& aAccessKey) final override;
|
|
NS_IMETHOD GetKeyboardShortcut(nsAString& aKeyBinding) final override;
|
|
|
|
NS_IMETHOD GetAttributes(nsIPersistentProperties** aAttributes)
|
|
final override;
|
|
NS_IMETHOD GetBounds(int32_t* aX, int32_t* aY,
|
|
int32_t* aWidth, int32_t* aHeight) final override;
|
|
NS_IMETHOD GroupPosition(int32_t* aGroupLevel, int32_t* aSimilarItemsInGroup,
|
|
int32_t* aPositionInGroup) final override;
|
|
NS_IMETHOD GetRelationByType(uint32_t aType,
|
|
nsIAccessibleRelation** aRelation)
|
|
final override;
|
|
NS_IMETHOD GetRelations(nsIArray** aRelations) final override;
|
|
|
|
NS_IMETHOD GetFocusedChild(nsIAccessible** aChild) final override;
|
|
NS_IMETHOD GetChildAtPoint(int32_t aX, int32_t aY,
|
|
nsIAccessible** aAccessible) final override;
|
|
NS_IMETHOD GetDeepestChildAtPoint(int32_t aX, int32_t aY,
|
|
nsIAccessible** aAccessible)
|
|
final override;
|
|
|
|
NS_IMETHOD SetSelected(bool aSelect) final override;
|
|
NS_IMETHOD TakeSelection() final override;
|
|
NS_IMETHOD TakeFocus() final override;
|
|
|
|
NS_IMETHOD GetActionCount(uint8_t* aActionCount) final override;
|
|
NS_IMETHOD GetActionName(uint8_t aIndex, nsAString& aName) final override;
|
|
NS_IMETHOD GetActionDescription(uint8_t aIndex, nsAString& aDescription)
|
|
final override;
|
|
NS_IMETHOD DoAction(uint8_t aIndex) final override;
|
|
|
|
NS_IMETHOD ScrollTo(uint32_t aHow) final override;
|
|
NS_IMETHOD ScrollToPoint(uint32_t aCoordinateType,
|
|
int32_t aX, int32_t aY) final override;
|
|
|
|
protected:
|
|
xpcAccessible() { }
|
|
virtual ~xpcAccessible() {}
|
|
|
|
private:
|
|
Accessible* Intl();
|
|
AccessibleOrProxy IntlGeneric();
|
|
|
|
xpcAccessible(const xpcAccessible&) = delete;
|
|
xpcAccessible& operator =(const xpcAccessible&) = delete;
|
|
};
|
|
|
|
} // namespace a11y
|
|
} // namespace mozilla
|
|
|
|
#endif
|