Add convenience methods for full screen.

This commit is contained in:
Ross Boucher committed 2009-02-09 23:34:49 -08:00
1 parent 3f410ea688
commit 48fb8f00ca
1 file changed
+17
+17
View File
@@ -874,6 +874,15 @@ var DOMElementPrototype = nil,
}
// Fullscreen Mode
/*!
Puts the receiver into full screen mode.
*/
- (BOOL)enterFullScreenMode
{
return [self enterFullScreenMode:nil withOptions:nil];
}
/*!
Puts the receiver into full screen mode.
@param aScreen the that should be used
@@ -905,6 +914,14 @@ var DOMElementPrototype = nil,
return YES;
}
/*!
The receiver should exit full screen mode.
*/
- (void)exitFullScreenMode
{
[self exitFullScreenModeWithOptions:nil];
}
/*!
The receiver should exit full screen mode.
@param options configurations options