Bug 912956 part.13 mozilla/TouchEvents.h should be included directly r=roc

This commit is contained in:
Masayuki Nakano 2013-09-25 20:21:16 +09:00
parent 330ecd95d9
commit a362049807
34 changed files with 39 additions and 4 deletions

View File

@ -25,6 +25,7 @@
#include "nsISelectionPrivate.h"
#include "nsISelectionController.h"
#include "nsGUIEvent.h"
#include "mozilla/TouchEvents.h"
#include "nsView.h"
#include "nsGkAtoms.h"
#include "nsDOMTouchEvent.h"

View File

@ -15,6 +15,7 @@
#include "nsIPresShell.h"
#include "nsIDocument.h"
#include "mozilla/MutationEvent.h"
#include "mozilla/TouchEvents.h"
#include "nsContentUtils.h"
#include "nsJSEnvironment.h"
#include "mozilla/Preferences.h"

View File

@ -5,6 +5,7 @@
#include "nsDOMSimpleGestureEvent.h"
#include "prtime.h"
#include "mozilla/TouchEvents.h"
nsDOMSimpleGestureEvent::nsDOMSimpleGestureEvent(mozilla::dom::EventTarget* aOwner,
nsPresContext* aPresContext,

View File

@ -7,6 +7,7 @@
#include "nsIDOMSimpleGestureEvent.h"
#include "nsDOMMouseEvent.h"
#include "mozilla/TouchEvents.h"
#include "mozilla/dom/SimpleGestureEventBinding.h"
class nsPresContext;

View File

@ -5,11 +5,11 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "nsDOMTouchEvent.h"
#include "nsGUIEvent.h"
#include "nsContentUtils.h"
#include "mozilla/Preferences.h"
#include "mozilla/dom/Touch.h"
#include "mozilla/dom/TouchListBinding.h"
#include "mozilla/TouchEvents.h"
using namespace mozilla;
using namespace mozilla::dom;

View File

@ -8,10 +8,12 @@
#include "nsDOMUIEvent.h"
#include "nsTArray.h"
#include "mozilla/Attributes.h"
#include "mozilla/TouchEvents.h"
#include "nsJSEnvironment.h"
#include "mozilla/dom/TouchEventBinding.h"
#include "nsWrapperCache.h"
class nsAString;
class nsDOMTouchList MOZ_FINAL : public nsISupports

View File

@ -18,6 +18,7 @@
#include "GeneratedEvents.h"
#include "mozilla/dom/EventTarget.h"
#include "mozilla/MutationEvent.h"
#include "mozilla/TouchEvents.h"
using namespace mozilla;
using namespace mozilla::dom;

View File

@ -6,6 +6,7 @@
#include "mozilla/Attributes.h"
#include "mozilla/MathAlgorithms.h"
#include "mozilla/TouchEvents.h"
#include "mozilla/dom/TabParent.h"
#include "nsCOMPtr.h"

View File

@ -6,6 +6,7 @@
#ifndef nsEventStateManager_h__
#define nsEventStateManager_h__
#include "mozilla/EventForwards.h"
#include "mozilla/TypedEnum.h"
#include "nsGUIEvent.h"

View File

@ -59,6 +59,7 @@
#include "nsIDOMMutationEvent.h"
#include "mozilla/MutationEvent.h"
#include "mozilla/TouchEvents.h"
#include "nsEventListenerManager.h"
#include "nsRuleData.h"

View File

@ -34,6 +34,8 @@
#include "nsJSEnvironment.h"
#include "nsJSUtils.h"
#include "mozilla/TouchEvents.h"
#include "nsViewManager.h"
#include "nsIDOMHTMLCanvasElement.h"

View File

@ -24,6 +24,7 @@
#include "mozilla/layers/ShadowLayers.h"
#include "mozilla/layout/RenderFrameChild.h"
#include "mozilla/StaticPtr.h"
#include "mozilla/TouchEvents.h"
#include "mozilla/unused.h"
#include "mozIApplication.h"
#include "nsContentUtils.h"

View File

@ -35,6 +35,7 @@
#include "nsITabChild.h"
#include "mozilla/Attributes.h"
#include "mozilla/dom/TabContext.h"
#include "mozilla/EventForwards.h"
struct gfxMatrix;
class nsICachedFileDescriptorListener;

View File

@ -19,6 +19,7 @@
#include "mozilla/layers/CompositorParent.h"
#include "mozilla/layout/RenderFrameParent.h"
#include "mozilla/Preferences.h"
#include "mozilla/TouchEvents.h"
#include "mozilla/unused.h"
#include "nsCOMPtr.h"
#include "nsContentPermissionHelper.h"

View File

@ -10,6 +10,7 @@
#include "mozilla/dom/PBrowserParent.h"
#include "mozilla/dom/PContentDialogParent.h"
#include "mozilla/dom/TabContext.h"
#include "mozilla/TouchEvents.h"
#include "nsCOMPtr.h"
#include "nsIAuthPromptProvider.h"
#include "nsIBrowserDOMWindow.h"

View File

@ -14,6 +14,7 @@
#include "mozilla/gfx/Point.h" // for Point
#include "mozilla/layers/AsyncPanZoomController.h"
#include "mozilla/mozalloc.h" // for operator new
#include "mozilla/TouchEvents.h"
#include "nsGUIEvent.h" // for nsMouseEvent, nsTouchEvent, etc
#include "nsPoint.h" // for nsIntPoint
#include "nsTArray.h" // for nsTArray, nsTArray_Impl, etc

View File

@ -21,6 +21,7 @@
#include "gfxTypes.h" // for gfxFloat
#include "mozilla/Assertions.h" // for MOZ_ASSERT, etc
#include "mozilla/ClearOnShutdown.h" // for ClearOnShutdown
#include "mozilla/EventForwards.h" // for nsEventStatus_*
#include "mozilla/Preferences.h" // for Preferences
#include "mozilla/ReentrantMonitor.h" // for ReentrantMonitorAutoEnter, etc
#include "mozilla/StaticPtr.h" // for StaticAutoPtr
@ -41,7 +42,6 @@
#include "nsAutoPtr.h" // for nsRefPtr
#include "nsCOMPtr.h" // for already_AddRefed
#include "nsDebug.h" // for NS_WARNING
#include "nsGUIEvent.h" // for nsInputEvent, nsTouchEvent, etc
#include "nsISupportsImpl.h"
#include "nsMathUtils.h" // for NS_hypot
#include "nsPoint.h" // for nsIntPoint

View File

@ -21,6 +21,7 @@
#include "mozilla/MemoryReporting.h"
#include "mozilla/dom/TabChild.h"
#include "mozilla/Likely.h"
#include "mozilla/TouchEvents.h"
#include "mozilla/Util.h"
#include <algorithm>

View File

@ -5,6 +5,8 @@
#include "nsRangeFrame.h"
#include "mozilla/TouchEvents.h"
#include "nsContentCreatorFunctions.h"
#include "nsContentList.h"
#include "nsContentUtils.h"

View File

@ -67,6 +67,8 @@
// Needed for Print Preview
#include "nsIURI.h"
#include "mozilla/TouchEvents.h"
using namespace mozilla;
using namespace mozilla::dom;

View File

@ -10,6 +10,7 @@
#include "nsIDOMKeyEvent.h"
#include "nsIWidget.h"
#include "nsGUIEvent.h"
#include "mozilla/TouchEvents.h"
using namespace mozilla;
using namespace mozilla::dom;

View File

@ -17,6 +17,7 @@
#include "nsIObserver.h"
#include "mozilla/gfx/Rect.h"
#include "mozilla/dom/Touch.h"
#include "mozilla/EventForwards.h"
#include "InputData.h"
#include "Units.h"

View File

@ -7,6 +7,8 @@
#include <math.h>
#include <unistd.h>
#include "mozilla/TouchEvents.h"
#include "mozilla/dom/ContentParent.h"
#include "mozilla/dom/ContentChild.h"
#include "mozilla/unused.h"

View File

@ -16,6 +16,8 @@
#include "nsChildView.h"
#include "nsCocoaWindow.h"
#include "mozilla/TouchEvents.h"
#include "nsObjCExceptions.h"
#include "nsCOMPtr.h"
#include "nsToolkit.h"

View File

@ -33,6 +33,7 @@
#ifdef MOZ_OMX_DECODER
#include "MediaResourceManagerService.h"
#endif
#include "mozilla/TouchEvents.h"
#include "mozilla/FileUtils.h"
#include "mozilla/Hal.h"
#include "mozilla/Mutex.h"

View File

@ -11,6 +11,5 @@
#include "mozilla/MiscEvents.h"
#include "mozilla/MouseEvents.h"
#include "mozilla/TextEvents.h"
#include "mozilla/TouchEvents.h"
#endif // nsGUIEvent_h__

View File

@ -9,6 +9,7 @@
#include "ipc/IPCMessageUtils.h"
#include "mozilla/GfxMessageUtils.h"
#include "mozilla/dom/Touch.h"
#include "mozilla/TouchEvents.h"
#include "nsGUIEvent.h"
namespace IPC

View File

@ -5,6 +5,7 @@
* 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 "mozilla/TouchEvents.h"
#include "mozilla/Util.h"
#include <QApplication>

View File

@ -15,6 +15,7 @@
#include "nsIDOMWheelEvent.h"
#include "mozilla/Constants.h"
#include "mozilla/Preferences.h"
#include "mozilla/TouchEvents.h"
using namespace mozilla;
using namespace mozilla::widget;

View File

@ -14,7 +14,7 @@
#include <winuser.h>
#include <tpcshrd.h>
#include "nsPoint.h"
#include "nsGUIEvent.h"
#include "mozilla/TouchEvents.h"
// Desktop builds target apis for 502. Win8 Metro builds target 602.
#if WINVER < 0x0602

View File

@ -55,6 +55,7 @@
**************************************************************/
#include "mozilla/MathAlgorithms.h"
#include "mozilla/TouchEvents.h"
#include "mozilla/Util.h"
#include "mozilla/ipc/RPCChannel.h"

View File

@ -13,6 +13,7 @@
#include "InputData.h"
#include "UIABridgePrivate.h"
#include "MetroAppShell.h"
#include "mozilla/TouchEvents.h"
// System headers (alphabetical)
#include <windows.ui.core.h> // ABI::Window::UI::Core namespace

View File

@ -32,6 +32,7 @@
#include "UIABridgePrivate.h"
#include "WinMouseScrollHandler.h"
#include "InputData.h"
#include "mozilla/TouchEvents.h"
using namespace Microsoft::WRL;
using namespace Microsoft::WRL::Wrappers;

View File

@ -9,6 +9,7 @@
#include "mozilla/dom/Touch.h"
#include "nsDebug.h"
#include "nsThreadUtils.h"
#include "mozilla/TouchEvents.h"
namespace mozilla {