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

Changeset 254609 in webkit


Ignore:
Timestamp:
Jan 15, 2020, 11:15:40 AM (7 years ago)
Author:
Alan Coon
Message:

Cherry-pick r254292. rdar://problem/58552868

Set the title for images so it will be correctly displayed in UIContextMenus
​https://bugs.webkit.org/show_bug.cgi?id=205980
<rdar://problem/57701988>

Reviewed by Dean Jackson.

Need to set the title text for images.

  • UIProcess/ios/WKContentViewInteraction.mm: (-[WKContentView continueContextMenuInteraction:]):

git-svn-id: ​https://svn.webkit.org/repository/webkit/trunk@254292 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Location:
branches/safari-609-branch/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/safari-609-branch/Source/WebKit/ChangeLog

    r254607 r254609  
     12020-01-14  Alan Coon  <alancoon@apple.com>
     2
     3        Cherry-pick r254292. rdar://problem/58552868
     4
     5    Set the title for images so it will be correctly displayed in UIContextMenus
     6    https://bugs.webkit.org/show_bug.cgi?id=205980
     7    <rdar://problem/57701988>
     8   
     9    Reviewed by Dean Jackson.
     10   
     11    Need to set the title text for images.
     12   
     13    * UIProcess/ios/WKContentViewInteraction.mm:
     14    (-[WKContentView continueContextMenuInteraction:]):
     15   
     16   
     17    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@254292 268f45cc-cd09-0410-ab3c-d52691b4dbfc
     18
     19    2020-01-09  Megan Gardner  <megan_gardner@apple.com>
     20
     21            Set the title for images so it will be correctly displayed in UIContextMenus
     22            https://bugs.webkit.org/show_bug.cgi?id=205980
     23            <rdar://problem/57701988>
     24
     25            Reviewed by Dean Jackson.
     26
     27            Need to set the title text for images.
     28
     29            * UIProcess/ios/WKContentViewInteraction.mm:
     30            (-[WKContentView continueContextMenuInteraction:]):
     31
    1322020-01-14  Alan Coon  <alancoon@apple.com>
    233
  • branches/safari-609-branch/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm

    r254025 r254609  
    84818481                RetainPtr<NSArray<_WKElementAction *>> defaultActionsFromAssistant = [strongSelf->_actionSheetAssistant defaultActionsForImageSheet:elementInfo.get()];
    84828482                auto actions = menuElementsFromDefaultActions(defaultActionsFromAssistant, elementInfo);
    8483                 return [UIMenu menuWithTitle:@"" children:actions];
     8483                return [UIMenu menuWithTitle:strongSelf->_positionInformation.title children:actions];
    84848484            };
    84858485
Note: See TracChangeset for help on using the changeset viewer.