Skip to content

Commit 743fbc6

Browse files
Bug 912956 part.13 mozilla/TouchEvents.h should be included directly r=roc
1 parent c67503e commit 743fbc6

34 files changed

+39
-4
lines changed

accessible/src/base/nsCoreUtils.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
#include "nsISelectionPrivate.h"
2626
#include "nsISelectionController.h"
2727
#include "nsGUIEvent.h"
28+
#include "mozilla/TouchEvents.h"
2829
#include "nsView.h"
2930
#include "nsGkAtoms.h"
3031
#include "nsDOMTouchEvent.h"

content/events/src/nsDOMEvent.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
#include "nsIPresShell.h"
1616
#include "nsIDocument.h"
1717
#include "mozilla/MutationEvent.h"
18+
#include "mozilla/TouchEvents.h"
1819
#include "nsContentUtils.h"
1920
#include "nsJSEnvironment.h"
2021
#include "mozilla/Preferences.h"

content/events/src/nsDOMSimpleGestureEvent.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
#include "nsDOMSimpleGestureEvent.h"
77
#include "prtime.h"
8+
#include "mozilla/TouchEvents.h"
89

910
nsDOMSimpleGestureEvent::nsDOMSimpleGestureEvent(mozilla::dom::EventTarget* aOwner,
1011
nsPresContext* aPresContext,

content/events/src/nsDOMSimpleGestureEvent.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
#include "nsIDOMSimpleGestureEvent.h"
99
#include "nsDOMMouseEvent.h"
10+
#include "mozilla/TouchEvents.h"
1011
#include "mozilla/dom/SimpleGestureEventBinding.h"
1112

1213
class nsPresContext;

content/events/src/nsDOMTouchEvent.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
66

77
#include "nsDOMTouchEvent.h"
8-
#include "nsGUIEvent.h"
98
#include "nsContentUtils.h"
109
#include "mozilla/Preferences.h"
1110
#include "mozilla/dom/Touch.h"
1211
#include "mozilla/dom/TouchListBinding.h"
12+
#include "mozilla/TouchEvents.h"
1313

1414
using namespace mozilla;
1515
using namespace mozilla::dom;

content/events/src/nsDOMTouchEvent.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,12 @@
88
#include "nsDOMUIEvent.h"
99
#include "nsTArray.h"
1010
#include "mozilla/Attributes.h"
11+
#include "mozilla/TouchEvents.h"
1112
#include "nsJSEnvironment.h"
1213
#include "mozilla/dom/TouchEventBinding.h"
1314
#include "nsWrapperCache.h"
1415

16+
1517
class nsAString;
1618

1719
class nsDOMTouchList MOZ_FINAL : public nsISupports

content/events/src/nsEventDispatcher.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
#include "GeneratedEvents.h"
1919
#include "mozilla/dom/EventTarget.h"
2020
#include "mozilla/MutationEvent.h"
21+
#include "mozilla/TouchEvents.h"
2122

2223
using namespace mozilla;
2324
using namespace mozilla::dom;

content/events/src/nsEventStateManager.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
#include "mozilla/Attributes.h"
88
#include "mozilla/MathAlgorithms.h"
9+
#include "mozilla/TouchEvents.h"
910
#include "mozilla/dom/TabParent.h"
1011

1112
#include "nsCOMPtr.h"

content/events/src/nsEventStateManager.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#ifndef nsEventStateManager_h__
77
#define nsEventStateManager_h__
88

9+
#include "mozilla/EventForwards.h"
910
#include "mozilla/TypedEnum.h"
1011

1112
#include "nsGUIEvent.h"

content/html/content/src/HTMLInputElement.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959

6060
#include "nsIDOMMutationEvent.h"
6161
#include "mozilla/MutationEvent.h"
62+
#include "mozilla/TouchEvents.h"
6263
#include "nsEventListenerManager.h"
6364

6465
#include "nsRuleData.h"

0 commit comments

Comments
 (0)