Andrea Marchesini
97c618f8b9
Bug 1184970 - Remove unused struct in AudioChannelService, r=ehsan
2015-07-19 02:49:32 +01:00
Andrea Marchesini
84bc2d11bc
Bug 1184972 - We should always use the top window for any audioChannel operation, r=ehsan
2015-07-19 02:47:49 +01:00
Wes Kocher
c9619ef520
Merge b2ginbound to central, a=merge
2015-07-17 18:07:14 -07:00
Andrea Marchesini
f1efb68004
Bug 1177399 - patch 3 - AudioChannelAgent should not be initialized without a valid top-window, CLOSED TREE
2015-07-17 18:29:44 +01:00
Alastor Wu
0c8e7b7e06
Bug 1170117 - Separate volume control. r=baku
2015-07-17 10:07:37 +08:00
Ehsan Akhgari
4355437852
Bug 1183925 - Part 2: Clean up the AudioChannelService shutdown; r=baku
...
Right now this function is called after the XPCOM component manager is
shut down, so it can never remove any observers. It's better to do this
work in response to xpcom-shutdown while we still have a component
manager to be able to clean up after ourselves properly.
2015-07-15 17:47:28 -04:00
Andrea Marchesini
ae5c4c5d5b
Bug 1183304 - Unregister the actor when unlinked by CC. r=ehsan
...
CLOSED TREE
2015-07-17 07:08:00 -04:00
Ryan VanderMeulen
1ec1df2206
Backed out changeset 21a5c9152c3b (bug 1183925) for B2G debug mochitest crashes.
2015-07-15 11:29:50 -04:00
Ehsan Akhgari
892a26b362
Bug 1183925 - Clean up the AudioChannelService shutdown; r=baku
...
Right now this function is called after the XPCOM component manager is
shut down, so it can never remove any observers. It's better to do this
work in response to xpcom-shutdown while we still have a component
manager to be able to clean up after ourselves properly.
2015-07-15 08:12:36 -04:00
Andrea Marchesini
192390457e
Bug 1183446 - Audio Channel service should use outer windows, r=ehsan
2015-07-15 11:17:52 +01:00
Ehsan Akhgari
262c0bd498
Bug 1183356 - Part 2: Add assertions enforcing the usage of outer windows for all of the entry points of the API; r=baku
...
The assertions here serve as a unit test for the previous commit,
because with these, our existing tests would have caught this bug.
2015-07-14 11:48:19 -04:00
Carsten "Tomcat" Book
bfea0e40ad
Backed out changeset dc97f665d047 (bug 1183356)
2015-07-14 17:08:39 +02:00
Ehsan Akhgari
02fb842974
Bug 1183356 - Part 2: Add assertions enforcing the usage of outer windows for all of the entry points of the API; r=baku
...
The assertions here serve as a unit test for the previous commit,
because with these, our existing tests would have caught this bug.
2015-07-14 08:53:02 -04:00
Birunthan Mohanathas
a8939590de
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Andrea Marchesini
24739b108d
Bug 1177259 - Improve the names of the methods of nsIAudioChannelAgent, r=alwu
2015-07-11 08:24:26 +01:00
Andrea Marchesini
7a92be5598
Bug 1113086 - AudioChannel policy in Browser API - patch 6 - media-playback has to be dispatched async, r=alwu
2015-07-10 17:38:53 +01:00
Andrea Marchesini
2ba53b5aab
Bug 1113086 - AudioChannel policy in Browser API - patch 5 - nsTObserverArray instead hashtables, r=ehsan, r=alwu
2015-07-10 17:38:51 +01:00
Andrea Marchesini
7fe6a31b4a
Bug 1113086 - AudioChannel policy in Browser API - patch 4 - Muted by default, e=alwu
2015-07-10 17:38:49 +01:00
Andrea Marchesini
b5e77fe73a
Bug 1113086 - AudioChannel policy in Browser API - patch 2 - IPC communication between AudioChannelServices, r=ehsan
2015-07-10 17:38:46 +01:00
Andrea Marchesini
db14826639
Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan
...
--HG--
rename : dom/audiochannel/AudioChannelAgent.h => dom/browser-element/BrowserElementAudioChannel.h
rename : dom/audiochannel/tests/file_telephonyPolicy.html => dom/browser-element/mochitest/test_browserElement_inproc_AudioChannel.html
rename : dom/audiochannel/tests/file_telephonyPolicy.html => dom/browser-element/mochitest/test_browserElement_oop_AudioChannel.html
rename : dom/audiochannel/AudioChannelCommon.h => dom/webidl/BrowserElementAudioChannel.webidl
2015-07-10 17:38:44 +01:00
Carsten "Tomcat" Book
c07e36b612
Backed out changeset bcfbdb934c37 (bug 1113086) for breaking cpp tests with timeouts in TestAudioChannelService.exe
...
--HG--
rename : dom/webidl/BrowserElementAudioChannel.webidl => dom/audiochannel/AudioChannelCommon.h
rename : dom/browser-element/mochitest/test_browserElement_oop_AudioChannel.html => dom/audiochannel/tests/file_telephonyPolicy.html
2015-07-11 14:14:58 +02:00
Carsten "Tomcat" Book
0b0f84bbdc
Backed out changeset 3f09bee844e2 (bug 1113086)
2015-07-11 14:14:04 +02:00
Carsten "Tomcat" Book
3b675d6eb9
Backed out changeset 69427ebb50f1 (bug 1113086)
2015-07-11 14:13:55 +02:00
Carsten "Tomcat" Book
90f2b86163
Backed out changeset d9cc17209f0e (bug 1113086)
2015-07-11 14:13:50 +02:00
Carsten "Tomcat" Book
b67fcbcfb2
Backed out changeset dc6c9832002f (bug 1113086)
2015-07-11 14:13:45 +02:00
Carsten "Tomcat" Book
131967cfc8
Backed out changeset 41195fb9f293 (bug 1177259)
2015-07-11 14:13:27 +02:00
Andrea Marchesini
1ccca98929
Bug 1177259 - Improve the names of the methods of nsIAudioChannelAgent, r=alwu
2015-07-11 08:24:26 +01:00
Andrea Marchesini
6fe209e18c
Bug 1113086 - AudioChannel policy in Browser API - patch 6 - media-playback has to be dispatched async, r=alwu
2015-07-10 21:08:51 -04:00
Andrea Marchesini
ba0e6f0379
Bug 1113086 - AudioChannel policy in Browser API - patch 5 - nsTObserverArray instead hashtables, r=ehsan, r=alwu
2015-07-10 21:08:50 -04:00
Andrea Marchesini
4e5bc9e1c8
Bug 1113086 - AudioChannel policy in Browser API - patch 4 - Muted by default, e=alwu
2015-07-10 21:08:48 -04:00
Andrea Marchesini
6ba809a348
Bug 1113086 - AudioChannel policy in Browser API - patch 2 - IPC communication between AudioChannelServices, r=ehsan
2015-07-10 21:08:45 -04:00
Andrea Marchesini
3050bc370c
Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan
...
--HG--
rename : dom/audiochannel/AudioChannelAgent.h => dom/browser-element/BrowserElementAudioChannel.h
rename : dom/audiochannel/tests/file_telephonyPolicy.html => dom/browser-element/mochitest/test_browserElement_inproc_AudioChannel.html
rename : dom/audiochannel/tests/file_telephonyPolicy.html => dom/browser-element/mochitest/test_browserElement_oop_AudioChannel.html
rename : dom/audiochannel/AudioChannelCommon.h => dom/webidl/BrowserElementAudioChannel.webidl
2015-07-10 21:08:43 -04:00
Xidorn Quan
f23d866f51
Backed out 8 changesets (bug 1113086) for build bustage
...
Backed out changeset a20839dfd439 (bug 1113086)
Backed out changeset 675ea719b91c (bug 1113086)
Backed out changeset cfb34138bb9f (bug 1113086)
Backed out changeset b9525c60a737 (bug 1113086)
Backed out changeset 380859ae955b (bug 1113086)
Backed out changeset 5ec088f0892f (bug 1113086)
Backed out changeset caf57ae8cbce (bug 1113086)
Backed out changeset 0fc4dec6cd81 (bug 1113086)
--HG--
extra : histedit_source : d8dfd75d9dae36b7309ce78e3b4488faf57003da%2C48081711b7067191d8e4749fd3b572db59bc03f9
2015-07-11 10:55:59 +10:00
Andrea Marchesini
a283431576
Bug 1113086 - AudioChannel policy in Browser API - patch 6 - media-playback has to be dispatched async, r=alwu
2015-07-10 17:38:53 +01:00
Andrea Marchesini
a658f15416
Bug 1113086 - AudioChannel policy in Browser API - patch 5 - nsTObserverArray instead hashtables, r=ehsan, r=alwu
2015-07-10 17:38:51 +01:00
Andrea Marchesini
148502a7c4
Bug 1113086 - AudioChannel policy in Browser API - patch 4 - Muted by default, e=alwu
2015-07-10 17:38:49 +01:00
Andrea Marchesini
1713d25871
Bug 1113086 - AudioChannel policy in Browser API - patch 2 - IPC communication between AudioChannelServices, r=ehsan
2015-07-10 17:38:46 +01:00
Andrea Marchesini
bbb0a11f31
Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan
...
--HG--
rename : dom/browser-element/mochitest/test_browserElement_inproc_GetContentDimensions.html => dom/browser-element/mochitest/test_browserElement_inproc_AudioChannel.html
rename : dom/browser-element/mochitest/test_browserElement_oop_GetContentDimensions.html => dom/browser-element/mochitest/test_browserElement_oop_AudioChannel.html
2015-07-10 17:38:44 +01:00
Ehsan Akhgari
c6f415d397
Bug 1180347 - Split media.useAudioChannelService to support turning the service on without turning the Firefox OS specific APIs on; r=baku
...
This is going to be needed for us to be able to turn the AudioChannelService
on for desktop without exposing the Firefox OS specific APIs.
2015-07-06 09:05:00 -04:00
Juan Gomez
258ad59e3f
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
2015-07-03 18:29:00 -07:00
Ryan VanderMeulen
5f5c327690
Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage.
2015-06-25 19:48:42 -04:00
Juan Gomez
702a59d135
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
...
--HG--
extra : rebase_source : 2ecbe6c1dd8a7ad8dc529b53349ad431cf1116c9
2015-06-24 14:11:00 -04:00
Alastor Wu
824ad92ca3
Bug 1157121 - Add speaker status checking. r=baku
...
--HG--
extra : rebase_source : c5456e3bebc8265db7d28ffe4a996de584ca4950
2015-04-29 15:08:12 +08:00
Andrew McCreight
9e8f4b219e
Bug 1152551, part 2 - Fix mode lines in dom/. r=jst
2015-05-03 15:32:37 -04:00
Ehsan Akhgari
dd354aa828
Back out bug 1154243 since mWindow is an nsIDOMWindow
...
Landed on a CLOSED TREE
2015-04-14 08:54:59 -04:00
Ehsan Akhgari
60a1078cd3
Bug 1154243 - Avoid calling QueryInterface in AudioChannelAgent::GetWindowVolume() unnecessarily; r=baku
2015-04-14 08:31:38 -04:00
Ehsan Akhgari
9e824d6fa4
Bug 1153915 - Null check the window in AudioChannelService::WindowDestroyedEnumerator(); r=baku
2015-04-14 08:31:37 -04:00
Andrea Marchesini
bfaa974f10
Bug 1147819 - Any media element should be stopped by the AudioChannelService when the window is destroyed, r=ehsan
2015-04-08 09:24:04 +01:00
Ehsan Akhgari
883849ee32
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Alastor Wu
bb8b9b94f4
Bug 1089526 - Change speaker state. r=baku
2015-02-16 10:50:56 +08:00