author | Wes Kocher <wkocher@mozilla.com> |
Tue, 10 Sep 2013 18:01:46 -0700 | |
changeset 146483 | aa67ba538e9f92b3c55700c35d058f145cbead58 |
parent 146482 | 0f03efa6263d7c1d76c9725e4e0d94f6e51e90f9 |
child 146484 | 9b4a6ac7f7e729d64260e31b5c0e866d56ce623f |
push id | 25261 |
push user | cbook@mozilla.com |
push date | Wed, 11 Sep 2013 07:31:01 +0000 |
treeherder | mozilla-central@f9e8e8ce552c [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
bugs | 914498 |
milestone | 26.0a1 |
backs out | 7412a3a5f4cceea99d3677fd2526975f9198fd83 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/accessible/src/atk/AccessibleWrap.cpp +++ b/accessible/src/atk/AccessibleWrap.cpp @@ -22,17 +22,16 @@ #include "nsStateMap.h" #include "Relation.h" #include "RootAccessible.h" #include "States.h" #include "mozilla/Util.h" #include "nsXPCOMStrings.h" #include "nsComponentManagerUtils.h" -#include "nsIPersistentProperties2.h" using namespace mozilla; using namespace mozilla::a11y; AccessibleWrap::EAvailableAtkSignals AccessibleWrap::gAvailableAtkSignals = eUnknown; //defined in ApplicationAccessibleWrap.cpp
--- a/accessible/src/atk/nsMaiInterfaceImage.cpp +++ b/accessible/src/atk/nsMaiInterfaceImage.cpp @@ -5,17 +5,16 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "InterfaceInitFuncs.h" #include "AccessibleWrap.h" #include "ImageAccessible.h" #include "mozilla/Likely.h" #include "nsMai.h" -#include "nsIAccessibleTypes.h" #include "nsIURI.h" using namespace mozilla; using namespace mozilla::a11y; extern "C" { const gchar* getDescriptionCB(AtkObject* aAtkObj);
--- a/accessible/src/atk/nsMaiInterfaceText.cpp +++ b/accessible/src/atk/nsMaiInterfaceText.cpp @@ -5,17 +5,16 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "InterfaceInitFuncs.h" #include "Accessible-inl.h" #include "HyperTextAccessible.h" #include "nsMai.h" -#include "nsIAccessibleTypes.h" #include "nsIPersistentProperties2.h" #include "mozilla/Likely.h" using namespace mozilla::a11y; AtkAttributeSet* ConvertToAtkAttributeSet(nsIPersistentProperties* aAttributes);
--- a/accessible/src/base/ARIAMap.cpp +++ b/accessible/src/base/ARIAMap.cpp @@ -2,16 +2,17 @@ /* vim:expandtab:shiftwidth=2:tabstop=2: */ /* 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 "ARIAMap.h" +#include "Accessible.h" #include "nsAccUtils.h" #include "nsCoreUtils.h" #include "Role.h" #include "States.h" #include "nsAttrName.h" #include "nsWhitespaceTokenizer.h"
--- a/accessible/src/base/AccEvent.cpp +++ b/accessible/src/base/AccEvent.cpp @@ -1,22 +1,29 @@ /* -*- 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 "AccEvent.h" +#include "ApplicationAccessibleWrap.h" +#include "nsAccessibilityService.h" #include "nsAccUtils.h" #include "DocAccessible.h" +#include "nsIAccessibleText.h" #include "xpcAccEvents.h" #include "States.h" #include "nsEventStateManager.h" +#include "nsIServiceManager.h" +#ifdef MOZ_XUL +#include "nsIDOMXULMultSelectCntrlEl.h" +#endif using namespace mozilla; using namespace mozilla::a11y; //////////////////////////////////////////////////////////////////////////////// // AccEvent ////////////////////////////////////////////////////////////////////////////////
--- a/accessible/src/base/AccGroupInfo.cpp +++ b/accessible/src/base/AccGroupInfo.cpp @@ -1,14 +1,13 @@ /* 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 "AccGroupInfo.h" -#include "nsAccUtils.h" #include "Role.h" #include "States.h" using namespace mozilla::a11y; AccGroupInfo::AccGroupInfo(Accessible* aItem, role aRole) : mPosInSet(0), mSetSize(0), mParent(nullptr)
--- a/accessible/src/base/AccGroupInfo.h +++ b/accessible/src/base/AccGroupInfo.h @@ -1,16 +1,17 @@ /* 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 AccGroupInfo_h_ #define AccGroupInfo_h_ #include "Accessible-inl.h" +#include "nsAccUtils.h" namespace mozilla { namespace a11y { /** * Calculate and store group information. */ class AccGroupInfo
--- a/accessible/src/base/AccIterator.cpp +++ b/accessible/src/base/AccIterator.cpp @@ -1,20 +1,23 @@ /* 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 "AccIterator.h" +#include "nsAccessibilityService.h" #include "AccGroupInfo.h" +#include "Accessible-inl.h" #ifdef MOZ_XUL #include "XULTreeAccessible.h" #endif #include "mozilla/dom/Element.h" +#include "nsBindingManager.h" using namespace mozilla; using namespace mozilla::a11y; //////////////////////////////////////////////////////////////////////////////// // AccIterator ////////////////////////////////////////////////////////////////////////////////
--- a/accessible/src/base/AccIterator.h +++ b/accessible/src/base/AccIterator.h @@ -4,18 +4,17 @@ * 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_AccIterator_h__ #define mozilla_a11y_AccIterator_h__ #include "DocAccessible.h" #include "Filters.h" - -class nsITreeView; +#include "nsAccessibilityService.h" namespace mozilla { namespace a11y { /** * AccIterable is a basic interface for iterators over accessibles. */ class AccIterable
--- a/accessible/src/base/DocManager.cpp +++ b/accessible/src/base/DocManager.cpp @@ -1,37 +1,39 @@ /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* 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 "DocManager.h" +#include "Accessible-inl.h" #include "ApplicationAccessible.h" #include "ARIAMap.h" #include "DocAccessible-inl.h" #include "nsAccessibilityService.h" +#include "nsAccUtils.h" #include "RootAccessibleWrap.h" +#include "States.h" #ifdef A11Y_LOG #include "Logging.h" #endif #include "nsCURILoader.h" #include "nsDocShellLoadTypes.h" #include "nsDOMEvent.h" #include "nsIChannel.h" +#include "nsIContentViewer.h" #include "nsIDOMDocument.h" #include "nsEventListenerManager.h" #include "nsIDOMWindow.h" #include "nsIInterfaceRequestorUtils.h" #include "nsIWebNavigation.h" #include "nsServiceManagerUtils.h" -#include "nsIWebProgress.h" -#include "nsCoreUtils.h" using namespace mozilla; using namespace mozilla::a11y; using namespace mozilla::dom; //////////////////////////////////////////////////////////////////////////////// // DocManager ////////////////////////////////////////////////////////////////////////////////
--- a/accessible/src/base/DocManager.h +++ b/accessible/src/base/DocManager.h @@ -3,16 +3,17 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #ifndef mozilla_a11_DocManager_h_ #define mozilla_a11_DocManager_h_ #include "nsIDocument.h" #include "nsIDOMEventListener.h" #include "nsRefPtrHashtable.h" +#include "nsIWebProgress.h" #include "nsIWebProgressListener.h" #include "nsWeakReference.h" #include "nsIPresShell.h" namespace mozilla { namespace a11y { class Accessible;
--- a/accessible/src/base/EventQueue.cpp +++ b/accessible/src/base/EventQueue.cpp @@ -1,22 +1,18 @@ /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* 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 "EventQueue.h" #include "Accessible-inl.h" +#include "DocAccessible-inl.h" #include "nsEventShell.h" -#include "DocAccessible.h" -#include "nsAccessibilityService.h" -#ifdef A11Y_LOG -#include "Logging.h" -#endif using namespace mozilla; using namespace mozilla::a11y; // Defines the number of selection add/remove events in the queue when they // aren't packed into single selection within event. const unsigned int kSelChangeCountToPack = 5;
--- a/accessible/src/base/EventQueue.h +++ b/accessible/src/base/EventQueue.h @@ -3,16 +3,18 @@ * 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_EventQueue_h_ #define mozilla_a11y_EventQueue_h_ #include "AccEvent.h" +class nsIContent; + namespace mozilla { namespace a11y { class DocAccessible; /** * Used to organize and coalesce pending events. */
--- a/accessible/src/base/FocusManager.cpp +++ b/accessible/src/base/FocusManager.cpp @@ -5,20 +5,20 @@ #include "FocusManager.h" #include "Accessible-inl.h" #include "DocAccessible-inl.h" #include "nsAccessibilityService.h" #include "nsAccUtils.h" #include "nsEventShell.h" #include "Role.h" +#include "RootAccessible.h" #include "nsEventStateManager.h" #include "nsFocusManager.h" -#include "mozilla/dom/Element.h" namespace dom = mozilla::dom; using namespace mozilla::a11y; FocusManager::FocusManager() { }
--- a/accessible/src/base/FocusManager.h +++ b/accessible/src/base/FocusManager.h @@ -1,20 +1,17 @@ /* 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_FocusManager_h_ #define mozilla_a11y_FocusManager_h_ #include "nsAutoPtr.h" - -class nsINode; -class nsIDocument; -class nsISupports; +#include "mozilla/dom/Element.h" namespace mozilla { namespace a11y { class AccEvent; class Accessible; class DocAccessible;
--- a/accessible/src/base/Logging.cpp +++ b/accessible/src/base/Logging.cpp @@ -17,17 +17,16 @@ #include "nsIChannel.h" #include "nsIInterfaceRequestorUtils.h" #include "nsISelectionPrivate.h" #include "nsTraceRefcntImpl.h" #include "nsIWebProgress.h" #include "prenv.h" #include "nsIDocShellTreeItem.h" #include "nsIURI.h" -#include "mozilla/dom/Element.h" using namespace mozilla; using namespace mozilla::a11y; //////////////////////////////////////////////////////////////////////////////// // Logging helpers static uint32_t sModules = 0;
--- a/accessible/src/base/Logging.h +++ b/accessible/src/base/Logging.h @@ -3,23 +3,22 @@ /* 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_logs_h__ #define mozilla_a11y_logs_h__ #include "nscore.h" -#include "nsStringFwd.h" +#include "nsAString.h" class nsIDocument; class nsINode; class nsIRequest; class nsISelection; -class nsISupports; class nsIWebProgress; namespace mozilla { namespace a11y { class AccEvent; class Accessible; class DocAccessible;
--- a/accessible/src/base/NotificationController.cpp +++ b/accessible/src/base/NotificationController.cpp @@ -1,15 +1,16 @@ /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* 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 "NotificationController.h" +#include "Accessible-inl.h" #include "DocAccessible-inl.h" #include "TextLeafAccessible.h" #include "TextUpdater.h" #include "mozilla/dom/Element.h" #include "mozilla/Telemetry.h" using namespace mozilla;
--- a/accessible/src/base/NotificationController.h +++ b/accessible/src/base/NotificationController.h @@ -10,19 +10,22 @@ #include "nsCycleCollectionParticipant.h" #include "nsRefreshDriver.h" #ifdef A11Y_LOG #include "Logging.h" #endif +class nsIContent; + namespace mozilla { namespace a11y { +class Accessible; class DocAccessible; /** * Notification interface. */ class Notification { public:
--- a/accessible/src/base/RoleAsserts.cpp +++ b/accessible/src/base/RoleAsserts.cpp @@ -2,16 +2,18 @@ /* 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 "nsIAccessibleRole.h" #include "Role.h" +#include "mozilla/Assertions.h" + using namespace mozilla::a11y; #define ROLE(geckoRole, stringRole, atkRole, macRole, msaaRole, ia2Role, nameRule) \ static_assert(static_cast<uint32_t>(roles::geckoRole) \ == static_cast<uint32_t>(nsIAccessibleRole::ROLE_ ## geckoRole), \ "internal and xpcom roles differ!"); #include "RoleMap.h" #undef ROLE
--- a/accessible/src/base/SelectionManager.cpp +++ b/accessible/src/base/SelectionManager.cpp @@ -5,25 +5,27 @@ #include "mozilla/a11y/SelectionManager.h" #include "DocAccessible-inl.h" #include "nsAccessibilityService.h" #include "nsAccUtils.h" #include "nsCoreUtils.h" #include "nsIAccessibleEvent.h" +#include "RootAccessible.h" #include "nsCaret.h" -#include "nsIAccessibleTypes.h" #include "nsIDOMDocument.h" +#include "nsIDOMHTMLAnchorElement.h" +#include "nsIDOMHTMLTextAreaElement.h" #include "nsIFrame.h" #include "nsIPresShell.h" #include "nsISelectionPrivate.h" +#include "nsServiceManagerUtils.h" #include "mozilla/Selection.h" -#include "mozilla/dom/Element.h" using namespace mozilla; using namespace mozilla::a11y; void SelectionManager::Shutdown() { ClearControlSelectionListener();
--- a/accessible/src/base/TextAttrs.cpp +++ b/accessible/src/base/TextAttrs.cpp @@ -1,24 +1,25 @@ /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* 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 "TextAttrs.h" #include "Accessible-inl.h" +#include "HyperTextAccessibleWrap.h" #include "nsAccUtils.h" #include "nsCoreUtils.h" #include "StyleInfo.h" #include "gfxFont.h" +#include "gfxUserFontSet.h" #include "nsFontMetrics.h" #include "nsLayoutUtils.h" -#include "HyperTextAccessible.h" using namespace mozilla; using namespace mozilla::a11y; //////////////////////////////////////////////////////////////////////////////// // TextAttrsMgr ////////////////////////////////////////////////////////////////////////////////
--- a/accessible/src/base/TreeWalker.h +++ b/accessible/src/base/TreeWalker.h @@ -1,17 +1,17 @@ /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* 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_TreeWalker_h_ #define mozilla_a11y_TreeWalker_h_ -#include <stdint.h> +#include "nsAutoPtr.h" class nsIContent; namespace mozilla { namespace a11y { class Accessible; class DocAccessible;
--- a/accessible/src/base/nsAccUtils.cpp +++ b/accessible/src/base/nsAccUtils.cpp @@ -10,20 +10,23 @@ #include "nsAccessibilityService.h" #include "nsCoreUtils.h" #include "DocAccessible.h" #include "HyperTextAccessible.h" #include "nsIAccessibleTypes.h" #include "Role.h" #include "States.h" #include "TextLeafAccessible.h" +#include "nsIMutableArray.h" #include "nsIDOMXULContainerElement.h" -#include "nsIPersistentProperties2.h" -#include "mozilla/dom/Element.h" +#include "nsIDOMXULSelectCntrlEl.h" +#include "nsIDOMXULSelectCntrlItemEl.h" +#include "nsWhitespaceTokenizer.h" +#include "nsComponentManagerUtils.h" using namespace mozilla; using namespace mozilla::a11y; void nsAccUtils::GetAccAttr(nsIPersistentProperties *aAttributes, nsIAtom *aAttrName, nsAString& aAttrValue) {
--- a/accessible/src/base/nsAccUtils.h +++ b/accessible/src/base/nsAccUtils.h @@ -2,31 +2,33 @@ /* 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 nsAccUtils_h_ #define nsAccUtils_h_ #include "mozilla/a11y/Accessible.h" +#include "nsIAccessibleText.h" #include "nsAccessibilityService.h" #include "nsCoreUtils.h" +#include "mozilla/dom/Element.h" #include "nsIDocShell.h" +#include "nsIPersistentProperties2.h" +#include "nsIPresShell.h" #include "nsPoint.h" +struct nsRoleMapEntry; + namespace mozilla { - -namespace dom { -class Element; -} - namespace a11y { +class Accessible; class HyperTextAccessible; class DocAccessible; class nsAccUtils { public: /** * Returns value of attribute from the given attributes container.
--- a/accessible/src/base/nsAccessNode.cpp +++ b/accessible/src/base/nsAccessNode.cpp @@ -1,20 +1,29 @@ /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* 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 "nsAccessNode.h" +#include "nsAccessibilityService.h" #include "nsAccUtils.h" #include "nsCoreUtils.h" #include "RootAccessible.h" #include "nsIDocShell.h" +#include "nsIDOMWindow.h" +#include "nsIFrame.h" +#include "nsIInterfaceRequestorUtils.h" +#include "nsIPresShell.h" +#include "nsIServiceManager.h" +#include "nsFocusManager.h" +#include "nsPresContext.h" +#include "mozilla/Services.h" using namespace mozilla::a11y; /* For documentation of the accessibility architecture, * see http://lxr.mozilla.org/seamonkey/source/accessible/accessible-docs.html */ /*
--- a/accessible/src/base/nsAccessNode.h +++ b/accessible/src/base/nsAccessNode.h @@ -5,20 +5,24 @@ /* For documentation of the accessibility architecture, * see http://lxr.mozilla.org/seamonkey/source/accessible/accessible-docs.html */ #ifndef _nsAccessNode_H_ #define _nsAccessNode_H_ +#include "nsIAccessibleTypes.h" #include "nsINode.h" class nsIContent; +class nsIDocShellTreeItem; class nsIFrame; +class nsIPresShell; +class nsPresContext; namespace mozilla { namespace a11y { class DocAccessible; class RootAccessible; class nsAccessNode : public nsISupports
--- a/accessible/src/base/nsAccessibilityService.cpp +++ b/accessible/src/base/nsAccessibilityService.cpp @@ -1,41 +1,37 @@ /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* 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 "nsAccessibilityService.h" // NOTE: alphabetically ordered +#include "Accessible-inl.h" #include "ApplicationAccessibleWrap.h" #include "ARIAGridAccessibleWrap.h" #include "ARIAMap.h" #include "DocAccessible-inl.h" #include "FocusManager.h" #include "HTMLCanvasAccessible.h" #include "HTMLElementAccessibles.h" #include "HTMLImageMapAccessible.h" #include "HTMLLinkAccessible.h" #include "HTMLListAccessible.h" #include "HTMLSelectAccessible.h" #include "HTMLTableAccessibleWrap.h" #include "HyperTextAccessibleWrap.h" -#include "RootAccessible.h" #include "nsAccessiblePivot.h" #include "nsAccUtils.h" -#include "nsAttrName.h" #include "nsEventShell.h" -#include "nsIURI.h" #include "OuterDocAccessible.h" #include "Platform.h" #include "Role.h" -#ifdef MOZ_ACCESSIBILITY_ATK #include "RootAccessibleWrap.h" -#endif #include "States.h" #include "Statistics.h" #include "TextLeafAccessibleWrap.h" #ifdef MOZ_ACCESSIBILITY_ATK #include "AtkSocketAccessible.h" #endif @@ -47,48 +43,51 @@ #ifdef A11Y_LOG #include "Logging.h" #endif #ifdef MOZ_CRASHREPORTER #include "nsExceptionHandler.h" #endif +#include "nsIDOMDocument.h" +#include "nsIDOMHTMLObjectElement.h" +#include "nsIDOMXULElement.h" #include "nsImageFrame.h" #include "nsIObserverService.h" #include "nsLayoutUtils.h" +#include "nsNPAPIPluginInstance.h" #include "nsObjectFrame.h" #include "nsSVGPathGeometryFrame.h" #include "nsTreeBodyFrame.h" #include "nsTreeColumns.h" #include "nsTreeUtils.h" +#include "nsBindingManager.h" #include "nsXBLPrototypeBinding.h" #include "nsXBLBinding.h" +#include "mozilla/dom/Element.h" #include "mozilla/Preferences.h" #include "mozilla/Services.h" +#include "mozilla/StaticPtr.h" #include "mozilla/Util.h" #include "nsDeckFrame.h" #ifdef MOZ_XUL #include "XULAlertAccessible.h" #include "XULColorPickerAccessible.h" #include "XULComboboxAccessible.h" #include "XULElementAccessibles.h" #include "XULFormControlAccessible.h" #include "XULListboxAccessibleWrap.h" #include "XULMenuAccessibleWrap.h" #include "XULSliderAccessible.h" #include "XULTabAccessible.h" #include "XULTreeGridAccessibleWrap.h" #endif -#if defined(XP_WIN) || defined(MOZ_ACCESSIBILITY_ATK) -#include "nsNPAPIPluginInstance.h" -#endif - using namespace mozilla; using namespace mozilla::a11y; //////////////////////////////////////////////////////////////////////////////// // Statics //////////////////////////////////////////////////////////////////////////////// /**
--- a/accessible/src/base/nsAccessiblePivot.cpp +++ b/accessible/src/base/nsAccessiblePivot.cpp @@ -1,20 +1,25 @@ /* -*- 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 "nsAccessiblePivot.h" +#include "DocAccessible.h" #include "HyperTextAccessible.h" #include "nsAccUtils.h" #include "States.h" +#include "nsArrayUtils.h" +#include "nsComponentManagerUtils.h" +#include "nsISupportsPrimitives.h" + using namespace mozilla::a11y; /** * An object that stores a given traversal rule during */ class RuleCache {
--- a/accessible/src/base/nsAccessiblePivot.h +++ b/accessible/src/base/nsAccessiblePivot.h @@ -10,16 +10,17 @@ #include "nsIAccessiblePivot.h" #include "Accessible-inl.h" #include "nsAutoPtr.h" #include "nsTObserverArray.h" #include "nsCycleCollectionParticipant.h" #include "mozilla/Attributes.h" +class nsIAccessibleTraversalRule; class RuleCache; /** * Class represents an accessible pivot. */ class nsAccessiblePivot MOZ_FINAL : public nsIAccessiblePivot { public:
--- a/accessible/src/base/nsCoreUtils.cpp +++ b/accessible/src/base/nsCoreUtils.cpp @@ -2,39 +2,46 @@ /* 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 "nsCoreUtils.h" #include "nsIAccessibleTypes.h" +#include "nsAccessNode.h" + #include "nsIBaseWindow.h" #include "nsIDocShellTreeOwner.h" #include "nsIDocument.h" #include "nsIDOMDocument.h" #include "nsIDOMHTMLDocument.h" #include "nsIDOMHTMLElement.h" #include "nsRange.h" -#include "nsIBoxObject.h" +#include "nsIDOMWindow.h" #include "nsIDOMXULElement.h" #include "nsIDocShell.h" +#include "nsIContentViewer.h" #include "nsEventListenerManager.h" #include "nsIPresShell.h" #include "nsPresContext.h" #include "nsIScrollableFrame.h" #include "nsEventStateManager.h" #include "nsISelectionPrivate.h" #include "nsISelectionController.h" +#include "nsPIDOMWindow.h" #include "nsGUIEvent.h" #include "nsView.h" +#include "nsLayoutUtils.h" #include "nsGkAtoms.h" #include "nsDOMTouchEvent.h" #include "nsComponentManagerUtils.h" +#include "nsIInterfaceRequestorUtils.h" +#include "mozilla/dom/Element.h" #include "nsITreeBoxObject.h" #include "nsITreeColumns.h" using namespace mozilla; //////////////////////////////////////////////////////////////////////////////// // nsCoreUtils
--- a/accessible/src/base/nsCoreUtils.h +++ b/accessible/src/base/nsCoreUtils.h @@ -2,24 +2,24 @@ /* 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 nsCoreUtils_h_ #define nsCoreUtils_h_ #include "nsIContent.h" +#include "nsIBoxObject.h" #include "nsIPresShell.h" #include "nsIDOMDOMStringList.h" #include "nsPoint.h" #include "nsTArray.h" class nsRange; -class nsIBoxObject; class nsIFrame; class nsIDocShell; class nsITreeColumn; class nsITreeBoxObject; class nsIWidget; /** * Core utils.
--- a/accessible/src/base/nsTextEquivUtils.cpp +++ b/accessible/src/base/nsTextEquivUtils.cpp @@ -4,19 +4,24 @@ /* 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 "nsTextEquivUtils.h" #include "Accessible-inl.h" #include "AccIterator.h" -#include "nsCoreUtils.h" +#include "nsAccessibilityService.h" +#include "nsAccUtils.h" +#include "nsStyleStructInlines.h" + #include "nsIDOMXULLabeledControlEl.h" +#include "nsArrayUtils.h" + using namespace mozilla::a11y; /** * The accessible for which we are computing a text equivalent. It is useful * for bailing out during recursive text computation, or for special cases * like step f. of the ARIA implementation guide. */ static Accessible* sInitiatorAcc = nullptr;
--- a/accessible/src/base/nsTextEquivUtils.h +++ b/accessible/src/base/nsTextEquivUtils.h @@ -4,16 +4,17 @@ /* 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 _nsTextEquivUtils_H_ #define _nsTextEquivUtils_H_ #include "Accessible.h" +#include "nsIStringBundle.h" #include "Role.h" class nsIContent; /** * Text equivalent computation rules (see nsTextEquivUtils::gRoleToNameRulesMap) */ enum ETextEquivRule
--- a/accessible/src/generic/ARIAGridAccessible.cpp +++ b/accessible/src/generic/ARIAGridAccessible.cpp @@ -7,17 +7,16 @@ #include "Accessible-inl.h" #include "AccIterator.h" #include "nsAccUtils.h" #include "Role.h" #include "States.h" #include "nsIMutableArray.h" -#include "nsIPersistentProperties2.h" #include "nsComponentManagerUtils.h" using namespace mozilla; using namespace mozilla::a11y; //////////////////////////////////////////////////////////////////////////////// // ARIAGridAccessible ////////////////////////////////////////////////////////////////////////////////
--- a/accessible/src/generic/DocAccessible-inl.h +++ b/accessible/src/generic/DocAccessible-inl.h @@ -6,17 +6,16 @@ #ifndef mozilla_a11y_DocAccessible_inl_h_ #define mozilla_a11y_DocAccessible_inl_h_ #include "DocAccessible.h" #include "nsAccessibilityService.h" #include "NotificationController.h" #include "States.h" -#include "nsIScrollableFrame.h" #ifdef A11Y_LOG #include "Logging.h" #endif namespace mozilla { namespace a11y {
--- a/accessible/src/generic/DocAccessible.cpp +++ b/accessible/src/generic/DocAccessible.cpp @@ -27,17 +27,16 @@ #include "nsIDOMMutationEvent.h" #include "nsPIDOMWindow.h" #include "nsIDOMXULPopupElement.h" #include "nsIEditingSession.h" #include "nsEventStateManager.h" #include "nsIFrame.h" #include "nsIInterfaceRequestorUtils.h" #include "nsINameSpaceManager.h" -#include "nsIPersistentProperties2.h" #include "nsIPresShell.h" #include "nsIServiceManager.h" #include "nsViewManager.h" #include "nsIScrollableFrame.h" #include "nsUnicharUtils.h" #include "nsIURI.h" #include "nsIWebNavigation.h" #include "nsFocusManager.h"
--- a/accessible/src/generic/HyperTextAccessible.cpp +++ b/accessible/src/generic/HyperTextAccessible.cpp @@ -19,17 +19,16 @@ #include "nsFocusManager.h" #include "nsIDOMRange.h" #include "nsIEditingSession.h" #include "nsIEditor.h" #include "nsIFrame.h" #include "nsFrameSelection.h" #include "nsILineIterator.h" #include "nsIInterfaceRequestorUtils.h" -#include "nsIPersistentProperties2.h" #include "nsIPlaintextEditor.h" #include "nsIScrollableFrame.h" #include "nsIServiceManager.h" #include "nsTextFragment.h" #include "mozilla/Selection.h" #include "gfxSkipChars.h" #include <algorithm>
--- a/accessible/src/generic/ImageAccessible.cpp +++ b/accessible/src/generic/ImageAccessible.cpp @@ -13,17 +13,16 @@ #include "imgIContainer.h" #include "imgIRequest.h" #include "nsGenericHTMLElement.h" #include "nsIDocument.h" #include "nsIImageLoadingContent.h" #include "nsIPresShell.h" #include "nsIServiceManager.h" #include "nsIDOMHTMLImageElement.h" -#include "nsIPersistentProperties2.h" #include "nsPIDOMWindow.h" #include "nsIURI.h" using namespace mozilla::a11y; //////////////////////////////////////////////////////////////////////////////// // ImageAccessible ////////////////////////////////////////////////////////////////////////////////
--- a/accessible/src/html/HTMLElementAccessibles.cpp +++ b/accessible/src/html/HTMLElementAccessibles.cpp @@ -3,17 +3,16 @@ * 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 "HTMLElementAccessibles.h" #include "DocAccessible.h" #include "nsAccUtils.h" #include "nsIAccessibleRelation.h" -#include "nsIPersistentProperties2.h" #include "nsTextEquivUtils.h" #include "Relation.h" #include "Role.h" #include "States.h" using namespace mozilla::a11y; ////////////////////////////////////////////////////////////////////////////////
--- a/accessible/src/html/HTMLFormControlAccessible.cpp +++ b/accessible/src/html/HTMLFormControlAccessible.cpp @@ -18,17 +18,16 @@ #include "nsCxPusher.h" #include "mozilla/dom/HTMLInputElement.h" #include "nsIAccessibleRelation.h" #include "nsIDOMNSEditableElement.h" #include "nsIDOMHTMLTextAreaElement.h" #include "nsIEditor.h" #include "nsIFormControl.h" #include "nsINameSpaceManager.h" -#include "nsIPersistentProperties2.h" #include "nsISelectionController.h" #include "jsapi.h" #include "nsIServiceManager.h" #include "nsITextControlFrame.h" #include "mozilla/Preferences.h" using namespace mozilla;
--- a/accessible/src/html/HTMLTableAccessible.cpp +++ b/accessible/src/html/HTMLTableAccessible.cpp @@ -23,17 +23,16 @@ #include "nsIDOMDocument.h" #include "nsIDOMRange.h" #include "nsISelectionPrivate.h" #include "nsINameSpaceManager.h" #include "nsIDOMNodeList.h" #include "nsIDOMHTMLCollection.h" #include "nsIDocument.h" #include "nsIMutableArray.h" -#include "nsIPersistentProperties2.h" #include "nsIPresShell.h" #include "nsITableCellLayout.h" #include "nsFrameSelection.h" #include "nsError.h" #include "nsArrayUtils.h" #include "nsComponentManagerUtils.h" #include "nsTableCellFrame.h" #include "nsTableOuterFrame.h"
--- a/accessible/src/mac/mozAccessible.mm +++ b/accessible/src/mac/mozAccessible.mm @@ -8,17 +8,16 @@ #import "MacUtils.h" #import "mozView.h" #include "Accessible-inl.h" #include "nsAccUtils.h" #include "nsIAccessibleRelation.h" #include "nsIAccessibleText.h" #include "nsIAccessibleEditableText.h" -#include "nsIPersistentProperties2.h" #include "Relation.h" #include "Role.h" #include "RootAccessible.h" #include "mozilla/Services.h" #include "nsRect.h" #include "nsCocoaUtils.h" #include "nsCoord.h"
--- a/accessible/src/mac/mozTextAccessible.mm +++ b/accessible/src/mac/mozTextAccessible.mm @@ -1,17 +1,16 @@ /* -*- Mode: Objective-C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* 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 "Accessible-inl.h" #include "AccessibleWrap.h" #include "TextLeafAccessible.h" -#include "nsIAccessibleTypes.h" #include "nsCocoaUtils.h" #include "nsObjCExceptions.h" #import "mozTextAccessible.h" using namespace mozilla::a11y;
--- a/accessible/src/xul/XULFormControlAccessible.cpp +++ b/accessible/src/xul/XULFormControlAccessible.cpp @@ -23,17 +23,16 @@ #include "nsIDOMXULMenuListElement.h" #include "nsIDOMXULSelectCntrlItemEl.h" #include "nsIDOMXULTextboxElement.h" #include "nsIEditor.h" #include "nsIFrame.h" #include "nsINameSpaceManager.h" #include "nsITextControlFrame.h" #include "nsMenuPopupFrame.h" -#include "mozilla/dom/Element.h" using namespace mozilla::a11y; //////////////////////////////////////////////////////////////////////////////// // XULButtonAccessible //////////////////////////////////////////////////////////////////////////////// XULButtonAccessible::
--- a/accessible/src/xul/XULListboxAccessible.cpp +++ b/accessible/src/xul/XULListboxAccessible.cpp @@ -16,17 +16,16 @@ #include "nsIAutoCompleteInput.h" #include "nsIAutoCompletePopup.h" #include "nsIDOMXULMenuListElement.h" #include "nsIDOMXULMultSelectCntrlEl.h" #include "nsIDOMNodeList.h" #include "nsIDOMXULPopupElement.h" #include "nsIDOMXULSelectCntrlItemEl.h" #include "nsIMutableArray.h" -#include "nsIPersistentProperties2.h" using namespace mozilla::a11y; //////////////////////////////////////////////////////////////////////////////// // XULColumAccessible //////////////////////////////////////////////////////////////////////////////// XULColumAccessible::
--- a/accessible/src/xul/XULSliderAccessible.cpp +++ b/accessible/src/xul/XULSliderAccessible.cpp @@ -5,17 +5,16 @@ #include "XULSliderAccessible.h" #include "nsAccessibilityService.h" #include "Role.h" #include "States.h" #include "nsIFrame.h" -#include "mozilla/dom/Element.h" using namespace mozilla::a11y; //////////////////////////////////////////////////////////////////////////////// // XULSliderAccessible //////////////////////////////////////////////////////////////////////////////// XULSliderAccessible::
--- a/accessible/src/xul/XULTreeAccessible.cpp +++ b/accessible/src/xul/XULTreeAccessible.cpp @@ -16,17 +16,16 @@ #include "Relation.h" #include "Role.h" #include "States.h" #include "nsComponentManagerUtils.h" #include "nsIAccessibleRelation.h" #include "nsIAutoCompleteInput.h" #include "nsIAutoCompletePopup.h" -#include "nsIBoxObject.h" #include "nsIDOMXULElement.h" #include "nsIDOMXULMenuListElement.h" #include "nsIDOMXULMultSelectCntrlEl.h" #include "nsIDOMXULTreeElement.h" #include "nsITreeSelection.h" #include "nsIMutableArray.h" #include "nsTreeBodyFrame.h" #include "nsTreeColumns.h"
--- a/accessible/src/xul/XULTreeGridAccessible.cpp +++ b/accessible/src/xul/XULTreeGridAccessible.cpp @@ -9,19 +9,17 @@ #include "nsAccessibilityService.h" #include "nsAccUtils.h" #include "DocAccessible.h" #include "nsEventShell.h" #include "Relation.h" #include "Role.h" #include "States.h" -#include "nsIBoxObject.h" #include "nsIMutableArray.h" -#include "nsIPersistentProperties2.h" #include "nsITreeSelection.h" #include "nsComponentManagerUtils.h" using namespace mozilla::a11y; //////////////////////////////////////////////////////////////////////////////// // XULTreeGridAccessible: nsISupports implementation