зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1042654: Remove nsITouchEventReceiver r=bz
This commit is contained in:
Родитель
6cfbd9472f
Коммит
6813ce3dab
|
@ -64,7 +64,6 @@
|
|||
#include "mozilla/MemoryReporting.h"
|
||||
#include "mozilla/dom/DOMImplementation.h"
|
||||
#include "mozilla/dom/StyleSheetList.h"
|
||||
#include "nsIDOMTouchEvent.h"
|
||||
#include "nsDataHashtable.h"
|
||||
#include "mozilla/TimeStamp.h"
|
||||
#include "mozilla/Attributes.h"
|
||||
|
|
|
@ -1669,7 +1669,6 @@ NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(nsGlobalWindow)
|
|||
NS_INTERFACE_MAP_ENTRY(nsISupportsWeakReference)
|
||||
NS_INTERFACE_MAP_ENTRY(nsIInterfaceRequestor)
|
||||
NS_INTERFACE_MAP_ENTRY(nsIDOMWindowPerformance)
|
||||
NS_INTERFACE_MAP_ENTRY(nsITouchEventReceiver)
|
||||
NS_INTERFACE_MAP_ENTRY(nsIInlineEventHandlers)
|
||||
NS_INTERFACE_MAP_END
|
||||
|
||||
|
@ -14133,9 +14132,7 @@ nsGlobalWindow::DisableNetworkEvent(uint32_t aType)
|
|||
return NS_OK; \
|
||||
}
|
||||
#define WINDOW_ONLY_EVENT EVENT
|
||||
#define TOUCH_EVENT EVENT
|
||||
#include "mozilla/EventNameList.h"
|
||||
#undef TOUCH_EVENT
|
||||
#undef WINDOW_ONLY_EVENT
|
||||
#undef BEFOREUNLOAD_EVENT
|
||||
#undef ERROR_EVENT
|
||||
|
|
|
@ -47,7 +47,6 @@
|
|||
#include "nsWrapperCacheInlines.h"
|
||||
#include "nsIIdleObserver.h"
|
||||
#include "nsIDocument.h"
|
||||
#include "nsIDOMTouchEvent.h"
|
||||
#include "mozilla/dom/EventTarget.h"
|
||||
#include "mozilla/dom/WindowBinding.h"
|
||||
#include "Units.h"
|
||||
|
@ -331,7 +330,6 @@ class nsGlobalWindow : public mozilla::dom::EventTarget,
|
|||
public nsIInterfaceRequestor,
|
||||
public PRCListStr,
|
||||
public nsIDOMWindowPerformance,
|
||||
public nsITouchEventReceiver,
|
||||
public nsIInlineEventHandlers
|
||||
#ifdef MOZ_B2G
|
||||
, public nsIDOMWindowB2G
|
||||
|
@ -427,9 +425,6 @@ public:
|
|||
return GetOuterFromCurrentInner(this);
|
||||
}
|
||||
|
||||
// nsITouchEventReceiver
|
||||
NS_DECL_NSITOUCHEVENTRECEIVER
|
||||
|
||||
// nsIInlineEventHandlers
|
||||
NS_DECL_NSIINLINEEVENTHANDLERS
|
||||
|
||||
|
|
|
@ -28,7 +28,6 @@ XPIDL_SOURCES += [
|
|||
'nsIDOMPaintRequest.idl',
|
||||
'nsIDOMScrollAreaEvent.idl',
|
||||
'nsIDOMSimpleGestureEvent.idl',
|
||||
'nsIDOMTouchEvent.idl',
|
||||
'nsIDOMTransitionEvent.idl',
|
||||
'nsIDOMUIEvent.idl',
|
||||
'nsIDOMWheelEvent.idl',
|
||||
|
|
|
@ -1,19 +0,0 @@
|
|||
/* vim: set shiftwidth=2 tabstop=8 autoindent cindent expandtab: */
|
||||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* 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 "nsIDOMUIEvent.idl"
|
||||
%{C++
|
||||
#include "nsWeakPtr.h"
|
||||
#include "nsPoint.h"
|
||||
%}
|
||||
interface nsIVariant;
|
||||
|
||||
[scriptable, uuid(6d5484f7-92ac-45f8-9388-39b5bad055ce)]
|
||||
interface nsITouchEventReceiver : nsISupports {
|
||||
[implicit_jscontext] attribute jsval ontouchstart;
|
||||
[implicit_jscontext] attribute jsval ontouchend;
|
||||
[implicit_jscontext] attribute jsval ontouchmove;
|
||||
[implicit_jscontext] attribute jsval ontouchcancel;
|
||||
};
|
|
@ -129,7 +129,6 @@
|
|||
#include "nsIDOMText.h"
|
||||
#include "nsIDOMTimeEvent.h"
|
||||
#include "nsIDOMTimeRanges.h"
|
||||
#include "nsIDOMTouchEvent.h"
|
||||
#include "nsIDOMTransitionEvent.h"
|
||||
#include "nsIDOMTreeWalker.h"
|
||||
#include "nsIDOMUIEvent.h"
|
||||
|
|
Загрузка…
Ссылка в новой задаче