Bug 908180 - Don't #include nsGUIEvent.h in nsIPresShell.h r=mounir

This commit is contained in:
David Zbarsky 2013-08-23 13:56:20 -04:00
parent 652adbc633
commit f19c09b33c
11 changed files with 13 additions and 1 deletions

View File

@ -16,6 +16,7 @@
#include "imgIRequest.h"
#include "nsEventStates.h"
#include "nsEventDispatcher.h"
#include "nsGUIEvent.h"
class nsGenConImageContent MOZ_FINAL : public nsXMLElement,
public nsImageLoadingContent

View File

@ -7,6 +7,7 @@
#include "mozilla/dom/HTMLFieldSetElementBinding.h"
#include "nsContentList.h"
#include "nsEventDispatcher.h"
#include "nsGUIEvent.h"
NS_IMPL_NS_NEW_HTML_ELEMENT(FieldSet)

View File

@ -10,6 +10,8 @@
#include "mozilla/dom/HTMLLabelElementBinding.h"
#include "nsEventDispatcher.h"
#include "nsFocusManager.h"
#include "nsGUIEvent.h"
#include "nsIDOMMouseEvent.h"
// construction, destruction

View File

@ -10,6 +10,7 @@
#include "nsAttrValueInlines.h"
#include "nsContentUtils.h"
#include "nsEventDispatcher.h"
#include "nsGUIEvent.h"
#include "nsXULContextMenuBuilder.h"
NS_IMPL_NS_NEW_HTML_ELEMENT(Menu)

View File

@ -9,6 +9,7 @@
#include "nsAttrValueInlines.h"
#include "nsContentUtils.h"
#include "nsEventDispatcher.h"
#include "nsGUIEvent.h"
NS_IMPL_NS_NEW_HTML_ELEMENT_CHECK_PARSER(MenuItem)

View File

@ -16,6 +16,7 @@
#include "mozilla/MemoryReporting.h"
#include "mozilla/dom/SVGSVGElement.h"
#include "nsComponentManagerUtils.h"
#include "nsIDOMEvent.h"
#include "nsIObserverService.h"
#include "nsIPresShell.h"
#include "nsIStreamListener.h"

View File

@ -21,6 +21,7 @@
#define nsIPresShell_h___
#include "mozilla/MemoryReporting.h"
#include "gfxPoint.h"
#include "nsTHashtable.h"
#include "nsHashKeys.h"
#include "nsISupports.h"
@ -35,7 +36,6 @@
#include "nsWeakReference.h"
#include <stdio.h> // for FILE definition
#include "nsChangeHint.h"
#include "nsGUIEvent.h"
#include "nsRefPtrHashtable.h"
#include "nsEventStates.h"
#include "nsPresArena.h"
@ -95,6 +95,7 @@ class Selection;
namespace dom {
class Element;
class Touch;
} // namespace dom
namespace layers{

View File

@ -37,6 +37,7 @@ class imgIContainer;
#include "nsHTMLReflowState.h"
#include "FrameMetrics.h"
#include "gfx3DMatrix.h"
#include "nsIWidget.h"
#include <limits>
#include <algorithm>

View File

@ -16,6 +16,7 @@
#include "nsRect.h"
#include "nsDeviceContext.h"
#include "nsFont.h"
#include "nsIAtom.h"
#include "nsIObserver.h"
#include "nsITimer.h"
#include "nsCRT.h"

View File

@ -9,6 +9,7 @@
#include "nsIWeakReference.h"
#include "nsGUIEvent.h"
#include "nsISelection.h"
#include "nsISelectionController.h"
#include "nsISelectionPrivate.h"

View File

@ -9,6 +9,7 @@
#include "nsIServiceManager.h"
#include "nsIPresShell.h"
#include "nsIFrame.h"
#include "nsIWidget.h"
#include "nsReadableUtils.h"
#include "nsRenderingContext.h"