Changeset 240514 in webkit


Ignore:
Timestamp:
Jan 25, 2019 3:12:43 PM (5 years ago)
Author:
dbates@webkit.org
Message:

[iOS] Pressing Tab key doesn't move to next cell with Google Sheets
https://bugs.webkit.org/show_bug.cgi?id=193048
<rdar://problem/46433836>

Reviewed by Brent Fulgham.

WebCore knows how interpret the Tab and Shift + Tab keys. When building with UIKit keyboard additions
we do not need to register key commands for handling them from the UIProcess code. Instead UIKit will
sends key events for these commands to us. This will make the behavior of these key commands when executed
in an editable field match the behavior of these command when executed in a non-editable field since
both code paths will now go through WebCore.

  • UIProcess/ios/WKContentViewInteraction.mm:

(-[WKContentView keyCommands]): Only compile when building with !USE(UIKIT_KEYBOARD_ADDITIONS).

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r240513 r240514  
     12019-01-25  Daniel Bates  <dabates@apple.com>
     2
     3        [iOS] Pressing Tab key doesn't move to next cell with Google Sheets
     4        https://bugs.webkit.org/show_bug.cgi?id=193048
     5        <rdar://problem/46433836>
     6
     7        Reviewed by Brent Fulgham.
     8
     9        WebCore knows how interpret the Tab and Shift + Tab keys. When building with UIKit keyboard additions
     10        we do not need to register key commands for handling them from the UIProcess code. Instead UIKit will
     11        sends key events for these commands to us. This will make the behavior of these key commands when executed
     12        in an editable field match the behavior of these command when executed in a non-editable field since
     13        both code paths will now go through WebCore.
     14
     15        * UIProcess/ios/WKContentViewInteraction.mm:
     16        (-[WKContentView keyCommands]): Only compile when building with !USE(UIKIT_KEYBOARD_ADDITIONS).
     17
    1182019-01-25  Alex Christensen  <achristensen@webkit.org>
    219
  • trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm

    r240497 r240514  
    33073307}
    33083308
     3309#if !USE(UIKIT_KEYBOARD_ADDITIONS)
    33093310- (NSArray *)keyCommands
    33103311{
     
    33183319    return editableKeyCommands;
    33193320}
     3321#endif
    33203322
    33213323- (void)_nextAccessoryTabForWebView:(id)sender
Note: See TracChangeset for help on using the changeset viewer.