Changeset 206702 in webkit
- Timestamp:
- Sep 30, 2016, 6:27:35 PM (9 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r206701 r206702 1 2016-09-30 Dan Bernstein <mitz@apple.com> 2 3 [iOS] Editing menu omits the Share command if the selected text is longer than 200 characters 4 https://bugs.webkit.org/show_bug.cgi?id=162821 5 <rdar://problem/28409828> 6 7 Reviewed by Tim Horton. 8 9 * UIProcess/ios/WKContentViewInteraction.mm: 10 (-[WKContentView canPerformAction:withSender:]): Changed to return YES for the _share: 11 action even if the selection is longer than 200 characters. While Define should not have 12 been available for longer selections, Share does not have such a limitation. 13 1 14 2016-09-30 Myles C. Maxfield <mmaxfield@apple.com> 2 15 -
trunk/Source/WebKit2/UIProcess/ios/WKContentViewInteraction.mm
r206645 r206702 1863 1863 return NO; 1864 1864 1865 NSUInteger textLength = _page->editorState().postLayoutData().selectedTextLength; 1866 // See FIXME above for _define. 1867 if (!textLength || textLength > 200) 1868 return NO; 1869 1870 return YES; 1865 return _page->editorState().postLayoutData().selectedTextLength > 0; 1871 1866 } 1872 1867
Note:
See TracChangeset
for help on using the changeset viewer.