Bug 780702: fix nsIDOMWindowUtils comment by reordering some fullscreen methods, r=cpearce

This commit is contained in:
Gavin Sharp 2012-08-06 14:57:14 -07:00
parent aadd1398e2
commit ba4f776c38

View File

@ -752,7 +752,7 @@ interface nsIDOMWindowUtils : nsISupports {
/** /**
* Synthesize a query content event. * 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. * for the other parameters and the result.
*/ */
nsIQueryContentEventResult sendQueryContentEvent(in unsigned long aType, nsIQueryContentEventResult sendQueryContentEvent(in unsigned long aType,
@ -761,29 +761,6 @@ interface nsIDOMWindowUtils : nsISupports {
in long aX, in long aX,
in long aY); 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 // 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; 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. * Synthesize a selection set event to the window.
* *