WK1: Add initial support for immediate actions
[WebKit-https.git] / Source / WebKit / mac / ChangeLog
index 05e30d19bf4e8f66fdea1fc5750a19a2c2ffbfbc..1531e90682c59b6381f37b7cffc730f766df8cc4 100644 (file)
@@ -1,3 +1,36 @@
+2014-12-10  Beth Dakin  <bdakin@apple.com>
+
+        WK1: Add initial support for immediate actions
+        https://bugs.webkit.org/show_bug.cgi?id=139522
+
+        Reviewed by Dan Bernstein.
+
+        This basic implementation of the controller will use the delegate methods to 
+        perform and cache a HitTest when relevant. Future patches will patch 
+        _updateImmediateActionItem to use the HitTestResult to determine if there is any 
+        immediate action that should be taken.
+        * WebView/WebImmediateActionController.h: Added.
+        * WebView/WebImmediateActionController.mm: Added.
+        (-[WebImmediateActionController webViewClosed]):
+        (-[WebImmediateActionController _clearImmediateActionState]):
+        (-[WebImmediateActionController performHitTestAtPoint:]):
+        (-[WebImmediateActionController immediateActionRecognizerWillPrepare:]):
+        (-[WebImmediateActionController immediateActionRecognizerWillBeginAnimation:]):
+        (-[WebImmediateActionController immediateActionRecognizerDidCancelAnimation:]):
+        (-[WebImmediateActionController immediateActionRecognizerDidCompleteAnimation:]):
+        (-[WebImmediateActionController _updateImmediateActionItem]):
+
+        New enum for immediate action types.
+        * WebView/WebUIDelegatePrivate.h:
+
+        Create an NSImmediateActionGestureRecognizer if possible and a controller.
+        * WebView/WebView.mm:
+        (-[WebView _commonInitializationWithFrameName:groupName:]):
+        (-[WebView _close]):
+        * WebView/WebViewData.h:
+        * WebView/WebViewData.mm:
+        (-[WebViewPrivate dealloc]):
+
 2014-12-08  Anders Carlsson  <andersca@apple.com>
 
         Use the new storage namespace provider in WebKit1