Bug 925812 - rm nsIDOMGamepad.idl. r=smaug

This commit is contained in:
Ted Mielczarek 2013-10-17 15:07:16 -04:00
parent 4d49b89864
commit 64b6f02e5c
4 changed files with 2 additions and 17 deletions

View File

@ -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)

View File

@ -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,

View File

@ -7,6 +7,5 @@
XPIDL_MODULE = 'dom_gamepad'
XPIDL_SOURCES = [
'nsIDOMGamepad.idl',
'nsIGamepadServiceTest.idl',
]

View File

@ -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
{
};