Closed Bug 910568 Opened 11 years ago Closed 11 years ago

WebTelephony: move telephony DOM classes out of namesapce mozilla::dom::telephony to mozilla::dom

Categories

(Core :: DOM: Device Interfaces, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla26

People

(Reporter: vicamo, Assigned: vicamo)

References

Details

Attachments

(1 file, 2 obsolete files)

From bug 864485 comment 31, let's move public native telephony DOM classes out of namesapce mozilla::dom::telephony to mozilla::dom while still keep private implementation details in it.
Attached patch patch (obsolete) (deleted) β€” β€” Splinter Review
* mozilla::dom - CallEvent.h, CallsList.h, Telephony.h, TelephonyCall.h, TelephonyCallGroup.h

* mozilla::dom::telephony - TelephonyCommon.h, TelephonyFactory.h, TelephonyChild.h, TelephonyParent.h

https://tbpl.mozilla.org/?tree=Try&rev=09dd8a1e5949
Assignee: nobody → vyang
Attachment #802257 - Flags: review?(khuey)
Comment on attachment 802257 [details] [diff] [review]
patch

Review of attachment 802257 [details] [diff] [review]:
-----------------------------------------------------------------

Nice.

::: dom/bindings/Bindings.conf
@@ +166,5 @@
>      'headerFile': 'BluetoothManager.h'
>  },
>  
>  'CallEvent': {
> +    'nativeType': 'mozilla::dom::CallEvent',

The default nativeType for 'Interface' is 'mozilla::dom::Interface', so I don't think you need any of these nativeType annotations anymore.

::: dom/telephony/TelephonyCallGroup.h
@@ +111,5 @@
>  
>    bool CanConference(const TelephonyCall& aCall, TelephonyCall* aSecondCall);
>  };
>  
> +} // namespace mozilla::dom

Just 'namespace dom'
Attachment #802257 - Flags: review?(khuey) → review+
Also unless Hsin-Yi is actually going to review this please remove her name from the commit message.
Attached patch patch : v2 (obsolete) (deleted) β€” β€” Splinter Review
Address previous comment.  Ask for hsinyi's review as well.
Attachment #802257 - Attachment is obsolete: true
Attachment #802905 - Flags: review?(htsai)
Comment on attachment 802905 [details] [diff] [review]
patch : v2

Review of attachment 802905 [details] [diff] [review]:
-----------------------------------------------------------------

Looks good to me. But I am not a DOM peer and not able to review this. Remember to remove my name from the bug commit. Thank you.
Attachment #802905 - Flags: review?(htsai)
Attached patch patch : v3 (deleted) β€” β€” Splinter Review
update r= only.
Attachment #802905 - Attachment is obsolete: true
Attachment #803244 - Flags: review+
https://hg.mozilla.org/integration/b2g-inbound/rev/2d38a1453c3d
https://hg.mozilla.org/mozilla-central/rev/2d38a1453c3d
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
You should probably remove the empty dicts from Bindings.conf.
Flags: needinfo?(vyang)
Blocks: 922531
(In reply to :Ms2ger from comment #9)
> You should probably remove the empty dicts from Bindings.conf.

Filed as bug 922531.
Flags: needinfo?(vyang)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: