Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1366)

Unified Diff: Tools/DumpRenderTree/mac/UIDelegate.mm

Issue 9950115: Revert 111028 - Support W3C Full Screen API proposal (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1084/
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/WebKit2/WebProcess/FullScreen/WebFullScreenManager.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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");
« no previous file with comments | « Source/WebKit2/WebProcess/FullScreen/WebFullScreenManager.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698