89895f4c1d344b1dbdd2267294dcc82e3b296279: Bug 1338137 - part2 : remove function IsServiceStarted(). draft
Alastor Wu <alwu@mozilla.com> - Thu, 02 Mar 2017 17:17:34 +0800 - rev 491815
Push 47425 by alwu@mozilla.com at Thu, 02 Mar 2017 09:18:05 +0000
Bug 1338137 - part2 : remove function IsServiceStarted(). The reason we introduced the IsServiceStarted(), check bug1338466 comment5 for more details. The patch1 introduces more robust way to check the alive media component, so we can remove IsServiceStarted(). MozReview-Commit-ID: LIma8hZTuhA
f1517de576d4d34c5496b943ad7195fd3c12e141: Bug 1338137 - link media content to document whenever the media element bind or unbind from tree. draft
Alastor Wu <alwu@mozilla.com> - Thu, 02 Mar 2017 17:17:31 +0800 - rev 491814
Push 47425 by alwu@mozilla.com at Thu, 02 Mar 2017 09:18:05 +0000
Bug 1338137 - link media content to document whenever the media element bind or unbind from tree. In bug1319771, we found that the tab would become visible unexpectly in short period in some situations. We don't want to reusme the tab in this kind of situation, so we check whether there is any alive media component in the tab using IsServiceStarted(). However, since we have lots different ways to create the service, this function is not accurate at all. Therefore, we can add media element directly to the document when it binds to tree so that we can really know whether there is any alive media component. MozReview-Commit-ID: FvZFg91IqgE
aecdffe13ade75c6da4eed6d3b46f0aa822cd90e: Bug 1338137 - link media content to document whenever the media element bind or unbind from tree. draft
Alastor Wu <alwu@mozilla.com> - Thu, 02 Mar 2017 16:50:10 +0800 - rev 491813
Push 47424 by alwu@mozilla.com at Thu, 02 Mar 2017 08:50:47 +0000
Bug 1338137 - link media content to document whenever the media element bind or unbind from tree. MozReview-Commit-ID: FvZFg91IqgE
4f1e1ce6ad21e6f12c5324dcd5ff9e8abc628c13: Bug 1342303 part 6 - Remove nsCOMArray::Enumerate{Forwards,Backwards}. r=erahm draft
Xidorn Quan <me@upsuper.org> - Fri, 24 Feb 2017 21:37:07 +1100 - rev 491812
Push 47423 by xquan@mozilla.com at Thu, 02 Mar 2017 08:49:10 +0000
Bug 1342303 part 6 - Remove nsCOMArray::Enumerate{Forwards,Backwards}. r=erahm MozReview-Commit-ID: GLappWGZdtz
586f8c0e4836f8920d1d0419ed2d94e5f69f59d6: Bug 1342303 part 5 - Remove nsCOMArray::EnumerateForwards uses in xpfe. r=erahm draft
Xidorn Quan <me@upsuper.org> - Fri, 24 Feb 2017 22:01:42 +1100 - rev 491811
Push 47423 by xquan@mozilla.com at Thu, 02 Mar 2017 08:49:10 +0000
Bug 1342303 part 5 - Remove nsCOMArray::EnumerateForwards uses in xpfe. r=erahm MozReview-Commit-ID: j8csvjSYUM
9fd5291f22b9635d69515d0c7ef9d6236de42ed0: Bug 1342303 part 4 - Remove nsCOMArray::EnumerateForwards uses in layout/style. r=heycam draft
Xidorn Quan <me@upsuper.org> - Mon, 27 Feb 2017 10:45:45 +1100 - rev 491810
Push 47423 by xquan@mozilla.com at Thu, 02 Mar 2017 08:49:10 +0000
Bug 1342303 part 4 - Remove nsCOMArray::EnumerateForwards uses in layout/style. r=heycam MozReview-Commit-ID: UjIZgeWRwh
2733a9e5c99d0e392ed1cf278707e213f3452107: Bug 1342303 part 3 - Remove nsCOMArray::EnumerateForwards uses in docshell. r=smaug draft
Xidorn Quan <me@upsuper.org> - Fri, 24 Feb 2017 21:32:20 +1100 - rev 491809
Push 47423 by xquan@mozilla.com at Thu, 02 Mar 2017 08:49:10 +0000
Bug 1342303 part 3 - Remove nsCOMArray::EnumerateForwards uses in docshell. r=smaug MozReview-Commit-ID: FJen0p0c54u
f9b2050ba67eab12abb2c6f0bf2d6ab648d357ee: Bug 1342303 part 2 - Add range-based for loop support to nsCOMArray. r=erahm draft
Xidorn Quan <me@upsuper.org> - Fri, 24 Feb 2017 21:31:15 +1100 - rev 491808
Push 47423 by xquan@mozilla.com at Thu, 02 Mar 2017 08:49:10 +0000
Bug 1342303 part 2 - Add range-based for loop support to nsCOMArray. r=erahm MozReview-Commit-ID: 7T8Z0PVg2ex
f5ee1dba93ced315a0bb0aaaeca06f0f38284cf9: Bug 1342303 part 1 - Make nsTArrayIterator an independent class. r?erahm draft
Xidorn Quan <me@upsuper.org> - Fri, 24 Feb 2017 16:14:06 +1100 - rev 491807
Push 47423 by xquan@mozilla.com at Thu, 02 Mar 2017 08:49:10 +0000
Bug 1342303 part 1 - Make nsTArrayIterator an independent class. r?erahm MozReview-Commit-ID: LbkIGEH0Irl
29dcc5c6807852c1b3a5874c610bd477a81f73f6: mybase draft
Xidorn Quan <quanxunzhen@gmail.com> - Wed, 04 Feb 2015 08:24:16 +1100 - rev 491806
Push 47423 by xquan@mozilla.com at Thu, 02 Mar 2017 08:49:10 +0000
mybase MozReview-Commit-ID: AIse40brXhE
1a64e8eca439d69e7dfd1d2458aa8fa02d4aeaea: Add/remove media content. draft
Alastor Wu <alwu@mozilla.com> - Thu, 02 Mar 2017 16:43:16 +0800 - rev 491805
Push 47422 by alwu@mozilla.com at Thu, 02 Mar 2017 08:48:51 +0000
Add/remove media content. MozReview-Commit-ID: 9sEbiUoyfPB * * * Bug 1338137 - link media content to document whenever the media element bind or unbind from tree. MozReview-Commit-ID: FvZFg91IqgE
53c78a5a2c98442926fbfbcb1d294e18023a157b: Bug 1343465 - part3 : move support files to the default area. draft
Alastor Wu <alwu@mozilla.com> - Thu, 02 Mar 2017 16:34:44 +0800 - rev 491804
Push 47422 by alwu@mozilla.com at Thu, 02 Mar 2017 08:48:51 +0000
Bug 1343465 - part3 : move support files to the default area. MozReview-Commit-ID: CNFUwjxpTbm
0d83ce41aab862b0f631ffcc2a9e5ce2c3f3c87f: Bug 1343465 - part2 : add test. draft
Alastor Wu <alwu@mozilla.com> - Thu, 02 Mar 2017 14:36:13 +0800 - rev 491803
Push 47422 by alwu@mozilla.com at Thu, 02 Mar 2017 08:48:51 +0000
Bug 1343465 - part2 : add test. MozReview-Commit-ID: HypzfD053xW
b2d507c4a83ff47a67f7045715fcebaa95b215cf: Bug 1343465 - part1 : check audio track to decide the audible state when the media element was muted. draft
Alastor Wu <alwu@mozilla.com> - Thu, 02 Mar 2017 14:36:11 +0800 - rev 491802
Push 47422 by alwu@mozilla.com at Thu, 02 Mar 2017 08:48:51 +0000
Bug 1343465 - part1 : check audio track to decide the audible state when the media element was muted. If the media starts after muting the tab, IsOwnerAudible() would always return "eNotAudible". It causes that the "play tab" icon can't be displayed because we only show the "play tab" icon for the "eMaybeAudible" or "eAudible". We should check whether owner owns the audio track to decide the return value. MozReview-Commit-ID: DGwkArx0a4R
f729e02ea9ab4cf13b94f031d99fc47e4e3fd50c: Bug 1315937 - Add custom items to menu of CustomTabsActivity draft
Julian_Chu <walkingice0204@gmail.com> - Thu, 02 Mar 2017 14:55:08 +0800 - rev 491801
Push 47421 by bmo:walkingice0204@gmail.com at Thu, 02 Mar 2017 08:30:50 +0000
Bug 1315937 - Add custom items to menu of CustomTabsActivity If 3rd-party app provides any custom menu items, add them to PopupMenu and handle corresponding pending intent. MozReview-Commit-ID: 5STg49hsCWF
39fb636aad87dec68cfd43f19aa08009d95487a3: Bug 1315937 - Util class can extract data for MenuItem from an Intent draft
Julian_Chu <walkingice0204@gmail.com> - Fri, 10 Feb 2017 17:34:54 +0800 - rev 491800
Push 47421 by bmo:walkingice0204@gmail.com at Thu, 02 Mar 2017 08:30:50 +0000
Bug 1315937 - Util class can extract data for MenuItem from an Intent CustomTab should build MenuItem base on data from 3rd-part app. The data is embedded into an Intent. Let Util class could extract it. MozReview-Commit-ID: IW5K4Fzl9bm
b08c41e0895d834c66f0fef54a3c300b1f911915: Bug 1315937 - Add basic custom menu to CustomTabsActivity draft
Julian_Chu <walkingice0204@gmail.com> - Wed, 01 Mar 2017 13:42:10 +0800 - rev 491799
Push 47421 by bmo:walkingice0204@gmail.com at Thu, 02 Mar 2017 08:30:50 +0000
Bug 1315937 - Add basic custom menu to CustomTabsActivity Besides custom-menu-items from 3-rd party apps, we designed a custom menu which always has * buttons for Forward, Reload * One menu item for 'Open by Firefox' * a footer 'Powered by Firefox' This patch adds a button as an anchor to standard menu. Once user click it, to show a custom menu (GeckoPopupMenu) base on the anchor. In current design, there is only one style for menu, regardless of Dark or Light theme. MozReview-Commit-ID: 5RMiGDlxLTU
965756b1bbb03414b69a04b4beb1179884b34411: Bug 1315937 - add theme to CustomTabsActivity draft
Julian_Chu <walkingice0204@gmail.com> - Wed, 01 Mar 2017 11:43:35 +0800 - rev 491798
Push 47421 by bmo:walkingice0204@gmail.com at Thu, 02 Mar 2017 08:30:50 +0000
Bug 1315937 - add theme to CustomTabsActivity CustomTabsActivity is usually be used by 3rd-party apps. Its look and feel is usually different from GeckoApp. To give separated themes to ensure any change to CustomTabs won't effect GeckoApp. MozReview-Commit-ID: 7aBnnPXv3nQ
f27d1e685d54f9c882fba3891985b251a975ab3e: Bug 1315937 - Only create option menu items once. draft
Julian_Chu <walkingice0204@gmail.com> - Thu, 23 Feb 2017 18:42:18 +0800 - rev 491797
Push 47421 by bmo:walkingice0204@gmail.com at Thu, 02 Mar 2017 08:30:50 +0000
Bug 1315937 - Only create option menu items once. Menu items in CustomTabsActivity are static. Not necessary to create items several times. However `onPrepareOptionsMenu()` will be called before menu is shown. Cannot use `onCreateOptionsMenu()` due to GeckoApp overwrited `onCreatePanelMenu()` and pass different instance to sub-class. Since CustomTabsActivity does not use custom menu, just overwrite `onCreatePanelMenu()` should be safe. MozReview-Commit-ID: 2oTN85GurqS
44bd28a4e6a1d513622c20da7f5dc13d27e5ab18: Bug 1343749. Part 2 - remove the calls to SimpleTest.requestLongerTimeout() when MediaTestManager is used. draft
JW Wang <jwwang@mozilla.com> - Thu, 02 Mar 2017 15:00:04 +0800 - rev 491796
Push 47420 by jwwang@mozilla.com at Thu, 02 Mar 2017 08:13:52 +0000
Bug 1343749. Part 2 - remove the calls to SimpleTest.requestLongerTimeout() when MediaTestManager is used. MozReview-Commit-ID: 4wCoA5C70Pu
(0) -300000 -100000 -30000 -10000 -3000 -1000 -300 -100 -50 -20 +20 +50 +100 +300 +1000 +3000 +10000 +30000 +100000 +300000 tip