From 8172b9ba46d142a0b1d7e341ac4010ec85ecdd04 Mon Sep 17 00:00:00 2001 From: Gavin Sharp Date: Mon, 6 Aug 2012 14:57:14 -0700 Subject: [PATCH] Bug 780702: fix nsIDOMWindowUtils comment by reordering some fullscreen methods, r=cpearce --- dom/interfaces/base/nsIDOMWindowUtils.idl | 47 +++++++++++------------ 1 file changed, 23 insertions(+), 24 deletions(-) diff --git a/dom/interfaces/base/nsIDOMWindowUtils.idl b/dom/interfaces/base/nsIDOMWindowUtils.idl index 1401a9be9f49..3eab8a8e0d04 100644 --- a/dom/interfaces/base/nsIDOMWindowUtils.idl +++ b/dom/interfaces/base/nsIDOMWindowUtils.idl @@ -752,7 +752,7 @@ interface nsIDOMWindowUtils : nsISupports { /** * 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, @@ -761,29 +761,6 @@ interface nsIDOMWindowUtils : nsISupports { 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 /** @@ -872,6 +849,28 @@ interface nsIDOMWindowUtils : nsISupports { */ 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. *