Bug 780702: fix nsIDOMWindowUtils comment by reordering some fullscreen methods, r=cpearce
authorGavin Sharp <gavin@gavinsharp.com>
Mon, 06 Aug 2012 14:57:14 -0700
changeset 101607 5e1f90ff980e77abac85e63b27442a8967a8bee8
parent 101606 0bd439a357b7ac44658a78e32488690df311edbb
child 101608 1184b44427558170230db9ac7d58b8bb345c36c7
push id23245
push useremorley@mozilla.com
push dateTue, 07 Aug 2012 13:39:24 +0000
treeherdermozilla-central@2637d896de91 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerscpearce
bugs780702
milestone17.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 780702: fix nsIDOMWindowUtils comment by reordering some fullscreen methods, r=cpearce
dom/interfaces/base/nsIDOMWindowUtils.idl
--- a/dom/interfaces/base/nsIDOMWindowUtils.idl
+++ b/dom/interfaces/base/nsIDOMWindowUtils.idl
@@ -747,48 +747,25 @@ interface nsIDOMWindowUtils : nsISupport
                      in long aThirdClauseLength,
                      in unsigned long aThirdClauseAttr,
                      in long aCaretStart,
                      in long aCaretLength);
 
   /**
    * Synthesize a query content event.
    *
-   * @param aType  On of the following const values.  And see also each comment
+   * @param aType  One of the following const values.  And see also each comment
    *               for the other parameters and the result.
    */
   nsIQueryContentEventResult sendQueryContentEvent(in unsigned long aType,
                                                    in unsigned long aOffset,
                                                    in unsigned long aLength,
                                                    in long aX,
                                                    in long aY);
 
-
-  /**
-   * Called when the remote child frame has changed its fullscreen state,
-   * when entering fullscreen, and when the origin which is fullscreen changes.
-   * aFrameElement is the iframe element which contains the child-process
-   * fullscreen document, and aNewOrigin is the origin of the new fullscreen
-   * document.
-   */
-  void remoteFrameFullscreenChanged(in nsIDOMElement aFrameElement,
-                                    in AString aNewOrigin);
-
-  /**
-   * Called when the remote frame has popped all fullscreen elements off its
-   * stack, so that the operation can complete on the parent side.
-   */
-  void remoteFrameFullscreenReverted();
-
-  /**
-   * Called when the child frame has fully exit fullscreen, so that the parent
-   * process can also fully exit.
-   */
-  void exitFullscreen();
-
   // NOTE: following values are same as NS_QUERY_* in nsGUIEvent.h
 
   /**
    * QUERY_SELECTED_TEXT queries the first selection range's information.
    *
    * @param aOffset   Not used.
    * @param aLength   Not used.
    * @param aX        Not used.
@@ -868,16 +845,38 @@ interface nsIDOMWindowUtils : nsISupport
    * @param aY        Y offset in the widget.
    *
    * @return offset, notFound, left, top, width and height properties of the
    *         result are available.
    */
   const unsigned long QUERY_CHARACTER_AT_POINT                  = 3208;
 
   /**
+   * Called when the remote child frame has changed its fullscreen state,
+   * when entering fullscreen, and when the origin which is fullscreen changes.
+   * aFrameElement is the iframe element which contains the child-process
+   * fullscreen document, and aNewOrigin is the origin of the new fullscreen
+   * document.
+   */
+  void remoteFrameFullscreenChanged(in nsIDOMElement aFrameElement,
+                                    in AString aNewOrigin);
+
+  /**
+   * Called when the remote frame has popped all fullscreen elements off its
+   * stack, so that the operation can complete on the parent side.
+   */
+  void remoteFrameFullscreenReverted();
+
+  /**
+   * Called when the child frame has fully exit fullscreen, so that the parent
+   * process can also fully exit.
+   */
+  void exitFullscreen();
+
+  /**
    * Synthesize a selection set event to the window.
    *
    * This sets the selection as the specified information.
    *
    * @param aOffset  The caret offset of the selection start.
    * @param aLength  The length of the selection.  If this is too long, the
    *                 extra length is ignored.
    * @param aReverse If true, the selection set from |aOffset + aLength| to