Changeset 246088 in webkit
- Timestamp:
- Jun 4, 2019, 4:44:48 PM (7 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
WebProcess/WebPage/ios/WebPageIOS.mm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r246086 r246088 1 2019-06-04 Tim Horton <timothy_horton@apple.com> 2 3 Turn on background color estimation for all link indicators 4 https://bugs.webkit.org/show_bug.cgi?id=198547 5 <rdar://problem/51140196> 6 7 Reviewed by Dean Jackson. 8 9 * WebProcess/WebPage/ios/WebPageIOS.mm: 10 (WebKit::WebPage::computeAndSendEditDragSnapshot): 11 (WebKit::linkIndicatorPositionInformation): 12 1 13 2019-06-04 Tim Horton <timothy_horton@apple.com> 2 14 -
trunk/Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm
r246086 r246088 877 877 { 878 878 Optional<TextIndicatorData> textIndicatorData; 879 static auto defaultTextIndicatorOptionsForEditDrag = TextIndicatorOptionIncludeSnapshotOfAllVisibleContentWithoutSelection | TextIndicatorOptionExpandClipBeyondVisibleRect | TextIndicatorOptionPaintAllContent | TextIndicatorOptionIncludeMarginIfRangeMatchesSelection | TextIndicatorOptionPaintBackgrounds | TextIndicatorOptionComputeEstimatedBackgroundColor | TextIndicatorOptionUseSelectionRectForSizing | TextIndicatorOptionIncludeSnapshotWithSelectionHighlight;879 static auto defaultTextIndicatorOptionsForEditDrag = TextIndicatorOptionIncludeSnapshotOfAllVisibleContentWithoutSelection | TextIndicatorOptionExpandClipBeyondVisibleRect | TextIndicatorOptionPaintAllContent | TextIndicatorOptionIncludeMarginIfRangeMatchesSelection | TextIndicatorOptionPaintBackgrounds | TextIndicatorOptionComputeEstimatedBackgroundColor | TextIndicatorOptionUseSelectionRectForSizing | TextIndicatorOptionIncludeSnapshotWithSelectionHighlight; 880 880 if (auto range = std::exchange(m_rangeForDropSnapshot, nullptr)) { 881 881 if (auto textIndicator = TextIndicator::createWithRange(*range, defaultTextIndicatorOptionsForEditDrag, TextIndicatorPresentationTransition::None, { })) … … 2434 2434 auto textIndicator = TextIndicator::createWithRange(linkRange.get(), 2435 2435 TextIndicatorOptionTightlyFitContent | TextIndicatorOptionRespectTextColor | TextIndicatorOptionPaintBackgrounds | 2436 TextIndicatorOptionUseBoundingRectAndPaintAllContentForComplexRanges | TextIndicatorOptionIncludeMarginIfRangeMatchesSelection ,2436 TextIndicatorOptionUseBoundingRectAndPaintAllContentForComplexRanges | TextIndicatorOptionIncludeMarginIfRangeMatchesSelection | TextIndicatorOptionComputeEstimatedBackgroundColor, 2437 2437 TextIndicatorPresentationTransition::None, FloatSize(marginInPoints * deviceScaleFactor, marginInPoints * deviceScaleFactor)); 2438 2438
Note:
See TracChangeset
for help on using the changeset viewer.