mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 925812 - rm nsIDOMGamepad.idl. r=smaug
This commit is contained in:
parent
4d49b89864
commit
64b6f02e5c
@ -17,7 +17,6 @@ NS_IMPL_CYCLE_COLLECTING_RELEASE(Gamepad)
|
||||
NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(Gamepad)
|
||||
NS_WRAPPERCACHE_INTERFACE_MAP_ENTRY
|
||||
NS_INTERFACE_MAP_ENTRY(nsISupports)
|
||||
NS_INTERFACE_MAP_ENTRY(nsIDOMGamepad)
|
||||
NS_INTERFACE_MAP_END
|
||||
|
||||
NS_IMPL_CYCLE_COLLECTION_WRAPPERCACHE_1(Gamepad, mParent)
|
||||
|
@ -8,7 +8,6 @@
|
||||
#include "mozilla/ErrorResult.h"
|
||||
#include <stdint.h>
|
||||
#include "nsCOMPtr.h"
|
||||
#include "nsIDOMGamepad.h"
|
||||
#include "nsIVariant.h"
|
||||
#include "nsString.h"
|
||||
#include "nsTArray.h"
|
||||
@ -33,8 +32,8 @@ struct GamepadButton
|
||||
GamepadButton(): pressed(false), value(0.0) {}
|
||||
};
|
||||
|
||||
class Gamepad : public nsIDOMGamepad
|
||||
, public nsWrapperCache
|
||||
class Gamepad : public nsISupports,
|
||||
public nsWrapperCache
|
||||
{
|
||||
public:
|
||||
Gamepad(nsISupports* aParent,
|
||||
|
@ -7,6 +7,5 @@
|
||||
XPIDL_MODULE = 'dom_gamepad'
|
||||
|
||||
XPIDL_SOURCES = [
|
||||
'nsIDOMGamepad.idl',
|
||||
'nsIGamepadServiceTest.idl',
|
||||
]
|
||||
|
@ -1,12 +0,0 @@
|
||||
/* 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 "nsISupports.idl"
|
||||
|
||||
interface nsIVariant;
|
||||
|
||||
[builtinclass, scriptable, uuid(ff13acd9-11da-4817-8f2a-4a5700dfd13e)]
|
||||
interface nsIDOMGamepad : nsISupports
|
||||
{
|
||||
};
|
Loading…
Reference in New Issue
Block a user