be15b78606f21527019ec11ebe463333ee7e64f6: Bug 1290467 - part9 : remove 'ACTION_REMOVE_CONTROL'. draft
Alastor Wu <alwu@mozilla.com> - Wed, 31 Aug 2016 18:46:55 +0800 - rev 407945
Push 28096 by alwu@mozilla.com at Wed, 31 Aug 2016 10:47:23 +0000
Bug 1290467 - part9 : remove 'ACTION_REMOVE_CONTROL'. Remove 'ACTION_REMOVE_CONTROL' because it's as same as 'ACTION_STOP'. MozReview-Commit-ID: 6KOj8srEuJA
589ca1c4f3633df31459722df3cfa32cc8d201e0: Bug 1290467 - part8 : rename 'ACTION_PLAY' to 'ACTION_RESUME'. draft
Alastor Wu <alwu@mozilla.com> - Wed, 31 Aug 2016 18:46:53 +0800 - rev 407944
Push 28096 by alwu@mozilla.com at Wed, 31 Aug 2016 10:47:23 +0000
Bug 1290467 - part8 : rename 'ACTION_PLAY' to 'ACTION_RESUME'. 'ACTION_RESUME' should be more suit for its operation. MozReview-Commit-ID: 4FRHaydVKu5
c523330dce964a947b791a3fce8496af9bd37d03: Bug 1290467 - part7 : enable audio competing for non-audible media. draft
Alastor Wu <alwu@mozilla.com> - Wed, 31 Aug 2016 18:46:51 +0800 - rev 407943
Push 28096 by alwu@mozilla.com at Wed, 31 Aug 2016 10:47:23 +0000
Bug 1290467 - part7 : enable audio competing for non-audible media. In general, the audio competing should only be for audible media and it helps user can focus on one media at the same time. However, we hope to treat all media as the same in the mobile device. First reason is we have media control on fennec and we just want to control one media at once time. Second reason is to reduce the bandwidth, avoiding to play any non-audible media in background which user doesn't notice about. MozReview-Commit-ID: 9OF0rFJ7lX9
b1e0602c17ac511c5ace91165b4c21045b20be9f: Bug 1290467 - part6 : remove redudant space. draft
Alastor Wu <alwu@mozilla.com> - Wed, 31 Aug 2016 18:46:48 +0800 - rev 407942
Push 28096 by alwu@mozilla.com at Wed, 31 Aug 2016 10:47:23 +0000
Bug 1290467 - part6 : remove redudant space. remove one redudant space. MozReview-Commit-ID: 1PdKL1EALAq
0341267704e55cd032306db6ae15b8faef55dcb1: Bug 1290467 - part5 : change service's life time. draft
Alastor Wu <alwu@mozilla.com> - Wed, 31 Aug 2016 18:46:46 +0800 - rev 407941
Push 28096 by alwu@mozilla.com at Wed, 31 Aug 2016 10:47:23 +0000
Bug 1290467 - part5 : change service's life time. Now the life time of the MediaControlService would be as same as the Fennec app. To make code flow more easily, requesting/abandoning the audio focus wouldn't affect the media control. We would mainly communicate with the media control via TabEvents. MozReview-Commit-ID: KT59bII0HuN
acd53ae8db452c0cfba0640297ef298b958e4a54: Bug 1290467 - part4 : create helper function. draft
Alastor Wu <alwu@mozilla.com> - Wed, 31 Aug 2016 18:46:44 +0800 - rev 407940
Push 28096 by alwu@mozilla.com at Wed, 31 Aug 2016 10:47:23 +0000
Bug 1290467 - part4 : create helper function. wrap some code into initialize() and shutdown(). MozReview-Commit-ID: AiyABlyDEME
e5e11f5054106b948941a41e7cff6ab8be0b9405: Bug 1290467 - part3 : notify MediaControlService with event 'MEDIA_PLAYING_CHANGE'. draft
Alastor Wu <alwu@mozilla.com> - Wed, 31 Aug 2016 18:46:42 +0800 - rev 407939
Push 28096 by alwu@mozilla.com at Wed, 31 Aug 2016 10:47:23 +0000
Bug 1290467 - part3 : notify MediaControlService with event 'MEDIA_PLAYING_CHANGE'. The 'MEDIA_PLAYING_CHANGE' is used for controling media control interface and the 'AUDIO_PLAYING_CHANGE' is used for showing the tab sound indicator. MozReview-Commit-ID: 8hZjC77Ju71
20ef2f7e6c58a3f2ba7cc6345b1574f1f0bff5bf: Bug 1290467 - part2 : request audio focus for any media instead of audible one. draft
Alastor Wu <alwu@mozilla.com> - Wed, 31 Aug 2016 18:46:40 +0800 - rev 407938
Push 28096 by alwu@mozilla.com at Wed, 31 Aug 2016 10:47:23 +0000
Bug 1290467 - part2 : request audio focus for any media instead of audible one. Previous design is only to request audio focus for audible media, but now we also request focus for non-audible media. It's simple that the app should own the focus when users start watching media. MozReview-Commit-ID: 3eJP26h4kh7
d128b481bd873b6f897de58d87d181ec51a88e10: Bug 1290467 - part1 : dispatch 'media-playback' event. draft
Alastor Wu <alwu@mozilla.com> - Wed, 31 Aug 2016 18:46:38 +0800 - rev 407937
Push 28096 by alwu@mozilla.com at Wed, 31 Aug 2016 10:47:23 +0000
Bug 1290467 - part1 : dispatch 'media-playback' event. Use 'media-playback' event to control the media control interface on Fennec. MozReview-Commit-ID: D8SU96RrkbQ
9622b3f5906f6f81bcf8e5c7130d55d55030e853: Bug 1298742 - Part 3: Avoid to request a restyle in SetAnimation(). draft
Boris Chiou <boris.chiou@gmail.com> - Tue, 30 Aug 2016 17:56:21 +0800 - rev 407936
Push 28095 by bmo:boris.chiou@gmail.com at Wed, 31 Aug 2016 10:27:05 +0000
Bug 1298742 - Part 3: Avoid to request a restyle in SetAnimation(). After updating a new animation, I think we don't need to request a restyle for the new animation because: 1. CSS Animation & CSS Transition: we don't need to request a restyle. 2. Animation constructor: we don't need to request a restyle. 2. Animation.effect: we call PostUpdate() after SetEffectNoUpdate() already. MozReview-Commit-ID: HrUGBrbt7xi
72f030d82fac98be2e089aa6776e4d160cc51662: Bug 1298742 - Part 2: Make sure UpdateRelevance() is called before NotifyAnimationTimingUpdated. draft
Boris Chiou <boris.chiou@gmail.com> - Mon, 29 Aug 2016 16:22:46 +0800 - rev 407935
Push 28095 by bmo:boris.chiou@gmail.com at Wed, 31 Aug 2016 10:27:05 +0000
Bug 1298742 - Part 2: Make sure UpdateRelevance() is called before NotifyAnimationTimingUpdated. MozReview-Commit-ID: Ki0Aqhgl1dO
1d3835d76d03a0904241ab9cadfbd34f48a85859: Bug 1290467 - part9 : remove 'ACTION_REMOVE_CONTROL'. draft
Alastor Wu <alwu@mozilla.com> - Wed, 31 Aug 2016 18:10:42 +0800 - rev 407934
Push 28094 by alwu@mozilla.com at Wed, 31 Aug 2016 10:14:33 +0000
Bug 1290467 - part9 : remove 'ACTION_REMOVE_CONTROL'. MozReview-Commit-ID: 6KOj8srEuJA
98f3c9284fb2759be268b5140c558e21909389f9: Bug 1290467 - part8 : rename 'ACTION_PLAY' to 'ACTION_RESUME'. draft
Alastor Wu <alwu@mozilla.com> - Wed, 31 Aug 2016 18:10:16 +0800 - rev 407933
Push 28094 by alwu@mozilla.com at Wed, 31 Aug 2016 10:14:33 +0000
Bug 1290467 - part8 : rename 'ACTION_PLAY' to 'ACTION_RESUME'. MozReview-Commit-ID: 4FRHaydVKu5
b3794b052697843ee3ba4a3b8e80fe43f80c9d24: Bug 1290467 - part7 : enable audio competing for non-audible media. draft
Alastor Wu <alwu@mozilla.com> - Wed, 31 Aug 2016 18:10:14 +0800 - rev 407932
Push 28094 by alwu@mozilla.com at Wed, 31 Aug 2016 10:14:33 +0000
Bug 1290467 - part7 : enable audio competing for non-audible media. MozReview-Commit-ID: 2VMCsp382xZ
cbf06fac1967040150d29285835b9ece3c8fdeba: Bug 1290467 - part6 : remove redudant space. draft
Alastor Wu <alwu@mozilla.com> - Wed, 31 Aug 2016 18:10:11 +0800 - rev 407931
Push 28094 by alwu@mozilla.com at Wed, 31 Aug 2016 10:14:33 +0000
Bug 1290467 - part6 : remove redudant space. MozReview-Commit-ID: 1PdKL1EALAq
eacb2e16afeac9ed152bb3e54b65a8bf64d59fbc: Bug 1290467 - part5 : change service's life cycle. draft
Alastor Wu <alwu@mozilla.com> - Wed, 31 Aug 2016 18:10:08 +0800 - rev 407930
Push 28094 by alwu@mozilla.com at Wed, 31 Aug 2016 10:14:33 +0000
Bug 1290467 - part5 : change service's life cycle. MozReview-Commit-ID: KT59bII0HuN
09f873b26b73e2d8cda3c9cef76d14251cbd0e3f: Bug 1290467 - part4 : create helper function. draft
Alastor Wu <alwu@mozilla.com> - Wed, 31 Aug 2016 18:09:23 +0800 - rev 407929
Push 28094 by alwu@mozilla.com at Wed, 31 Aug 2016 10:14:33 +0000
Bug 1290467 - part4 : create helper function. MozReview-Commit-ID: AiyABlyDEME
ec96d017124940d1a25e527e439c49275b60cfbf: Bug 1290467 - part3 : mediaplayback tabevent draft
Alastor Wu <alwu@mozilla.com> - Wed, 31 Aug 2016 18:04:37 +0800 - rev 407928
Push 28094 by alwu@mozilla.com at Wed, 31 Aug 2016 10:14:33 +0000
Bug 1290467 - part3 : mediaplayback tabevent MozReview-Commit-ID: 8hZjC77Ju71
901ceafb8d02f0e33873d266c3c44831df465a28: Bug 1290467 - part2 : request audio focus for any media instead of audible one. draft
Alastor Wu <alwu@mozilla.com> - Wed, 31 Aug 2016 15:40:01 +0800 - rev 407927
Push 28094 by alwu@mozilla.com at Wed, 31 Aug 2016 10:14:33 +0000
Bug 1290467 - part2 : request audio focus for any media instead of audible one. MozReview-Commit-ID: 3eJP26h4kh7
1162f7e3b0b89f2d80afbcb55949371b1d6af7dd: Bug 1290467 - part1 : dispatch 'media-playback' event. draft
Alastor Wu <alwu@mozilla.com> - Wed, 31 Aug 2016 15:39:53 +0800 - rev 407926
Push 28094 by alwu@mozilla.com at Wed, 31 Aug 2016 10:14:33 +0000
Bug 1290467 - part1 : dispatch 'media-playback' event. MozReview-Commit-ID: D8SU96RrkbQ
(0) -300000 -100000 -30000 -10000 -3000 -1000 -300 -100 -50 -20 +20 +50 +100 +300 +1000 +3000 +10000 +30000 +100000 +300000 tip