Bug 1146293 - Fix coding style break (intent and line length) caused by Bug 1117172 and Bug 1145631. r=shuang

This commit is contained in:
Jocelyn Liu 2015-03-23 19:37:00 -04:00
Родитель 9057a8ed29
Коммит 01f5840db1
15 изменённых файлов: 38 добавлений и 24 удалений

Просмотреть файл

@ -164,7 +164,8 @@ public:
return GetOwner(); 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 DisconnectFromOwner() override;
/** /**

Просмотреть файл

@ -95,7 +95,8 @@ BluetoothClassOfDevice::Create(nsPIDOMWindow* aOwner)
} }
JSObject* JSObject*
BluetoothClassOfDevice::WrapObject(JSContext* aCx, JS::Handle<JSObject*> aGivenProto) BluetoothClassOfDevice::WrapObject(JSContext* aCx,
JS::Handle<JSObject*> aGivenProto)
{ {
return BluetoothClassOfDeviceBinding::Wrap(aCx, this, aGivenProto); return BluetoothClassOfDeviceBinding::Wrap(aCx, this, aGivenProto);
} }

Просмотреть файл

@ -18,8 +18,8 @@ struct JSContext;
BEGIN_BLUETOOTH_NAMESPACE BEGIN_BLUETOOTH_NAMESPACE
class BluetoothClassOfDevice final : public nsISupports, class BluetoothClassOfDevice final : public nsISupports
public nsWrapperCache , public nsWrapperCache
{ {
public: public:
NS_DECL_CYCLE_COLLECTING_ISUPPORTS NS_DECL_CYCLE_COLLECTING_ISUPPORTS
@ -69,7 +69,8 @@ public:
{ {
return mOwnerWindow; return mOwnerWindow;
} }
virtual JSObject* WrapObject(JSContext* aCx, JS::Handle<JSObject*> aGivenProto) override; virtual JSObject* WrapObject(JSContext* aCx,
JS::Handle<JSObject*> aGivenProto) override;
private: private:
BluetoothClassOfDevice(nsPIDOMWindow* aOwner); BluetoothClassOfDevice(nsPIDOMWindow* aOwner);

Просмотреть файл

@ -320,7 +320,8 @@ BluetoothDevice::GetGatt()
} }
JSObject* JSObject*
BluetoothDevice::WrapObject(JSContext* aContext, JS::Handle<JSObject*> aGivenProto) BluetoothDevice::WrapObject(JSContext* aContext,
JS::Handle<JSObject*> aGivenProto)
{ {
return BluetoothDeviceBinding::Wrap(aContext, this, aGivenProto); return BluetoothDeviceBinding::Wrap(aContext, this, aGivenProto);
} }

Просмотреть файл

@ -30,7 +30,7 @@ class BluetoothSignal;
class BluetoothSocket; class BluetoothSocket;
class BluetoothDevice final : public DOMEventTargetHelper class BluetoothDevice final : public DOMEventTargetHelper
, public BluetoothSignalObserver , public BluetoothSignalObserver
{ {
public: public:
NS_DECL_ISUPPORTS_INHERITED NS_DECL_ISUPPORTS_INHERITED
@ -94,7 +94,8 @@ public:
return GetOwner(); 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 DisconnectFromOwner() override;
private: private:

Просмотреть файл

@ -58,7 +58,8 @@ BluetoothDiscoveryHandle::DispatchDeviceEvent(BluetoothDevice* aDevice)
} }
JSObject* JSObject*
BluetoothDiscoveryHandle::WrapObject(JSContext* aCx, JS::Handle<JSObject*> aGivenProto) BluetoothDiscoveryHandle::WrapObject(JSContext* aCx,
JS::Handle<JSObject*> aGivenProto)
{ {
return BluetoothDiscoveryHandleBinding::Wrap(aCx, this, aGivenProto); return BluetoothDiscoveryHandleBinding::Wrap(aCx, this, aGivenProto);
} }

Просмотреть файл

@ -30,7 +30,8 @@ public:
IMPL_EVENT_HANDLER(devicefound); 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: private:
BluetoothDiscoveryHandle(nsPIDOMWindow* aWindow); BluetoothDiscoveryHandle(nsPIDOMWindow* aWindow);

Просмотреть файл

@ -314,7 +314,8 @@ BluetoothGatt::Notify(const BluetoothSignal& aData)
} }
JSObject* JSObject*
BluetoothGatt::WrapObject(JSContext* aContext, JS::Handle<JSObject*> aGivenProto) BluetoothGatt::WrapObject(JSContext* aContext,
JS::Handle<JSObject*> aGivenProto)
{ {
return BluetoothGattBinding::Wrap(aContext, this, aGivenProto); return BluetoothGattBinding::Wrap(aContext, this, aGivenProto);
} }

Просмотреть файл

@ -28,7 +28,7 @@ class BluetoothSignal;
class BluetoothValue; class BluetoothValue;
class BluetoothGatt final : public DOMEventTargetHelper class BluetoothGatt final : public DOMEventTargetHelper
, public BluetoothSignalObserver , public BluetoothSignalObserver
{ {
public: public:
NS_DECL_ISUPPORTS_INHERITED NS_DECL_ISUPPORTS_INHERITED
@ -70,7 +70,8 @@ public:
return GetOwner(); 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 DisconnectFromOwner() override;
BluetoothGatt(nsPIDOMWindow* aOwner, BluetoothGatt(nsPIDOMWindow* aOwner,

Просмотреть файл

@ -20,8 +20,8 @@ BEGIN_BLUETOOTH_NAMESPACE
class BluetoothAdapter; class BluetoothAdapter;
class BluetoothValue; class BluetoothValue;
class BluetoothManager : public DOMEventTargetHelper class BluetoothManager final : public DOMEventTargetHelper
, public BluetoothSignalObserver , public BluetoothSignalObserver
{ {
public: public:
NS_DECL_ISUPPORTS_INHERITED NS_DECL_ISUPPORTS_INHERITED
@ -63,7 +63,8 @@ public:
return GetOwner(); 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 DisconnectFromOwner() override;
/** /**

Просмотреть файл

@ -121,7 +121,8 @@ BluetoothPairingHandle::SetPairingConfirmation(bool aConfirm, ErrorResult& aRv)
} }
JSObject* JSObject*
BluetoothPairingHandle::WrapObject(JSContext* aCx, JS::Handle<JSObject*> aGivenProto) BluetoothPairingHandle::WrapObject(JSContext* aCx,
JS::Handle<JSObject*> aGivenProto)
{ {
return BluetoothPairingHandleBinding::Wrap(aCx, this, aGivenProto); return BluetoothPairingHandleBinding::Wrap(aCx, this, aGivenProto);
} }

Просмотреть файл

@ -21,8 +21,8 @@ BEGIN_BLUETOOTH_NAMESPACE
class BluetoothDevice; class BluetoothDevice;
class BluetoothPairingHandle final : public nsISupports, class BluetoothPairingHandle final : public nsISupports
public nsWrapperCache , public nsWrapperCache
{ {
public: public:
NS_DECL_CYCLE_COLLECTING_ISUPPORTS NS_DECL_CYCLE_COLLECTING_ISUPPORTS
@ -39,7 +39,8 @@ public:
return mOwner; 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 void GetPasskey(nsString& aPasskey) const
{ {

Просмотреть файл

@ -108,7 +108,8 @@ BluetoothPairingListener::Notify(const BluetoothSignal& aData)
} }
JSObject* JSObject*
BluetoothPairingListener::WrapObject(JSContext* aCx, JS::Handle<JSObject*> aGivenProto) BluetoothPairingListener::WrapObject(JSContext* aCx,
JS::Handle<JSObject*> aGivenProto)
{ {
return BluetoothPairingListenerBinding::Wrap(aCx, this, aGivenProto); return BluetoothPairingListenerBinding::Wrap(aCx, this, aGivenProto);
} }

Просмотреть файл

@ -17,7 +17,7 @@ class BluetoothDevice;
class BluetoothSignal; class BluetoothSignal;
class BluetoothPairingListener final : public DOMEventTargetHelper class BluetoothPairingListener final : public DOMEventTargetHelper
, public BluetoothSignalObserver , public BluetoothSignalObserver
{ {
public: public:
NS_DECL_ISUPPORTS_INHERITED NS_DECL_ISUPPORTS_INHERITED
@ -37,7 +37,8 @@ public:
return GetOwner(); 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 DisconnectFromOwner() override;
virtual void EventListenerAdded(nsIAtom* aType) override; virtual void EventListenerAdded(nsIAtom* aType) override;

Просмотреть файл

@ -17,7 +17,7 @@ class BluetoothGattClient;
class BluetoothReplyRunnable; class BluetoothReplyRunnable;
class BluetoothGattManager final : public nsIObserver class BluetoothGattManager final : public nsIObserver
, public BluetoothGattNotificationHandler , public BluetoothGattNotificationHandler
{ {
public: public:
NS_DECL_ISUPPORTS NS_DECL_ISUPPORTS