Changeset 247132 in webkit


Ignore:
Timestamp:
Jul 3, 2019 7:35:07 PM (5 years ago)
Author:
timothy_horton@apple.com
Message:

Data Detectors are not working for context menus in clients that use the legacy preview API
https://bugs.webkit.org/show_bug.cgi?id=199486
<rdar://problem/52117322>

Reviewed by Dean Jackson.

  • UIProcess/ios/WKContentViewInteraction.mm:

(-[WKContentView assignLegacyDataForContextMenuInteraction]):
The Data Detectors code in the legacy preview path is guarded by a
#define that did not survive upstreaming. Remove it.

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r247126 r247132  
     12019-07-03  Tim Horton  <timothy_horton@apple.com>
     2
     3        Data Detectors are not working for context menus in clients that use the legacy preview API
     4        https://bugs.webkit.org/show_bug.cgi?id=199486
     5        <rdar://problem/52117322>
     6
     7        Reviewed by Dean Jackson.
     8
     9        * UIProcess/ios/WKContentViewInteraction.mm:
     10        (-[WKContentView assignLegacyDataForContextMenuInteraction]):
     11        The Data Detectors code in the legacy preview path is guarded by a
     12        #define that did not survive upstreaming. Remove it.
     13
    1142019-07-03  Chris Dumez  <cdumez@apple.com>
    215
  • trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm

    r247116 r247132  
    76637663        ALLOW_DEPRECATED_DECLARATIONS_END
    76647664
    7665 #if USE(DATA_DETECTORS_FOR_DEFAULT_PREVIEW)
    76667665        // Previously, UIPreviewItemController would detect the case where there was no previewViewController
    76677666        // and create one. We need to replicate this code for the new API.
     
    76827681            return;
    76837682        }
    7684 #endif
    76857683
    76867684        auto menuTitle = titleForMenu(true, _showLinkPreviews, url, _positionInformation.title);
Note: See TracChangeset for help on using the changeset viewer.