⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 181448 in webkit


Ignore:
Timestamp:
Mar 12, 2015, 12:26:20 PM (11 years ago)
Author:
enrica@apple.com
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:]):

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r181446 r181448  
     12015-03-11  Enrica Casucci  <enrica@apple.com>
     2
     3        Adopt new API for keyboard event handling.
     4        https://bugs.webkit.org/show_bug.cgi?id=142602
     5        rdar://problem/19966087
     6
     7        Reviewed by Sam Weinig.
     8
     9        Adopts the new API.
     10
     11        * UIProcess/ios/WKContentViewInteraction.mm:
     12        (-[WKContentView _didHandleKeyEvent:]):
     13
    1142015-03-12  Alexey Proskuryakov  <ap@apple.com>
    215
  • trunk/Source/WebKit2/UIProcess/ios/WKContentViewInteraction.mm

    r180967 r181448  
    188188@interface UIKeyboardImpl (StagingToRemove)
    189189- (void)didHandleWebKeyEvent;
     190- (void)didHandleWebKeyEvent:(WebIOSEvent *)event;
    190191- (void)deleteFromInputWithFlags:(NSUInteger)flags;
    191192@end
     
    24162417    if (event.type == WebEventKeyDown) {
    24172418        // FIXME: This is only for staging purposes.
    2418         if ([[UIKeyboardImpl sharedInstance] respondsToSelector:@selector(didHandleWebKeyEvent)])
     2419        if ([[UIKeyboardImpl sharedInstance] respondsToSelector:@selector(didHandleWebKeyEvent:)])
     2420            [[UIKeyboardImpl sharedInstance] didHandleWebKeyEvent:event];
     2421        else
    24192422            [[UIKeyboardImpl sharedInstance] didHandleWebKeyEvent];
    24202423    }
Note: See TracChangeset for help on using the changeset viewer.