mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 12:51:06 +00:00
Bug 1840732 Part 1: Remove unnecessary includes from accessible/base, r=Jamie
This revision removes unnecessary include directives from cpp files in the accessible/base directory. These suggestions came from the Include What You Use tool. Differential Revision: https://phabricator.services.mozilla.com/D182288
This commit is contained in:
parent
8c7626e3a4
commit
85a3b00160
@ -14,7 +14,6 @@
|
||||
#include "States.h"
|
||||
|
||||
#include "nsAttrName.h"
|
||||
#include "nsGenericHTMLElement.h"
|
||||
#include "nsWhitespaceTokenizer.h"
|
||||
|
||||
#include "mozilla/BinarySearch.h"
|
||||
|
@ -5,7 +5,6 @@
|
||||
|
||||
#include "AccAttributes.h"
|
||||
#include "StyleInfo.h"
|
||||
#include "mozilla/Maybe.h"
|
||||
#include "mozilla/ToString.h"
|
||||
#include "nsAtom.h"
|
||||
|
||||
|
@ -7,7 +7,6 @@
|
||||
#include "AccEvent.h"
|
||||
|
||||
#include "nsAccUtils.h"
|
||||
#include "DocAccessible.h"
|
||||
#include "xpcAccEvents.h"
|
||||
#include "States.h"
|
||||
#include "TextRange.h"
|
||||
|
@ -7,7 +7,6 @@
|
||||
#include "AccGroupInfo.h"
|
||||
#include "DocAccessible-inl.h"
|
||||
#include "XULTreeAccessible.h"
|
||||
#include "nsAccUtils.h"
|
||||
|
||||
#include "mozilla/a11y/DocAccessibleParent.h"
|
||||
#include "mozilla/dom/DocumentOrShadowRoot.h"
|
||||
|
@ -7,7 +7,6 @@
|
||||
#include "CachedTableAccessible.h"
|
||||
|
||||
#include "AccIterator.h"
|
||||
#include "DocAccessibleParent.h"
|
||||
#include "HTMLTableAccessible.h"
|
||||
#include "mozilla/ClearOnShutdown.h"
|
||||
#include "mozilla/StaticPtr.h"
|
||||
|
@ -7,9 +7,7 @@
|
||||
#include "DocManager.h"
|
||||
|
||||
#include "ApplicationAccessible.h"
|
||||
#include "ARIAMap.h"
|
||||
#include "DocAccessible-inl.h"
|
||||
#include "DocAccessibleChild.h"
|
||||
#include "DocAccessibleParent.h"
|
||||
#include "nsAccessibilityService.h"
|
||||
#include "Platform.h"
|
||||
@ -28,11 +26,8 @@
|
||||
#include "nsIChannel.h"
|
||||
#include "nsIInterfaceRequestorUtils.h"
|
||||
#include "nsIWebNavigation.h"
|
||||
#include "nsServiceManagerUtils.h"
|
||||
#include "nsIWebProgress.h"
|
||||
#include "nsCoreUtils.h"
|
||||
#include "nsXULAppAPI.h"
|
||||
#include "mozilla/dom/BrowserChild.h"
|
||||
#include "xpcAccessibleDocument.h"
|
||||
|
||||
using namespace mozilla;
|
||||
|
@ -7,7 +7,6 @@
|
||||
|
||||
#include "LocalAccessible-inl.h"
|
||||
#include "nsEventShell.h"
|
||||
#include "DocAccessible.h"
|
||||
#include "DocAccessibleChild.h"
|
||||
#include "nsTextEquivUtils.h"
|
||||
#ifdef A11Y_LOG
|
||||
|
@ -5,12 +5,8 @@
|
||||
|
||||
#include "EventTree.h"
|
||||
|
||||
#include "LocalAccessible-inl.h"
|
||||
#include "EmbeddedObjCollector.h"
|
||||
#include "NotificationController.h"
|
||||
#include "nsEventShell.h"
|
||||
#include "DocAccessible.h"
|
||||
#include "DocAccessible-inl.h"
|
||||
#ifdef A11Y_LOG
|
||||
# include "Logging.h"
|
||||
#endif
|
||||
|
@ -5,8 +5,6 @@
|
||||
#include "Filters.h"
|
||||
|
||||
#include "LocalAccessible-inl.h"
|
||||
#include "nsAccUtils.h"
|
||||
#include "Role.h"
|
||||
#include "States.h"
|
||||
|
||||
using namespace mozilla::a11y;
|
||||
|
@ -5,16 +5,12 @@
|
||||
#include "FocusManager.h"
|
||||
|
||||
#include "LocalAccessible-inl.h"
|
||||
#include "AccIterator.h"
|
||||
#include "DocAccessible-inl.h"
|
||||
#include "nsAccessibilityService.h"
|
||||
#include "nsAccUtils.h"
|
||||
#include "nsEventShell.h"
|
||||
#include "Role.h"
|
||||
|
||||
#include "nsFocusManager.h"
|
||||
#include "mozilla/a11y/DocAccessibleParent.h"
|
||||
#include "mozilla/a11y/DocManager.h"
|
||||
#include "mozilla/EventStateManager.h"
|
||||
#include "mozilla/dom/Element.h"
|
||||
#include "mozilla/dom/BrowsingContext.h"
|
||||
|
@ -16,7 +16,6 @@
|
||||
|
||||
#include "nsDocShellLoadTypes.h"
|
||||
#include "nsIChannel.h"
|
||||
#include "nsIInterfaceRequestorUtils.h"
|
||||
#include "nsIWebProgress.h"
|
||||
#include "prenv.h"
|
||||
#include "nsIDocShellTreeItem.h"
|
||||
|
@ -8,14 +8,10 @@
|
||||
#include "AccIterator.h"
|
||||
#include "LocalAccessible.h"
|
||||
#include "RemoteAccessible.h"
|
||||
#include "DocAccessible.h"
|
||||
#include "nsAccUtils.h"
|
||||
#include "nsIAccessiblePivot.h"
|
||||
|
||||
#include "mozilla/a11y/Accessible.h"
|
||||
#include "mozilla/a11y/HyperTextAccessibleBase.h"
|
||||
#include "mozilla/dom/ChildIterator.h"
|
||||
#include "mozilla/dom/Element.h"
|
||||
|
||||
using namespace mozilla;
|
||||
using namespace mozilla::a11y;
|
||||
|
@ -15,7 +15,6 @@
|
||||
#include "TextLeafRange.h"
|
||||
|
||||
#include "mozilla/PresShell.h"
|
||||
#include "mozilla/dom/Document.h"
|
||||
#include "mozilla/dom/Selection.h"
|
||||
#include "mozilla/dom/Element.h"
|
||||
|
||||
|
@ -5,7 +5,6 @@
|
||||
|
||||
#include "TextAttrs.h"
|
||||
|
||||
#include "LocalAccessible-inl.h"
|
||||
#include "AccAttributes.h"
|
||||
#include "nsAccUtils.h"
|
||||
#include "nsCoreUtils.h"
|
||||
@ -15,10 +14,8 @@
|
||||
#include "nsFontMetrics.h"
|
||||
#include "nsLayoutUtils.h"
|
||||
#include "nsContainerFrame.h"
|
||||
#include "nsStyleUtil.h"
|
||||
#include "HyperTextAccessible.h"
|
||||
#include "mozilla/AppUnits.h"
|
||||
#include "mozilla/gfx/2D.h"
|
||||
|
||||
using namespace mozilla;
|
||||
using namespace mozilla::a11y;
|
||||
|
@ -15,17 +15,14 @@
|
||||
#include "mozilla/BinarySearch.h"
|
||||
#include "mozilla/Casting.h"
|
||||
#include "mozilla/dom/CharacterData.h"
|
||||
#include "mozilla/dom/Document.h"
|
||||
#include "mozilla/dom/HTMLInputElement.h"
|
||||
#include "mozilla/PresShell.h"
|
||||
#include "mozilla/intl/Segmenter.h"
|
||||
#include "mozilla/intl/WordBreaker.h"
|
||||
#include "mozilla/StaticPrefs_layout.h"
|
||||
#include "mozilla/TextEditor.h"
|
||||
#include "nsAccessibilityService.h"
|
||||
#include "nsAccUtils.h"
|
||||
#include "nsBlockFrame.h"
|
||||
#include "nsContentUtils.h"
|
||||
#include "nsFrameSelection.h"
|
||||
#include "nsIAccessiblePivot.h"
|
||||
#include "nsILineIterator.h"
|
||||
|
@ -8,7 +8,6 @@
|
||||
#define mozilla_a11y_TextRange_inl_h__
|
||||
|
||||
#include "TextRange.h"
|
||||
#include "HyperTextAccessible.h"
|
||||
|
||||
namespace mozilla {
|
||||
namespace a11y {
|
||||
|
@ -5,10 +5,8 @@
|
||||
|
||||
#include "TextUpdater.h"
|
||||
|
||||
#include "LocalAccessible-inl.h"
|
||||
#include "CacheConstants.h"
|
||||
#include "DocAccessible-inl.h"
|
||||
#include "nsAccessibilityService.h"
|
||||
#include "TextLeafAccessible.h"
|
||||
#include <algorithm>
|
||||
|
||||
|
@ -5,8 +5,6 @@
|
||||
|
||||
#include "TreeWalker.h"
|
||||
|
||||
#include "LocalAccessible.h"
|
||||
#include "AccIterator.h"
|
||||
#include "nsAccessibilityService.h"
|
||||
#include "DocAccessible.h"
|
||||
|
||||
|
@ -5,7 +5,6 @@
|
||||
|
||||
#include "nsAccUtils.h"
|
||||
|
||||
#include "LocalAccessible-inl.h"
|
||||
#include "AccAttributes.h"
|
||||
#include "ARIAMap.h"
|
||||
#include "nsCoreUtils.h"
|
||||
@ -21,8 +20,6 @@
|
||||
#include "nsIBaseWindow.h"
|
||||
#include "nsIDocShellTreeOwner.h"
|
||||
#include "nsIDOMXULContainerElement.h"
|
||||
#include "nsISimpleEnumerator.h"
|
||||
#include "mozilla/a11y/PDocAccessibleChild.h"
|
||||
#include "mozilla/a11y/RemoteAccessible.h"
|
||||
#include "mozilla/dom/Document.h"
|
||||
#include "mozilla/dom/Element.h"
|
||||
|
@ -6,7 +6,6 @@
|
||||
#include "nsAccessibilityService.h"
|
||||
|
||||
// NOTE: alphabetically ordered
|
||||
#include "AccAttributes.h"
|
||||
#include "ApplicationAccessibleWrap.h"
|
||||
#include "ARIAGridAccessible.h"
|
||||
#include "ARIAMap.h"
|
||||
@ -22,7 +21,6 @@
|
||||
#include "HTMLTableAccessible.h"
|
||||
#include "HyperTextAccessibleWrap.h"
|
||||
#include "RootAccessible.h"
|
||||
#include "StyleInfo.h"
|
||||
#include "nsAccUtils.h"
|
||||
#include "nsArrayUtils.h"
|
||||
#include "nsAttrName.h"
|
||||
@ -41,7 +39,6 @@
|
||||
#include "States.h"
|
||||
#include "Statistics.h"
|
||||
#include "TextLeafAccessible.h"
|
||||
#include "TreeWalker.h"
|
||||
#include "xpcAccessibleApplication.h"
|
||||
|
||||
#ifdef XP_WIN
|
||||
@ -55,12 +52,10 @@
|
||||
|
||||
#include "nsExceptionHandler.h"
|
||||
#include "nsImageFrame.h"
|
||||
#include "nsINamed.h"
|
||||
#include "nsIObserverService.h"
|
||||
#include "nsMenuPopupFrame.h"
|
||||
#include "nsLayoutUtils.h"
|
||||
#include "nsTreeBodyFrame.h"
|
||||
#include "nsTreeColumns.h"
|
||||
#include "nsTreeUtils.h"
|
||||
#include "mozilla/a11y/AccTypes.h"
|
||||
#include "mozilla/ArrayUtils.h"
|
||||
|
@ -7,13 +7,11 @@
|
||||
|
||||
#include "nsTextEquivUtils.h"
|
||||
|
||||
#include "LocalAccessible.h"
|
||||
#include "LocalAccessible-inl.h"
|
||||
#include "AccIterator.h"
|
||||
#include "nsCoreUtils.h"
|
||||
#include "mozilla/dom/ChildIterator.h"
|
||||
#include "mozilla/dom/Text.h"
|
||||
#include "nsIContentInlines.h"
|
||||
|
||||
using namespace mozilla;
|
||||
using namespace mozilla::a11y;
|
||||
|
Loading…
Reference in New Issue
Block a user