Title: [181448] trunk/Source/WebKit2
- Revision
- 181448
- Author
- [email protected]
- Date
- 2015-03-12 12:26:20 -0700 (Thu, 12 Mar 2015)
Log Message
Adopt new API for keyboard event handling.
https://bugs.webkit.org/show_bug.cgi?id=142602
rdar://problem/19966087
Reviewed by Sam Weinig.
Adopts the new API.
* UIProcess/ios/WKContentViewInteraction.mm:
(-[WKContentView _didHandleKeyEvent:]):
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (181447 => 181448)
--- trunk/Source/WebKit2/ChangeLog 2015-03-12 19:13:49 UTC (rev 181447)
+++ trunk/Source/WebKit2/ChangeLog 2015-03-12 19:26:20 UTC (rev 181448)
@@ -1,3 +1,16 @@
+2015-03-11 Enrica Casucci <[email protected]>
+
+ Adopt new API for keyboard event handling.
+ https://bugs.webkit.org/show_bug.cgi?id=142602
+ rdar://problem/19966087
+
+ Reviewed by Sam Weinig.
+
+ Adopts the new API.
+
+ * UIProcess/ios/WKContentViewInteraction.mm:
+ (-[WKContentView _didHandleKeyEvent:]):
+
2015-03-12 Alexey Proskuryakov <[email protected]>
testRunner.setAlwaysAcceptCookies does not work with NetworkProcess
Modified: trunk/Source/WebKit2/UIProcess/ios/WKContentViewInteraction.mm (181447 => 181448)
--- trunk/Source/WebKit2/UIProcess/ios/WKContentViewInteraction.mm 2015-03-12 19:13:49 UTC (rev 181447)
+++ trunk/Source/WebKit2/UIProcess/ios/WKContentViewInteraction.mm 2015-03-12 19:26:20 UTC (rev 181448)
@@ -187,6 +187,7 @@
@interface UIKeyboardImpl (StagingToRemove)
- (void)didHandleWebKeyEvent;
+- (void)didHandleWebKeyEvent:(WebIOSEvent *)event;
- (void)deleteFromInputWithFlags:(NSUInteger)flags;
@end
@@ -2415,7 +2416,9 @@
{
if (event.type == WebEventKeyDown) {
// FIXME: This is only for staging purposes.
- if ([[UIKeyboardImpl sharedInstance] respondsToSelector:@selector(didHandleWebKeyEvent)])
+ if ([[UIKeyboardImpl sharedInstance] respondsToSelector:@selector(didHandleWebKeyEvent:)])
+ [[UIKeyboardImpl sharedInstance] didHandleWebKeyEvent:event];
+ else
[[UIKeyboardImpl sharedInstance] didHandleWebKeyEvent];
}
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes