Changeset 230448 in webkit


Ignore:
Timestamp:
Apr 9, 2018 12:58:17 PM (6 years ago)
Author:
jer.noble@apple.com
Message:

Fix the selection assistant selectionView build
https://bugs.webkit.org/show_bug.cgi?id=184423
<rdar://problem/39288235>

Reviewed by Wenson Hsieh.

  • Platform/spi/ios/UIKitSPI.h:
  • UIProcess/ios/WKContentView.mm:

(-[WKContentView _didExitStableState]):

  • UIProcess/ios/WKContentViewInteraction.mm:

(-[WKContentView _updateChangedSelection:]):

Location:
trunk/Source/WebKit
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r230447 r230448  
     12018-04-09  Jer Noble  <jer.noble@apple.com>
     2
     3        Fix the selection assistant selectionView build
     4        https://bugs.webkit.org/show_bug.cgi?id=184423
     5        <rdar://problem/39288235>
     6
     7        Reviewed by Wenson Hsieh.
     8
     9        * Platform/spi/ios/UIKitSPI.h:
     10        * UIProcess/ios/WKContentView.mm:
     11        (-[WKContentView _didExitStableState]):
     12        * UIProcess/ios/WKContentViewInteraction.mm:
     13        (-[WKContentView _updateChangedSelection:]):
     14
    1152018-04-09  Megan Gardner  <megan_gardner@apple.com>
    216
  • trunk/Source/WebKit/Platform/spi/ios/UIKitSPI.h

    r229918 r230448  
    498498- (void)willStartScrollingOrZoomingPage;
    499499- (void)willStartScrollingOverflow;
     500#if !ENABLE(MINIMAL_SIMULATOR)
    500501@property (nonatomic, retain) UIWebSelectionView *selectionView;
     502#endif
    501503@property (nonatomic, readonly) CGRect selectionFrame;
    502504@end
  • trunk/Source/WebKit/UIProcess/ios/WKContentView.mm

    r230383 r230448  
    349349
    350350    [_textSelectionAssistant deactivateSelection];
     351#if !ENABLE(MINIMAL_SIMULATOR)
    351352    [[_webSelectionAssistant selectionView] setHidden:YES];
     353#endif
    352354}
    353355
  • trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm

    r230447 r230448  
    44824482        [[self selectionInteractionAssistant] showSelectionCommands];
    44834483        [_webSelectionAssistant didEndScrollingOrZoomingPage];
     4484#if !ENABLE(MINIMAL_SIMULATOR)
    44844485        [[_webSelectionAssistant selectionView] setHidden:NO];
     4486#endif
    44854487
    44864488        if (!self.suppressAssistantSelectionView)
Note: See TracChangeset for help on using the changeset viewer.