Closed
Bug 838172
Opened 12 years ago
Closed 12 years ago
Convert AudioChannelManager to WebIDL
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla21
People
(Reporter: baku, Assigned: baku)
References
Details
Attachments
(1 file, 2 obsolete files)
14.16 KB,
patch
|
baku
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•12 years ago
|
||
Attachment #710207 -
Flags: review?(peterv)
Comment 2•12 years ago
|
||
Comment on attachment 710207 [details] [diff] [review]
patch
Review of attachment 710207 [details] [diff] [review]:
-----------------------------------------------------------------
::: dom/system/gonk/AudioChannelManager.cpp
@@ +40,5 @@
>
> +bool
> +AudioChannelManager::Headphones() const
> +{
> + return mState == SWITCH_STATE_ON ? true : false;
return mState == SWITCH_STATE_ON;
@@ +41,5 @@
> +bool
> +AudioChannelManager::Headphones() const
> +{
> + return mState == SWITCH_STATE_ON ? true : false;
> +}
Maybe inline this?
::: dom/webidl/AudioChannelManager.webidl
@@ +3,5 @@
> + * 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/.
> + */
> +
> +[NoInterfaceObject]
I don't think this is needed.
Attachment #710207 -
Flags: review?(peterv) → review+
Assignee | ||
Comment 3•12 years ago
|
||
Attachment #710207 -
Attachment is obsolete: true
Attachment #711752 -
Flags: review+
Assignee | ||
Comment 4•12 years ago
|
||
https://tbpl.mozilla.org/?tree=Try&rev=eb53d59bfe1a this is better
Assignee | ||
Comment 5•12 years ago
|
||
Attachment #711752 -
Attachment is obsolete: true
Attachment #711766 -
Flags: review+
Assignee | ||
Updated•12 years ago
|
Keywords: checkin-needed
Comment 6•12 years ago
|
||
Flags: in-testsuite?
Keywords: checkin-needed
Comment 7•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•