Bug 848939 - De-field videocontrols.xml. r=jaws,dao

This commit is contained in:
Bobby Holley 2013-03-13 10:01:36 -07:00
parent 37f250f86a
commit a5568bb803

View File

@ -26,7 +26,6 @@
</xbl:content> </xbl:content>
<implementation> <implementation>
<field name="timeLabel">null</field>
<constructor> <constructor>
<![CDATA[ <![CDATA[
this.timeLabel = document.getAnonymousElementByAttribute(this, "class", "timeLabel"); this.timeLabel = document.getAnonymousElementByAttribute(this, "class", "timeLabel");
@ -99,18 +98,14 @@
</getter> </getter>
</property> </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> <constructor>
<![CDATA[ <![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.thumb = document.getAnonymousElementByAttribute(this, "class", "scale-thumb");
this.type = this.getAttribute("class"); this.type = this.getAttribute("class");
this.Utils = document.getBindingParent(this.parentNode).Utils; this.Utils = document.getBindingParent(this.parentNode).Utils;
@ -312,14 +307,9 @@
<constructor> <constructor>
<![CDATA[ <![CDATA[
this.Utils.init(this); this.isTouchControl = false;
]]> this.randomID = 0;
</constructor> this.Utils = {
<field name="randomID">0</field>
<field name="Utils">
<![CDATA[ ({
debug : false, debug : false,
video : null, video : null,
videocontrols : null, videocontrols : null,
@ -1436,10 +1426,10 @@
this.log("--- videocontrols initialized ---"); this.log("--- videocontrols initialized ---");
} }
}) ]]> };
</field> this.Utils.init(this);
]]>
<field readonly="true" name="isTouchControl">false</field> </constructor>
</implementation> </implementation>
@ -1513,9 +1503,8 @@
<implementation> <implementation>
<field readonly="true" name="isTouchControl">true</field>
<constructor> <constructor>
this.isTouchControl = true;
this.TouchUtils.init(this); this.TouchUtils.init(this);
</constructor> </constructor>