Index: Tools/DumpRenderTree/mac/UIDelegate.mm |
=================================================================== |
--- Tools/DumpRenderTree/mac/UIDelegate.mm (revision 113078) |
+++ Tools/DumpRenderTree/mac/UIDelegate.mm (working copy) |
@@ -252,28 +252,18 @@ |
return YES; |
} |
-- (void)enterFullScreenWithListener:(NSObject<WebKitFullScreenListener>*)listener |
+- (void)webView:(WebView *)webView enterFullScreenForElement:(DOMElement*)element listener:(NSObject<WebKitFullScreenListener>*)listener |
{ |
[listener webkitWillEnterFullScreen]; |
[listener webkitDidEnterFullScreen]; |
} |
-- (void)webView:(WebView *)webView enterFullScreenForElement:(DOMElement*)element listener:(NSObject<WebKitFullScreenListener>*)listener |
+- (void)webView:(WebView *)webView exitFullScreenForElement:(DOMElement*)element listener:(NSObject<WebKitFullScreenListener>*)listener |
{ |
- [self performSelector:@selector(enterFullScreenWithListener:) withObject:listener afterDelay:0]; |
-} |
- |
-- (void)exitFullScreenWithListener:(NSObject<WebKitFullScreenListener>*)listener |
-{ |
[listener webkitWillExitFullScreen]; |
[listener webkitDidExitFullScreen]; |
} |
-- (void)webView:(WebView *)webView exitFullScreenForElement:(DOMElement*)element listener:(NSObject<WebKitFullScreenListener>*)listener |
-{ |
- [self performSelector:@selector(exitFullScreenWithListener:) withObject:listener afterDelay:0]; |
-} |
- |
- (BOOL)webView:(WebView *)webView didPressMissingPluginButton:(DOMElement *)element |
{ |
printf("MISSING PLUGIN BUTTON PRESSED\n"); |