зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1146293 - Fix coding style break (intent and line length) caused by Bug 1117172 and Bug 1145631. r=shuang
This commit is contained in:
Родитель
9057a8ed29
Коммит
01f5840db1
|
@ -164,7 +164,8 @@ public:
|
|||
return GetOwner();
|
||||
}
|
||||
|
||||
virtual JSObject* WrapObject(JSContext* aCx, JS::Handle<JSObject*> aGivenProto) override;
|
||||
virtual JSObject* WrapObject(JSContext* aCx,
|
||||
JS::Handle<JSObject*> aGivenProto) override;
|
||||
virtual void DisconnectFromOwner() override;
|
||||
|
||||
/**
|
||||
|
|
|
@ -95,7 +95,8 @@ BluetoothClassOfDevice::Create(nsPIDOMWindow* aOwner)
|
|||
}
|
||||
|
||||
JSObject*
|
||||
BluetoothClassOfDevice::WrapObject(JSContext* aCx, JS::Handle<JSObject*> aGivenProto)
|
||||
BluetoothClassOfDevice::WrapObject(JSContext* aCx,
|
||||
JS::Handle<JSObject*> aGivenProto)
|
||||
{
|
||||
return BluetoothClassOfDeviceBinding::Wrap(aCx, this, aGivenProto);
|
||||
}
|
||||
|
|
|
@ -18,8 +18,8 @@ struct JSContext;
|
|||
|
||||
BEGIN_BLUETOOTH_NAMESPACE
|
||||
|
||||
class BluetoothClassOfDevice final : public nsISupports,
|
||||
public nsWrapperCache
|
||||
class BluetoothClassOfDevice final : public nsISupports
|
||||
, public nsWrapperCache
|
||||
{
|
||||
public:
|
||||
NS_DECL_CYCLE_COLLECTING_ISUPPORTS
|
||||
|
@ -69,7 +69,8 @@ public:
|
|||
{
|
||||
return mOwnerWindow;
|
||||
}
|
||||
virtual JSObject* WrapObject(JSContext* aCx, JS::Handle<JSObject*> aGivenProto) override;
|
||||
virtual JSObject* WrapObject(JSContext* aCx,
|
||||
JS::Handle<JSObject*> aGivenProto) override;
|
||||
|
||||
private:
|
||||
BluetoothClassOfDevice(nsPIDOMWindow* aOwner);
|
||||
|
|
|
@ -320,7 +320,8 @@ BluetoothDevice::GetGatt()
|
|||
}
|
||||
|
||||
JSObject*
|
||||
BluetoothDevice::WrapObject(JSContext* aContext, JS::Handle<JSObject*> aGivenProto)
|
||||
BluetoothDevice::WrapObject(JSContext* aContext,
|
||||
JS::Handle<JSObject*> aGivenProto)
|
||||
{
|
||||
return BluetoothDeviceBinding::Wrap(aContext, this, aGivenProto);
|
||||
}
|
||||
|
|
|
@ -30,7 +30,7 @@ class BluetoothSignal;
|
|||
class BluetoothSocket;
|
||||
|
||||
class BluetoothDevice final : public DOMEventTargetHelper
|
||||
, public BluetoothSignalObserver
|
||||
, public BluetoothSignalObserver
|
||||
{
|
||||
public:
|
||||
NS_DECL_ISUPPORTS_INHERITED
|
||||
|
@ -94,7 +94,8 @@ public:
|
|||
return GetOwner();
|
||||
}
|
||||
|
||||
virtual JSObject* WrapObject(JSContext* aCx, JS::Handle<JSObject*> aGivenProto) override;
|
||||
virtual JSObject* WrapObject(JSContext* aCx,
|
||||
JS::Handle<JSObject*> aGivenProto) override;
|
||||
virtual void DisconnectFromOwner() override;
|
||||
|
||||
private:
|
||||
|
|
|
@ -58,7 +58,8 @@ BluetoothDiscoveryHandle::DispatchDeviceEvent(BluetoothDevice* aDevice)
|
|||
}
|
||||
|
||||
JSObject*
|
||||
BluetoothDiscoveryHandle::WrapObject(JSContext* aCx, JS::Handle<JSObject*> aGivenProto)
|
||||
BluetoothDiscoveryHandle::WrapObject(JSContext* aCx,
|
||||
JS::Handle<JSObject*> aGivenProto)
|
||||
{
|
||||
return BluetoothDiscoveryHandleBinding::Wrap(aCx, this, aGivenProto);
|
||||
}
|
||||
|
|
|
@ -30,7 +30,8 @@ public:
|
|||
|
||||
IMPL_EVENT_HANDLER(devicefound);
|
||||
|
||||
virtual JSObject* WrapObject(JSContext* aCx, JS::Handle<JSObject*> aGivenProto) override;
|
||||
virtual JSObject* WrapObject(JSContext* aCx,
|
||||
JS::Handle<JSObject*> aGivenProto) override;
|
||||
|
||||
private:
|
||||
BluetoothDiscoveryHandle(nsPIDOMWindow* aWindow);
|
||||
|
|
|
@ -314,7 +314,8 @@ BluetoothGatt::Notify(const BluetoothSignal& aData)
|
|||
}
|
||||
|
||||
JSObject*
|
||||
BluetoothGatt::WrapObject(JSContext* aContext, JS::Handle<JSObject*> aGivenProto)
|
||||
BluetoothGatt::WrapObject(JSContext* aContext,
|
||||
JS::Handle<JSObject*> aGivenProto)
|
||||
{
|
||||
return BluetoothGattBinding::Wrap(aContext, this, aGivenProto);
|
||||
}
|
||||
|
|
|
@ -28,7 +28,7 @@ class BluetoothSignal;
|
|||
class BluetoothValue;
|
||||
|
||||
class BluetoothGatt final : public DOMEventTargetHelper
|
||||
, public BluetoothSignalObserver
|
||||
, public BluetoothSignalObserver
|
||||
{
|
||||
public:
|
||||
NS_DECL_ISUPPORTS_INHERITED
|
||||
|
@ -70,7 +70,8 @@ public:
|
|||
return GetOwner();
|
||||
}
|
||||
|
||||
virtual JSObject* WrapObject(JSContext* aCx, JS::Handle<JSObject*> aGivenProto) override;
|
||||
virtual JSObject* WrapObject(JSContext* aCx,
|
||||
JS::Handle<JSObject*> aGivenProto) override;
|
||||
virtual void DisconnectFromOwner() override;
|
||||
|
||||
BluetoothGatt(nsPIDOMWindow* aOwner,
|
||||
|
|
|
@ -20,8 +20,8 @@ BEGIN_BLUETOOTH_NAMESPACE
|
|||
class BluetoothAdapter;
|
||||
class BluetoothValue;
|
||||
|
||||
class BluetoothManager : public DOMEventTargetHelper
|
||||
, public BluetoothSignalObserver
|
||||
class BluetoothManager final : public DOMEventTargetHelper
|
||||
, public BluetoothSignalObserver
|
||||
{
|
||||
public:
|
||||
NS_DECL_ISUPPORTS_INHERITED
|
||||
|
@ -63,7 +63,8 @@ public:
|
|||
return GetOwner();
|
||||
}
|
||||
|
||||
virtual JSObject* WrapObject(JSContext* aCx, JS::Handle<JSObject*> aGivenProto) override;
|
||||
virtual JSObject* WrapObject(JSContext* aCx,
|
||||
JS::Handle<JSObject*> aGivenProto) override;
|
||||
virtual void DisconnectFromOwner() override;
|
||||
|
||||
/**
|
||||
|
|
|
@ -121,7 +121,8 @@ BluetoothPairingHandle::SetPairingConfirmation(bool aConfirm, ErrorResult& aRv)
|
|||
}
|
||||
|
||||
JSObject*
|
||||
BluetoothPairingHandle::WrapObject(JSContext* aCx, JS::Handle<JSObject*> aGivenProto)
|
||||
BluetoothPairingHandle::WrapObject(JSContext* aCx,
|
||||
JS::Handle<JSObject*> aGivenProto)
|
||||
{
|
||||
return BluetoothPairingHandleBinding::Wrap(aCx, this, aGivenProto);
|
||||
}
|
||||
|
|
|
@ -21,8 +21,8 @@ BEGIN_BLUETOOTH_NAMESPACE
|
|||
|
||||
class BluetoothDevice;
|
||||
|
||||
class BluetoothPairingHandle final : public nsISupports,
|
||||
public nsWrapperCache
|
||||
class BluetoothPairingHandle final : public nsISupports
|
||||
, public nsWrapperCache
|
||||
{
|
||||
public:
|
||||
NS_DECL_CYCLE_COLLECTING_ISUPPORTS
|
||||
|
@ -39,7 +39,8 @@ public:
|
|||
return mOwner;
|
||||
}
|
||||
|
||||
virtual JSObject* WrapObject(JSContext* aCx, JS::Handle<JSObject*> aGivenProto) override;
|
||||
virtual JSObject* WrapObject(JSContext* aCx,
|
||||
JS::Handle<JSObject*> aGivenProto) override;
|
||||
|
||||
void GetPasskey(nsString& aPasskey) const
|
||||
{
|
||||
|
|
|
@ -108,7 +108,8 @@ BluetoothPairingListener::Notify(const BluetoothSignal& aData)
|
|||
}
|
||||
|
||||
JSObject*
|
||||
BluetoothPairingListener::WrapObject(JSContext* aCx, JS::Handle<JSObject*> aGivenProto)
|
||||
BluetoothPairingListener::WrapObject(JSContext* aCx,
|
||||
JS::Handle<JSObject*> aGivenProto)
|
||||
{
|
||||
return BluetoothPairingListenerBinding::Wrap(aCx, this, aGivenProto);
|
||||
}
|
||||
|
|
|
@ -17,7 +17,7 @@ class BluetoothDevice;
|
|||
class BluetoothSignal;
|
||||
|
||||
class BluetoothPairingListener final : public DOMEventTargetHelper
|
||||
, public BluetoothSignalObserver
|
||||
, public BluetoothSignalObserver
|
||||
{
|
||||
public:
|
||||
NS_DECL_ISUPPORTS_INHERITED
|
||||
|
@ -37,7 +37,8 @@ public:
|
|||
return GetOwner();
|
||||
}
|
||||
|
||||
virtual JSObject* WrapObject(JSContext* aCx, JS::Handle<JSObject*> aGivenProto) override;
|
||||
virtual JSObject* WrapObject(JSContext* aCx,
|
||||
JS::Handle<JSObject*> aGivenProto) override;
|
||||
virtual void DisconnectFromOwner() override;
|
||||
virtual void EventListenerAdded(nsIAtom* aType) override;
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ class BluetoothGattClient;
|
|||
class BluetoothReplyRunnable;
|
||||
|
||||
class BluetoothGattManager final : public nsIObserver
|
||||
, public BluetoothGattNotificationHandler
|
||||
, public BluetoothGattNotificationHandler
|
||||
{
|
||||
public:
|
||||
NS_DECL_ISUPPORTS
|
||||
|
|
Загрузка…
Ссылка в новой задаче