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

Changeset 187315 in webkit


Ignore:
Timestamp:
Jul 24, 2015, 12:54:20 AM (11 years ago)
Author:
matthew_hanson@apple.com
Message:

Merge r187198. rdar://problem/21945775

Location:
branches/safari-601.1-branch/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/safari-601.1-branch/Source/WebKit2/ChangeLog

    r187314 r187315  
     12015-07-24  Matthew Hanson  <matthew_hanson@apple.com>
     2
     3        Merge r187198. rdar://problem/21945775
     4
     5    2015-07-22  Tim Horton  <timothy_horton@apple.com>
     6
     7            [iOS] Adjust the preview architecture
     8            https://bugs.webkit.org/show_bug.cgi?id=147203
     9            <rdar://problem/21945775>
     10
     11            Reviewed by Simon Fraser.
     12
     13            * UIProcess/ios/WKContentViewInteraction.mm:
     14            (-[WKContentView _dataForPreviewItemController:atPosition:type:]):
     15            Link previews should win over image previews if both are possible.
     16
    1172015-07-24  Matthew Hanson  <matthew_hanson@apple.com>
    218
  • branches/safari-601.1-branch/Source/WebKit2/UIProcess/ios/WKContentViewInteraction.mm

    r187314 r187315  
    32543254        else
    32553255            dataForPreview[UIPreviewDataLink] = [NSURL _web_URLWithWTFString:_positionInformation.url];
    3256     }
    3257     if (canShowImagePreview) {
     3256    } else if (canShowImagePreview) {
    32583257        *type = UIPreviewItemTypeImage;
    32593258        dataForPreview[UIPreviewDataLink] = [NSURL _web_URLWithWTFString:_positionInformation.imageURL];
Note: See TracChangeset for help on using the changeset viewer.