Reviewed by Eric Carlson.
WebKit2: Initialize the WebFullScreenManagerProxy with a WKView
https://bugs.webkit.org/show_bug.cgi?id=56250
* UIProcess/API/mac/WKView.mm:
(-[WKView initWithFrame:contextRef:pageGroupRef:]): Call fullScreenManager()->setView(self).
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80941
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2011-03-12 Jer Noble <jer.noble@apple.com>
+
+ Reviewed by Eric Carlson.
+
+ WebKit2: Initialize the WebFullScreenManagerProxy with a WKView
+ https://bugs.webkit.org/show_bug.cgi?id=56250
+
+ * UIProcess/API/mac/WKView.mm:
+ (-[WKView initWithFrame:contextRef:pageGroupRef:]): Call fullScreenManager()->setView(self).
+
2011-03-11 Jer Noble <jer.noble@apple.com>
Reviewed by Anders Carlsson.
#import "WKViewPrivate.h"
#import "WebContext.h"
#import "WebEventFactory.h"
+#import "WebFullScreenManagerProxy.h"
#import "WebPage.h"
#import "WebPageProxy.h"
#import "WebProcessProxy.h"
_data->_pageClient = PageClientImpl::create(self);
_data->_page = toImpl(contextRef)->createWebPage(_data->_pageClient.get(), toImpl(pageGroupRef));
_data->_page->initializeWebPage();
+#if ENABLE(FULLSCREEN_API)
+ _data->_page->fullScreenManager()->setWebView(self);
+#endif
_data->_mouseDownEvent = nil;
_data->_ignoringMouseDraggedEvents = NO;