зеркало из https://github.com/mozilla/gecko-dev.git
Bug 848939 - De-field videocontrols.xml. r=jaws,dao
This commit is contained in:
Родитель
20950ece42
Коммит
72afd16e3e
|
@ -26,7 +26,6 @@
|
|||
</xbl:content>
|
||||
<implementation>
|
||||
|
||||
<field name="timeLabel">null</field>
|
||||
<constructor>
|
||||
<![CDATA[
|
||||
this.timeLabel = document.getAnonymousElementByAttribute(this, "class", "timeLabel");
|
||||
|
@ -99,18 +98,14 @@
|
|||
</getter>
|
||||
</property>
|
||||
|
||||
<!-- Public -->
|
||||
<field name="scrubberNameFormat">"&scrubberScale.nameFormat;"</field>
|
||||
<field name="durationValue">""</field>
|
||||
|
||||
<field name="thumb">null</field>
|
||||
<field name="valueBar">null</field>
|
||||
<field name="isDragging">false</field>
|
||||
<field name="wasPausedBeforeDrag">true</field>
|
||||
<field name="type">null</field>
|
||||
<field name="Utils">null</field>
|
||||
<constructor>
|
||||
<![CDATA[
|
||||
this.scrubberNameFormat = ]]>"&scrubberScale.nameFormat;"<![CDATA[;
|
||||
this.durationValue = "";
|
||||
this.valueBar = null;
|
||||
this.isDragging = false;
|
||||
this.wasPausedBeforeDrag = true;
|
||||
|
||||
this.thumb = document.getAnonymousElementByAttribute(this, "class", "scale-thumb");
|
||||
this.type = this.getAttribute("class");
|
||||
this.Utils = document.getBindingParent(this.parentNode).Utils;
|
||||
|
@ -312,14 +307,9 @@
|
|||
|
||||
<constructor>
|
||||
<![CDATA[
|
||||
this.Utils.init(this);
|
||||
]]>
|
||||
</constructor>
|
||||
|
||||
<field name="randomID">0</field>
|
||||
|
||||
<field name="Utils">
|
||||
<![CDATA[ ({
|
||||
this.isTouchControl = false;
|
||||
this.randomID = 0;
|
||||
this.Utils = {
|
||||
debug : false,
|
||||
video : null,
|
||||
videocontrols : null,
|
||||
|
@ -1436,10 +1426,10 @@
|
|||
|
||||
this.log("--- videocontrols initialized ---");
|
||||
}
|
||||
}) ]]>
|
||||
</field>
|
||||
|
||||
<field readonly="true" name="isTouchControl">false</field>
|
||||
};
|
||||
this.Utils.init(this);
|
||||
]]>
|
||||
</constructor>
|
||||
|
||||
</implementation>
|
||||
|
||||
|
@ -1513,9 +1503,8 @@
|
|||
|
||||
<implementation>
|
||||
|
||||
<field readonly="true" name="isTouchControl">true</field>
|
||||
|
||||
<constructor>
|
||||
this.isTouchControl = true;
|
||||
this.TouchUtils.init(this);
|
||||
</constructor>
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче