зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1840732 Part 3: Remove unnecessary includes from accessible/generic, r=Jamie
This revision removes unnecessary include directives from cpp files in the accessible/generic directory. These suggestions came from the Include What You Use tool. Depends on D182397 Differential Revision: https://phabricator.services.mozilla.com/D182398
This commit is contained in:
Родитель
45c1a55d92
Коммит
957de6a77f
|
@ -8,7 +8,6 @@
|
|||
#include <stdint.h>
|
||||
#include "LocalAccessible-inl.h"
|
||||
#include "AccAttributes.h"
|
||||
#include "AccIterator.h"
|
||||
#include "mozilla/a11y/TableAccessible.h"
|
||||
#include "mozilla/a11y/TableCellAccessible.h"
|
||||
#include "nsAccessibilityService.h"
|
||||
|
|
|
@ -7,10 +7,8 @@
|
|||
|
||||
#include "ApplicationAccessible.h"
|
||||
|
||||
#include "AccAttributes.h"
|
||||
#include "LocalAccessible-inl.h"
|
||||
#include "nsAccessibilityService.h"
|
||||
#include "nsAccUtils.h"
|
||||
#include "Relation.h"
|
||||
#include "Role.h"
|
||||
#include "States.h"
|
||||
|
@ -18,7 +16,7 @@
|
|||
#include "nsServiceManagerUtils.h"
|
||||
#include "mozilla/dom/Document.h"
|
||||
#include "mozilla/Components.h"
|
||||
#include "nsGlobalWindow.h"
|
||||
#include "nsGlobalWindowOuter.h"
|
||||
#include "nsIStringBundle.h"
|
||||
|
||||
using namespace mozilla::a11y;
|
||||
|
|
|
@ -5,14 +5,7 @@
|
|||
|
||||
#include "BaseAccessibles.h"
|
||||
|
||||
#include "LocalAccessible-inl.h"
|
||||
#include "HyperTextAccessibleWrap.h"
|
||||
#include "nsAccessibilityService.h"
|
||||
#include "nsAccUtils.h"
|
||||
#include "nsCoreUtils.h"
|
||||
#include "Role.h"
|
||||
#include "States.h"
|
||||
#include "nsIURI.h"
|
||||
|
||||
using namespace mozilla::a11y;
|
||||
|
||||
|
|
|
@ -12,20 +12,15 @@
|
|||
#include "EventTree.h"
|
||||
#include "HTMLImageMapAccessible.h"
|
||||
#include "mozilla/ProfilerMarkers.h"
|
||||
#include "nsAccCache.h"
|
||||
#include "nsAccUtils.h"
|
||||
#include "nsEventShell.h"
|
||||
#include "nsIIOService.h"
|
||||
#include "nsLayoutUtils.h"
|
||||
#include "nsTextEquivUtils.h"
|
||||
#include "Pivot.h"
|
||||
#include "Role.h"
|
||||
#include "RootAccessible.h"
|
||||
#include "TreeWalker.h"
|
||||
#include "xpcAccessibleDocument.h"
|
||||
|
||||
#include "nsCommandManager.h"
|
||||
#include "nsContentUtils.h"
|
||||
#include "nsIDocShell.h"
|
||||
#include "mozilla/dom/Document.h"
|
||||
#include "nsPIDOMWindow.h"
|
||||
|
@ -36,11 +31,9 @@
|
|||
#include "nsImageFrame.h"
|
||||
#include "nsViewManager.h"
|
||||
#include "nsIScrollableFrame.h"
|
||||
#include "nsUnicharUtils.h"
|
||||
#include "nsIURI.h"
|
||||
#include "nsIWebNavigation.h"
|
||||
#include "nsFocusManager.h"
|
||||
#include "nsTHashSet.h"
|
||||
#include "mozilla/ArrayUtils.h"
|
||||
#include "mozilla/Assertions.h"
|
||||
#include "mozilla/Components.h" // for mozilla::components
|
||||
|
@ -50,10 +43,8 @@
|
|||
#include "mozilla/PresShell.h"
|
||||
#include "nsAccessibilityService.h"
|
||||
#include "mozilla/a11y/DocAccessibleChild.h"
|
||||
#include "mozilla/a11y/DocAccessibleParent.h"
|
||||
#include "mozilla/dom/AncestorIterator.h"
|
||||
#include "mozilla/dom/BrowserChild.h"
|
||||
#include "mozilla/dom/BrowserParent.h"
|
||||
#include "mozilla/dom/DocumentType.h"
|
||||
#include "mozilla/dom/Element.h"
|
||||
#include "mozilla/dom/HTMLSelectElement.h"
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
#include "FormControlAccessible.h"
|
||||
|
||||
#include "mozilla/dom/HTMLInputElement.h"
|
||||
#include "mozilla/FloatingPoint.h"
|
||||
#include "Role.h"
|
||||
|
||||
using namespace mozilla::a11y;
|
||||
|
|
|
@ -9,15 +9,12 @@
|
|||
#include "nsAccessibilityService.h"
|
||||
#include "nsIAccessibleTypes.h"
|
||||
#include "AccAttributes.h"
|
||||
#include "DocAccessible.h"
|
||||
#include "HTMLListAccessible.h"
|
||||
#include "LocalAccessible-inl.h"
|
||||
#include "Pivot.h"
|
||||
#include "Relation.h"
|
||||
#include "Role.h"
|
||||
#include "States.h"
|
||||
#include "TextAttrs.h"
|
||||
#include "TextLeafRange.h"
|
||||
#include "TextRange.h"
|
||||
#include "TreeWalker.h"
|
||||
|
||||
|
@ -29,26 +26,19 @@
|
|||
#include "nsContainerFrame.h"
|
||||
#include "nsFrameSelection.h"
|
||||
#include "nsILineIterator.h"
|
||||
#include "nsIInterfaceRequestorUtils.h"
|
||||
#include "nsIScrollableFrame.h"
|
||||
#include "nsIMathMLFrame.h"
|
||||
#include "nsLayoutUtils.h"
|
||||
#include "nsRange.h"
|
||||
#include "nsTextFragment.h"
|
||||
#include "mozilla/Assertions.h"
|
||||
#include "mozilla/BinarySearch.h"
|
||||
#include "mozilla/EditorBase.h"
|
||||
#include "mozilla/HTMLEditor.h"
|
||||
#include "mozilla/IntegerRange.h"
|
||||
#include "mozilla/MathAlgorithms.h"
|
||||
#include "mozilla/PresShell.h"
|
||||
#include "mozilla/StaticPrefs_layout.h"
|
||||
#include "mozilla/dom/Element.h"
|
||||
#include "mozilla/dom/HTMLBRElement.h"
|
||||
#include "mozilla/dom/HTMLHeadingElement.h"
|
||||
#include "mozilla/dom/Selection.h"
|
||||
#include "gfxSkipChars.h"
|
||||
#include <algorithm>
|
||||
|
||||
using namespace mozilla;
|
||||
using namespace mozilla::a11y;
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
#include "CacheConstants.h"
|
||||
#include "States.h"
|
||||
|
||||
#include "imgIContainer.h"
|
||||
#include "imgIRequest.h"
|
||||
#include "nsGenericHTMLElement.h"
|
||||
#include "mozilla/dom/BrowsingContext.h"
|
||||
|
|
|
@ -6,18 +6,13 @@
|
|||
#include "AccEvent.h"
|
||||
#include "LocalAccessible-inl.h"
|
||||
|
||||
#include <stdint.h>
|
||||
#include "EmbeddedObjCollector.h"
|
||||
#include "AccAttributes.h"
|
||||
#include "AccGroupInfo.h"
|
||||
#include "AccIterator.h"
|
||||
#include "CacheConstants.h"
|
||||
#include "CachedTableAccessible.h"
|
||||
#include "DocAccessible-inl.h"
|
||||
#include "mozilla/a11y/AccAttributes.h"
|
||||
#include "mozilla/a11y/DocAccessibleChild.h"
|
||||
#include "mozilla/a11y/TableAccessible.h"
|
||||
#include "mozilla/a11y/TableCellAccessible.h"
|
||||
#include "nsAccUtils.h"
|
||||
#include "nsAccessibilityService.h"
|
||||
#include "ApplicationAccessible.h"
|
||||
|
@ -32,10 +27,8 @@
|
|||
#include "Role.h"
|
||||
#include "RootAccessible.h"
|
||||
#include "States.h"
|
||||
#include "StyleInfo.h"
|
||||
#include "TextLeafRange.h"
|
||||
#include "TextRange.h"
|
||||
#include "TreeWalker.h"
|
||||
#include "HTMLElementAccessibles.h"
|
||||
#include "HTMLSelectAccessible.h"
|
||||
#include "HTMLTableAccessible.h"
|
||||
|
@ -47,7 +40,6 @@
|
|||
#include "nsIDOMXULSelectCntrlEl.h"
|
||||
#include "nsIDOMXULSelectCntrlItemEl.h"
|
||||
#include "nsINodeList.h"
|
||||
#include "nsPIDOMWindow.h"
|
||||
|
||||
#include "mozilla/dom/Document.h"
|
||||
#include "mozilla/dom/HTMLFormElement.h"
|
||||
|
@ -68,30 +60,17 @@
|
|||
#include "nsFocusManager.h"
|
||||
|
||||
#include "nsString.h"
|
||||
#include "nsUnicharUtils.h"
|
||||
#include "nsReadableUtils.h"
|
||||
#include "prdtoa.h"
|
||||
#include "nsAtom.h"
|
||||
#include "nsArrayUtils.h"
|
||||
#include "nsWhitespaceTokenizer.h"
|
||||
#include "nsAttrName.h"
|
||||
#include "nsContainerFrame.h"
|
||||
|
||||
#include "mozilla/Assertions.h"
|
||||
#include "mozilla/BasicEvents.h"
|
||||
#include "mozilla/Components.h"
|
||||
#include "mozilla/ErrorResult.h"
|
||||
#include "mozilla/FloatingPoint.h"
|
||||
#include "mozilla/MouseEvents.h"
|
||||
#include "mozilla/PresShell.h"
|
||||
#include "mozilla/Unused.h"
|
||||
#include "mozilla/Preferences.h"
|
||||
#include "mozilla/ProfilerMarkers.h"
|
||||
#include "mozilla/StaticPrefs_ui.h"
|
||||
#include "mozilla/dom/CanvasRenderingContext2D.h"
|
||||
#include "mozilla/dom/Element.h"
|
||||
#include "mozilla/dom/HTMLCanvasElement.h"
|
||||
#include "mozilla/dom/HTMLBodyElement.h"
|
||||
#include "mozilla/dom/HTMLLabelElement.h"
|
||||
#include "mozilla/dom/KeyboardEventBinding.h"
|
||||
#include "mozilla/dom/TreeWalker.h"
|
||||
|
|
|
@ -6,14 +6,12 @@
|
|||
#include "OuterDocAccessible.h"
|
||||
|
||||
#include "LocalAccessible-inl.h"
|
||||
#include "nsAccUtils.h"
|
||||
#include "DocAccessible-inl.h"
|
||||
#include "mozilla/a11y/DocAccessibleChild.h"
|
||||
#include "mozilla/a11y/DocAccessibleParent.h"
|
||||
#include "mozilla/dom/BrowserBridgeChild.h"
|
||||
#include "mozilla/dom/BrowserParent.h"
|
||||
#include "Role.h"
|
||||
#include "States.h"
|
||||
|
||||
#ifdef A11Y_LOG
|
||||
# include "Logging.h"
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
#include "RootAccessible.h"
|
||||
|
||||
#include "mozilla/ArrayUtils.h"
|
||||
#include "mozilla/PresShell.h" // for nsAccUtils::GetDocAccessibleFor()
|
||||
#include "nsXULPopupManager.h"
|
||||
|
||||
#define CreateEvent CreateEventA
|
||||
|
@ -38,9 +37,7 @@
|
|||
#include "nsIPropertyBag2.h"
|
||||
#include "nsPIDOMWindow.h"
|
||||
#include "nsIWebBrowserChrome.h"
|
||||
#include "nsReadableUtils.h"
|
||||
#include "nsFocusManager.h"
|
||||
#include "nsGlobalWindow.h"
|
||||
|
||||
#include "nsIAppWindow.h"
|
||||
|
||||
|
|
|
@ -5,8 +5,6 @@
|
|||
|
||||
#include "TextLeafAccessible.h"
|
||||
|
||||
#include "nsAccUtils.h"
|
||||
#include "DocAccessible.h"
|
||||
#include "Role.h"
|
||||
|
||||
using namespace mozilla::a11y;
|
||||
|
|
Загрузка…
Ссылка в новой задаче