Bug 1038635 - Zoom doesn't work in the email composer. r=Neil, a=sledru
authorMagnus Melin <mkmelin+mozilla@iki.fi>
Fri, 18 Jul 2014 13:02:14 +0300
changeset 208167 f9b0de65c69d
parent 208166 fe0621be0dc3
child 208168 2339e39f5ff4
push id3753
push userryanvm@gmail.com
push date2014-07-28 14:29 +0000
treeherdermozilla-beta@ecfc5bee1685 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersNeil, sledru
bugs1038635
milestone32.0
Bug 1038635 - Zoom doesn't work in the email composer. r=Neil, a=sledru
toolkit/content/widgets/editor.xml
--- a/toolkit/content/widgets/editor.xml
+++ b/toolkit/content/widgets/editor.xml
@@ -150,13 +150,22 @@
                 readonly="true"
                 onget="return this.docShell.contentViewer.QueryInterface(Components.interfaces.nsIMarkupDocumentViewer);"/>
       <property name="editingSession"
                 readonly="true"
                 onget="return this.webNavigation.QueryInterface(Components.interfaces.nsIInterfaceRequestor).getInterface(Components.interfaces.nsIEditingSession);"/>
       <property name="commandManager"
                 readonly="true"
                 onget="return this.webNavigation.QueryInterface(Components.interfaces.nsIInterfaceRequestor).getInterface(Components.interfaces.nsICommandManager);"/>
+      <property name="fullZoom"
+                onget="return this.markupDocumentViewer.fullZoom;"
+                onset="this.markupDocumentViewer.fullZoom = val;"/>
+      <property name="textZoom"
+                onget="return this.markupDocumentViewer.textZoom;"
+                onset="this.markupDocumentViewer.textZoom = val;"/>
+      <property name="isSyntheticDocument"
+                onget="return this.contentDocument.isSyntheticDocument;"
+                readonly="true"/>
     </implementation>
   </binding>
 
 </bindings>