Changeset 259020 in webkit
- Timestamp:
- Mar 25, 2020 4:26:37 PM (4 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r259015 r259020 1 2020-03-25 Wenson Hsieh <wenson_hsieh@apple.com> 2 3 Unreviewed, fix the watchOS build after r259008 4 5 Put a call to Pasteboard::nameOfDragPasteboard behind ENABLE(DRAG_SUPPORT); additionally, update an out-of-date 6 comment to reflect the fact that arbitrary UIPasteboards can be converted to a list of NSItemProviders, whose 7 data can be traversed in fidelity order. 8 9 * platform/ios/PasteboardIOS.mm: 10 (WebCore::Pasteboard::respectsUTIFidelities const): 11 1 12 2020-03-25 Simon Fraser <simon.fraser@apple.com> 2 13 -
trunk/Source/WebCore/platform/ios/PasteboardIOS.mm
r259008 r259020 351 351 bool Pasteboard::respectsUTIFidelities() const 352 352 { 353 // For now, data interaction is the only feature that uses item-provider-based pasteboard representations. 354 // In the future, we may need to consult the client layer to determine whether or not the pasteboard supports 355 // item types ranked by fidelity. 353 #if ENABLE(DRAG_SUPPORT) 354 // FIXME: We should respect UTI fidelity for normal UIPasteboard-backed pasteboards as well. 356 355 return m_pasteboardName == Pasteboard::nameOfDragPasteboard(); 356 #else 357 return false; 358 #endif 357 359 } 358 360
Note: See TracChangeset
for help on using the changeset viewer.