Reviewed and landed by Sam Weinig.
[WebKit-https.git] / Source / WebKit2 / ChangeLog
index ac54bc3..a004b68 100644 (file)
@@ -1,3 +1,39 @@
+2011-02-13  Chris Fleizach  <cfleizach@apple.com>
+
+        Reviewed and landed by Sam Weinig.
+
+        AX: Update WK2 usage of remote accessibility api
+        https://bugs.webkit.org/show_bug.cgi?id=54220
+
+        Rename some of the remote accessibility methods to be more accurate.
+        Make sure to unregister the AccessibilityWebPageObject on dealloc.
+        Send the window remote token along with the WKView remote token.
+
+        * UIProcess/API/mac/PageClientImpl.h:
+        * UIProcess/API/mac/PageClientImpl.mm:
+        (WebKit::PageClientImpl::accessibilityWebProcessTokenReceived):
+        * UIProcess/API/mac/WKView.mm:
+        (-[WKView _updateRemoteAccessibilityRegistration:]):
+        (-[WKView initWithFrame:contextRef:pageGroupRef:]):
+        (-[WKView viewDidMoveToWindow]):
+        (-[WKView _processDidCrash]):
+        (-[WKView _pageClosed]):
+        (-[WKView _setAccessibilityWebProcessToken:]):
+        * UIProcess/API/mac/WKViewInternal.h:
+        * UIProcess/PageClient.h:
+        * UIProcess/WebPageProxy.cpp:
+        (WebKit::WebPageProxy::registerWebProcessAccessibilityToken):
+        (WebKit::WebPageProxy::registerUIProcessAccessibilityTokens):
+        * UIProcess/WebPageProxy.h:
+        * UIProcess/WebPageProxy.messages.in:
+        * WebProcess/WebPage/WebPage.h:
+        * WebProcess/WebPage/WebPage.messages.in:
+        * WebProcess/WebPage/mac/AccessibilityWebPageObject.mm:
+        (-[AccessibilityWebPageObject dealloc]):
+        * WebProcess/WebPage/mac/WebPageMac.mm:
+        (WebKit::WebPage::platformInitialize):
+        (WebKit::WebPage::registerUIProcessAccessibilityTokens):
+
 2011-02-11  Alexey Proskuryakov  <ap@apple.com>
 
         Reviewed by Anders Carlsson.