Bug 174055, part 1: minimize inclusion of nsI(Thebes)FontMetrics.h.

This commit is contained in:
Zack Weinberg 2011-04-07 18:04:41 -07:00
parent 9828e9ed19
commit 9f143f420f
48 changed files with 0 additions and 53 deletions

View File

@ -58,7 +58,6 @@
#include "nsIDOMXULDocument.h" #include "nsIDOMXULDocument.h"
#include "nsIEditingSession.h" #include "nsIEditingSession.h"
#include "nsIEditor.h" #include "nsIEditor.h"
#include "nsIFontMetrics.h"
#include "nsIFrame.h" #include "nsIFrame.h"
#include "nsFrameSelection.h" #include "nsFrameSelection.h"
#include "nsILineIterator.h" #include "nsILineIterator.h"

View File

@ -39,7 +39,6 @@
#include "nsFont.h" #include "nsFont.h"
#include "nsGfxCIID.h" #include "nsGfxCIID.h"
#include "nsIThebesFontMetrics.h"
#include "nsILanguageAtomService.h" #include "nsILanguageAtomService.h"
#include "nsUnicharUtils.h" #include "nsUnicharUtils.h"

View File

@ -55,7 +55,6 @@
#include "nsContainerFrame.h" #include "nsContainerFrame.h"
#include "nsFirstLetterFrame.h" #include "nsFirstLetterFrame.h"
#include "gfxUnicodeProperties.h" #include "gfxUnicodeProperties.h"
#include "nsIThebesFontMetrics.h"
#include "nsTextFrame.h" #include "nsTextFrame.h"
#undef NOISY_BIDI #undef NOISY_BIDI

View File

@ -51,7 +51,6 @@
#include "nsIScrollableFrame.h" #include "nsIScrollableFrame.h"
#include "nsIDOMNode.h" #include "nsIDOMNode.h"
#include "nsIDOMRange.h" #include "nsIDOMRange.h"
#include "nsIFontMetrics.h"
#include "nsISelection.h" #include "nsISelection.h"
#include "nsISelectionPrivate.h" #include "nsISelectionPrivate.h"
#include "nsIDOMCharacterData.h" #include "nsIDOMCharacterData.h"

View File

@ -39,7 +39,6 @@
* ***** END LICENSE BLOCK ***** */ * ***** END LICENSE BLOCK ***** */
#include "nsLayoutUtils.h" #include "nsLayoutUtils.h"
#include "nsIFontMetrics.h"
#include "nsIFormControlFrame.h" #include "nsIFormControlFrame.h"
#include "nsPresContext.h" #include "nsPresContext.h"
#include "nsIContent.h" #include "nsIContent.h"

View File

@ -37,7 +37,6 @@
#include "nsGfxButtonControlFrame.h" #include "nsGfxButtonControlFrame.h"
#include "nsWidgetsCID.h" #include "nsWidgetsCID.h"
#include "nsIFontMetrics.h"
#include "nsFormControlFrame.h" #include "nsFormControlFrame.h"
#include "nsIFormControl.h" #include "nsIFormControl.h"
#include "nsINameSpaceManager.h" #include "nsINameSpaceManager.h"

View File

@ -47,7 +47,6 @@
#include "nsISupports.h" #include "nsISupports.h"
#include "nsGkAtoms.h" #include "nsGkAtoms.h"
#include "nsIDeviceContext.h" #include "nsIDeviceContext.h"
#include "nsIFontMetrics.h"
#include "nsStyleConsts.h" #include "nsStyleConsts.h"
#include "nsFormControlFrame.h" #include "nsFormControlFrame.h"
#include "nsGUIEvent.h" #include "nsGUIEvent.h"

View File

@ -118,7 +118,6 @@
#include "nsIJSContextStack.h" #include "nsIJSContextStack.h"
#include "nsFocusManager.h" #include "nsFocusManager.h"
#include "nsTextEditRules.h" #include "nsTextEditRules.h"
#include "nsIFontMetrics.h"
#include "nsIDOMNSHTMLElement.h" #include "nsIDOMNSHTMLElement.h"
#include "nsPresState.h" #include "nsPresState.h"

View File

@ -44,7 +44,6 @@
#include "nsLineLayout.h" #include "nsLineLayout.h"
#include "nsStyleConsts.h" #include "nsStyleConsts.h"
#include "nsGkAtoms.h" #include "nsGkAtoms.h"
#include "nsIFontMetrics.h"
#include "nsRenderingContext.h" #include "nsRenderingContext.h"
#include "nsLayoutUtils.h" #include "nsLayoutUtils.h"

View File

@ -61,7 +61,6 @@
#include "nsIPresShell.h" #include "nsIPresShell.h"
#include "nsStyleContext.h" #include "nsStyleContext.h"
#include "nsIView.h" #include "nsIView.h"
#include "nsIFontMetrics.h"
#include "nsHTMLParts.h" #include "nsHTMLParts.h"
#include "nsGkAtoms.h" #include "nsGkAtoms.h"
#include "nsIDOMEvent.h" #include "nsIDOMEvent.h"

View File

@ -42,7 +42,6 @@
#include "nsBlockReflowContext.h" #include "nsBlockReflowContext.h"
#include "nsLineLayout.h" #include "nsLineLayout.h"
#include "nsFloatManager.h" #include "nsFloatManager.h"
#include "nsIFontMetrics.h"
#include "nsPresContext.h" #include "nsPresContext.h"
#include "nsFrameManager.h" #include "nsFrameManager.h"
#include "nsIContent.h" #include "nsIContent.h"

View File

@ -42,7 +42,6 @@
#include "nsGkAtoms.h" #include "nsGkAtoms.h"
#include "nsHTMLParts.h" #include "nsHTMLParts.h"
#include "nsHTMLContainerFrame.h" #include "nsHTMLContainerFrame.h"
#include "nsIFontMetrics.h"
#include "nsGenericHTMLElement.h" #include "nsGenericHTMLElement.h"
#include "nsPresContext.h" #include "nsPresContext.h"
#include "nsIPresShell.h" #include "nsIPresShell.h"

View File

@ -61,8 +61,6 @@
#include "nsWidgetsCID.h" #include "nsWidgetsCID.h"
#include "nsCOMPtr.h" #include "nsCOMPtr.h"
#include "nsIDeviceContext.h" #include "nsIDeviceContext.h"
#include "nsIFontMetrics.h"
#include "nsIThebesFontMetrics.h"
#include "gfxFont.h" #include "gfxFont.h"
#include "nsCSSFrameConstructor.h" #include "nsCSSFrameConstructor.h"
#include "nsDisplayList.h" #include "nsDisplayList.h"

View File

@ -67,7 +67,6 @@
#include "nsNetUtil.h" #include "nsNetUtil.h"
#include "nsHTMLContainerFrame.h" #include "nsHTMLContainerFrame.h"
#include "prprf.h" #include "prprf.h"
#include "nsIFontMetrics.h"
#include "nsCSSRendering.h" #include "nsCSSRendering.h"
#include "nsILink.h" #include "nsILink.h"
#include "nsIDOMHTMLAnchorElement.h" #include "nsIDOMHTMLAnchorElement.h"

View File

@ -47,7 +47,6 @@
#include "nsIPresShell.h" #include "nsIPresShell.h"
#include "nsPresContext.h" #include "nsPresContext.h"
#include "nsRenderingContext.h" #include "nsRenderingContext.h"
#include "nsIFontMetrics.h"
#include "nsAbsoluteContainingBlock.h" #include "nsAbsoluteContainingBlock.h"
#include "nsCSSAnonBoxes.h" #include "nsCSSAnonBoxes.h"
#include "nsAutoPtr.h" #include "nsAutoPtr.h"

View File

@ -55,8 +55,6 @@
#include "nsFloatManager.h" #include "nsFloatManager.h"
#include "nsStyleContext.h" #include "nsStyleContext.h"
#include "nsPresContext.h" #include "nsPresContext.h"
#include "nsIFontMetrics.h"
#include "nsIThebesFontMetrics.h"
#include "nsRenderingContext.h" #include "nsRenderingContext.h"
#include "nsGkAtoms.h" #include "nsGkAtoms.h"
#include "nsPlaceholderFrame.h" #include "nsPlaceholderFrame.h"

View File

@ -53,7 +53,6 @@
#ifdef IBMBIDI #ifdef IBMBIDI
#include "nsBidiUtils.h" #include "nsBidiUtils.h"
#endif #endif
#include "nsIFontMetrics.h"
#include "nsIPrintSettings.h" #include "nsIPrintSettings.h"
#include "nsRegion.h" #include "nsRegion.h"

View File

@ -43,7 +43,6 @@
#include "nsGkAtoms.h" #include "nsGkAtoms.h"
#include "nsIDeviceContext.h" #include "nsIDeviceContext.h"
#include "nsIPresShell.h" #include "nsIPresShell.h"
#include "nsIFontMetrics.h"
#include "nsIPrintSettings.h" #include "nsIPrintSettings.h"
#include "nsPageFrame.h" #include "nsPageFrame.h"
#include "nsStyleConsts.h" #include "nsStyleConsts.h"

View File

@ -63,7 +63,6 @@
#include "nsStyleConsts.h" #include "nsStyleConsts.h"
#include "nsStyleContext.h" #include "nsStyleContext.h"
#include "nsCoord.h" #include "nsCoord.h"
#include "nsIFontMetrics.h"
#include "nsRenderingContext.h" #include "nsRenderingContext.h"
#include "nsIPresShell.h" #include "nsIPresShell.h"
#include "nsITimer.h" #include "nsITimer.h"
@ -110,7 +109,6 @@
#include "nsBidiUtils.h" #include "nsBidiUtils.h"
#include "nsIThebesFontMetrics.h"
#include "gfxFont.h" #include "gfxFont.h"
#include "gfxContext.h" #include "gfxContext.h"
#include "gfxTextRunWordCache.h" #include "gfxTextRunWordCache.h"

View File

@ -48,7 +48,6 @@
#include "nsUnicharUtils.h" #include "nsUnicharUtils.h"
#include "nsRenderingContext.h" #include "nsRenderingContext.h"
#include "gfxPlatform.h" #include "gfxPlatform.h"
#include "nsIFontMetrics.h"
#include "nsIPrefBranch.h" #include "nsIPrefBranch.h"
#include "nsIPrefService.h" #include "nsIPrefService.h"

View File

@ -50,7 +50,6 @@
#include "nsStyleConsts.h" #include "nsStyleConsts.h"
#include "nsINameSpaceManager.h" #include "nsINameSpaceManager.h"
#include "nsRenderingContext.h" #include "nsRenderingContext.h"
#include "nsIFontMetrics.h"
#include "nsIDOMText.h" #include "nsIDOMText.h"
#include "nsIDOMMutationEvent.h" #include "nsIDOMMutationEvent.h"

View File

@ -49,7 +49,6 @@
#include "nsPresContext.h" #include "nsPresContext.h"
#include "nsStyleContext.h" #include "nsStyleContext.h"
#include "nsStyleConsts.h" #include "nsStyleConsts.h"
#include "nsIFontMetrics.h"
#include "nsMathMLForeignFrameWrapper.h" #include "nsMathMLForeignFrameWrapper.h"

View File

@ -42,7 +42,6 @@
#include "nsPresContext.h" #include "nsPresContext.h"
#include "nsStyleContext.h" #include "nsStyleContext.h"
#include "nsStyleConsts.h" #include "nsStyleConsts.h"
#include "nsIFontMetrics.h"
#include "nsContentUtils.h" #include "nsContentUtils.h"
#include "nsCSSFrameConstructor.h" #include "nsCSSFrameConstructor.h"
#include "nsMathMLTokenFrame.h" #include "nsMathMLTokenFrame.h"

View File

@ -42,7 +42,6 @@
#include "nsStyleContext.h" #include "nsStyleContext.h"
#include "nsStyleConsts.h" #include "nsStyleConsts.h"
#include "nsINameSpaceManager.h" #include "nsINameSpaceManager.h"
#include "nsIFontMetrics.h"
#include "nsCSSRendering.h" #include "nsCSSRendering.h"
#include "prprf.h" // For PR_snprintf() #include "prprf.h" // For PR_snprintf()

View File

@ -48,7 +48,6 @@
#include "nsStyleContext.h" #include "nsStyleContext.h"
#include "nsStyleConsts.h" #include "nsStyleConsts.h"
#include "nsRenderingContext.h" #include "nsRenderingContext.h"
#include "nsIFontMetrics.h"
#include "nsWhitespaceTokenizer.h" #include "nsWhitespaceTokenizer.h"
#include "nsMathMLmencloseFrame.h" #include "nsMathMLmencloseFrame.h"

View File

@ -46,7 +46,6 @@
#include "nsStyleContext.h" #include "nsStyleContext.h"
#include "nsStyleConsts.h" #include "nsStyleConsts.h"
#include "nsRenderingContext.h" #include "nsRenderingContext.h"
#include "nsIFontMetrics.h"
#include "nsMathMLmfencedFrame.h" #include "nsMathMLmfencedFrame.h"

View File

@ -46,7 +46,6 @@
#include "nsStyleContext.h" #include "nsStyleContext.h"
#include "nsStyleConsts.h" #include "nsStyleConsts.h"
#include "nsRenderingContext.h" #include "nsRenderingContext.h"
#include "nsIFontMetrics.h"
#include "nsMathMLmfracFrame.h" #include "nsMathMLmfracFrame.h"
#include "nsDisplayList.h" #include "nsDisplayList.h"

View File

@ -45,7 +45,6 @@
#include "nsStyleContext.h" #include "nsStyleContext.h"
#include "nsStyleConsts.h" #include "nsStyleConsts.h"
#include "nsRenderingContext.h" #include "nsRenderingContext.h"
#include "nsIFontMetrics.h"
#include "nsMathMLmmultiscriptsFrame.h" #include "nsMathMLmmultiscriptsFrame.h"

View File

@ -46,7 +46,6 @@
#include "nsStyleContext.h" #include "nsStyleContext.h"
#include "nsStyleConsts.h" #include "nsStyleConsts.h"
#include "nsRenderingContext.h" #include "nsRenderingContext.h"
#include "nsIFontMetrics.h"
#include "nsContentUtils.h" #include "nsContentUtils.h"
#include "nsIDOMText.h" #include "nsIDOMText.h"

View File

@ -47,7 +47,6 @@
#include "nsStyleConsts.h" #include "nsStyleConsts.h"
#include "nsINameSpaceManager.h" #include "nsINameSpaceManager.h"
#include "nsRenderingContext.h" #include "nsRenderingContext.h"
#include "nsIFontMetrics.h"
#include "nsMathMLmoverFrame.h" #include "nsMathMLmoverFrame.h"
#include "nsMathMLmsupFrame.h" #include "nsMathMLmsupFrame.h"

View File

@ -45,7 +45,6 @@
#include "nsPresContext.h" #include "nsPresContext.h"
#include "nsStyleContext.h" #include "nsStyleContext.h"
#include "nsStyleConsts.h" #include "nsStyleConsts.h"
#include "nsIFontMetrics.h"
#include "nsMathMLmpaddedFrame.h" #include "nsMathMLmpaddedFrame.h"

View File

@ -42,7 +42,6 @@
#include "nsFrame.h" #include "nsFrame.h"
#include "nsPresContext.h" #include "nsPresContext.h"
#include "nsStyleConsts.h" #include "nsStyleConsts.h"
#include "nsIFontMetrics.h"
#include "nsMathMLmphantomFrame.h" #include "nsMathMLmphantomFrame.h"

View File

@ -46,7 +46,6 @@
#include "nsStyleContext.h" #include "nsStyleContext.h"
#include "nsStyleConsts.h" #include "nsStyleConsts.h"
#include "nsRenderingContext.h" #include "nsRenderingContext.h"
#include "nsIFontMetrics.h"
#include "nsMathMLmrootFrame.h" #include "nsMathMLmrootFrame.h"

View File

@ -42,7 +42,6 @@
#include "nsFrame.h" #include "nsFrame.h"
#include "nsStyleContext.h" #include "nsStyleContext.h"
#include "nsStyleConsts.h" #include "nsStyleConsts.h"
#include "nsIFontMetrics.h"
#include "nsMathMLmrowFrame.h" #include "nsMathMLmrowFrame.h"

View File

@ -42,7 +42,6 @@
#include "nsPresContext.h" #include "nsPresContext.h"
#include "nsStyleContext.h" #include "nsStyleContext.h"
#include "nsStyleConsts.h" #include "nsStyleConsts.h"
#include "nsIFontMetrics.h"
#include "nsMathMLmspaceFrame.h" #include "nsMathMLmspaceFrame.h"

View File

@ -43,7 +43,6 @@
#include "nsStyleContext.h" #include "nsStyleContext.h"
#include "nsStyleConsts.h" #include "nsStyleConsts.h"
#include "nsINameSpaceManager.h" #include "nsINameSpaceManager.h"
#include "nsIFontMetrics.h"
#include "nsMathMLmstyleFrame.h" #include "nsMathMLmstyleFrame.h"

View File

@ -44,7 +44,6 @@
#include "nsPresContext.h" #include "nsPresContext.h"
#include "nsStyleContext.h" #include "nsStyleContext.h"
#include "nsStyleConsts.h" #include "nsStyleConsts.h"
#include "nsIFontMetrics.h"
#include "nsMathMLmsubFrame.h" #include "nsMathMLmsubFrame.h"

View File

@ -45,7 +45,6 @@
#include "nsStyleContext.h" #include "nsStyleContext.h"
#include "nsStyleConsts.h" #include "nsStyleConsts.h"
#include "nsRenderingContext.h" #include "nsRenderingContext.h"
#include "nsIFontMetrics.h"
#include "nsMathMLmsubsupFrame.h" #include "nsMathMLmsubsupFrame.h"

View File

@ -43,7 +43,6 @@
#include "nsPresContext.h" #include "nsPresContext.h"
#include "nsStyleContext.h" #include "nsStyleContext.h"
#include "nsStyleConsts.h" #include "nsStyleConsts.h"
#include "nsIFontMetrics.h"
#include "nsMathMLmsupFrame.h" #include "nsMathMLmsupFrame.h"

View File

@ -44,7 +44,6 @@
#include "nsStyleConsts.h" #include "nsStyleConsts.h"
#include "nsINameSpaceManager.h" #include "nsINameSpaceManager.h"
#include "nsRenderingContext.h" #include "nsRenderingContext.h"
#include "nsIFontMetrics.h"
#include "nsTArray.h" #include "nsTArray.h"
#include "nsCSSFrameConstructor.h" #include "nsCSSFrameConstructor.h"

View File

@ -47,7 +47,6 @@
#include "nsStyleConsts.h" #include "nsStyleConsts.h"
#include "nsINameSpaceManager.h" #include "nsINameSpaceManager.h"
#include "nsRenderingContext.h" #include "nsRenderingContext.h"
#include "nsIFontMetrics.h"
#include "nsMathMLmunderFrame.h" #include "nsMathMLmunderFrame.h"
#include "nsMathMLmsubFrame.h" #include "nsMathMLmsubFrame.h"

View File

@ -47,7 +47,6 @@
#include "nsStyleConsts.h" #include "nsStyleConsts.h"
#include "nsINameSpaceManager.h" #include "nsINameSpaceManager.h"
#include "nsRenderingContext.h" #include "nsRenderingContext.h"
#include "nsIFontMetrics.h"
#include "nsMathMLmunderoverFrame.h" #include "nsMathMLmunderoverFrame.h"
#include "nsMathMLmsubsupFrame.h" #include "nsMathMLmsubsupFrame.h"

View File

@ -57,7 +57,6 @@
#include "nsString.h" #include "nsString.h"
#include "nsStyleConsts.h" #include "nsStyleConsts.h"
#include "nsStyleUtil.h" #include "nsStyleUtil.h"
#include "nsIFontMetrics.h"
#include "nsIDOMCSSStyleSheet.h" #include "nsIDOMCSSStyleSheet.h"
#include "nsICSSStyleRuleDOMWrapper.h" #include "nsICSSStyleRuleDOMWrapper.h"
#include "nsIDOMCSSStyleDeclaration.h" #include "nsIDOMCSSStyleDeclaration.h"

View File

@ -78,7 +78,6 @@
#include "gfxImageSurface.h" #include "gfxImageSurface.h"
#include "gfxPlatform.h" #include "gfxPlatform.h"
#include "nsSVGForeignObjectFrame.h" #include "nsSVGForeignObjectFrame.h"
#include "nsIFontMetrics.h"
#include "nsIDOMSVGUnitTypes.h" #include "nsIDOMSVGUnitTypes.h"
#include "nsSVGEffects.h" #include "nsSVGEffects.h"
#include "nsMathUtils.h" #include "nsMathUtils.h"

View File

@ -44,7 +44,6 @@
#include "nsImageBoxFrame.h" #include "nsImageBoxFrame.h"
#include "nsIDeviceContext.h" #include "nsIDeviceContext.h"
#include "nsIFontMetrics.h"
#include "nsGkAtoms.h" #include "nsGkAtoms.h"
#include "nsStyleContext.h" #include "nsStyleContext.h"
#include "nsStyleConsts.h" #include "nsStyleConsts.h"
@ -65,7 +64,6 @@
#include "nsILoadGroup.h" #include "nsILoadGroup.h"
#include "nsHTMLContainerFrame.h" #include "nsHTMLContainerFrame.h"
#include "prprf.h" #include "prprf.h"
#include "nsIFontMetrics.h"
#include "nsCSSRendering.h" #include "nsCSSRendering.h"
#include "nsIDOMHTMLImageElement.h" #include "nsIDOMHTMLImageElement.h"
#include "nsIDeviceContext.h" #include "nsIDeviceContext.h"

View File

@ -46,7 +46,6 @@
#include "nsBoxFrame.h" #include "nsBoxFrame.h"
#include "nsCOMPtr.h" #include "nsCOMPtr.h"
#include "nsIDeviceContext.h" #include "nsIDeviceContext.h"
#include "nsIFontMetrics.h"
#include "nsGkAtoms.h" #include "nsGkAtoms.h"
#include "nsPresContext.h" #include "nsPresContext.h"
#include "nsStyleContext.h" #include "nsStyleContext.h"

View File

@ -49,7 +49,6 @@
#include "nsTextBoxFrame.h" #include "nsTextBoxFrame.h"
#include "nsCOMPtr.h" #include "nsCOMPtr.h"
#include "nsIDeviceContext.h" #include "nsIDeviceContext.h"
#include "nsIFontMetrics.h"
#include "nsGkAtoms.h" #include "nsGkAtoms.h"
#include "nsPresContext.h" #include "nsPresContext.h"
#include "nsRenderingContext.h" #include "nsRenderingContext.h"
@ -72,7 +71,6 @@
#include "nsCSSRendering.h" #include "nsCSSRendering.h"
#include "nsIReflowCallback.h" #include "nsIReflowCallback.h"
#include "nsBoxFrame.h" #include "nsBoxFrame.h"
#include "nsIThebesFontMetrics.h"
#ifdef IBMBIDI #ifdef IBMBIDI
#include "nsBidiUtils.h" #include "nsBidiUtils.h"

View File

@ -76,7 +76,6 @@
#include "nsIContent.h" #include "nsIContent.h"
#include "mozilla/css/StyleRule.h" #include "mozilla/css/StyleRule.h"
#include "nsCSSRendering.h" #include "nsCSSRendering.h"
#include "nsIFontMetrics.h"
#include "nsIDeviceContext.h" #include "nsIDeviceContext.h"
#include "nsIXULTemplateBuilder.h" #include "nsIXULTemplateBuilder.h"
#include "nsXPIDLString.h" #include "nsXPIDLString.h"