Bug 198132

Summary: [Paste] Add support for preferred presentation size when pasting an image
Product: WebKit Reporter: zalan <zalan>
Component: Layout and RenderingAssignee: zalan <zalan>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, commit-queue, jonlee, simon.fraser, webkit-bug-importer, wenson_hsieh, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch none

Description zalan 2019-05-22 10:55:50 PDT
<rdar://problem/50886917>
Comment 1 zalan 2019-05-22 11:05:36 PDT
Created attachment 370425 [details]
Patch
Comment 2 Wenson Hsieh 2019-05-22 11:12:43 PDT
Comment on attachment 370425 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=370425&action=review

r=mews

> Source/WebCore/platform/ios/PasteboardIOS.mm:184
> +Pasteboard::ReaderResult Pasteboard::readPasteboardWebContentDataForType(PasteboardWebContentReader& reader, PasteboardStrategy& strategy, NSString *type, PasteboardItemInfo itemInfo, int itemIndex)

Is there a reason you opted for PasteboardItemInfo over const PasteboardItemInfo& here?
Comment 3 zalan 2019-05-22 11:48:30 PDT
Created attachment 370431 [details]
Patch
Comment 4 WebKit Commit Bot 2019-05-22 12:13:41 PDT
Comment on attachment 370431 [details]
Patch

Clearing flags on attachment: 370431

Committed r245637: <https://trac.webkit.org/changeset/245637>
Comment 5 WebKit Commit Bot 2019-05-22 12:13:42 PDT
All reviewed patches have been landed.  Closing bug.