Bug 1326445 - Remove Gonk specific video controls. r=jaws

MozReview-Commit-ID: 75Ui045M21V

--HG--
extra : rebase_source : a04bffedb153ad5ef37f15145695a8bf79c09c44
This commit is contained in:
J. Ryan Stinnett 2016-12-30 12:18:44 -06:00
Родитель 560afd3f8e
Коммит 3ab5230464
2 изменённых файлов: 2 добавлений и 17 удалений

Просмотреть файл

@ -95,7 +95,7 @@ xul|scrollbarbutton {
%ifndef MOZ_GRAPHENE
/* -moz-touch-enabled? media elements */
:-moz-any(video, audio) > xul|videocontrols {
-moz-binding: url("chrome://global/content/bindings/videocontrols.xml#touchControlsGonk");
-moz-binding: url("chrome://global/content/bindings/videocontrols.xml#touchControls");
}
select:not([size]):not([multiple]) > xul|scrollbar,

Просмотреть файл

@ -860,14 +860,7 @@
seekToPosition(newPosition) {
newPosition /= 1000; // convert from ms
this.log("+++ seeking to " + newPosition);
if (this.videocontrols.isGonk) {
// We use fastSeek() on B2G, and an accurate (but slower)
// seek on other platforms (that are likely to be higher
// perf).
this.video.fastSeek(newPosition);
} else {
this.video.currentTime = newPosition;
}
this.video.currentTime = newPosition;
},
setVolume(newVolume) {
@ -2050,14 +2043,6 @@
</binding>
<binding id="touchControlsGonk" extends="chrome://global/content/bindings/videocontrols.xml#touchControls">
<implementation>
<constructor>
this.isGonk = true;
</constructor>
</implementation>
</binding>
<binding id="noControls">
<resources>