Changeset 248745 in webkit
- Timestamp:
- Aug 15, 2019, 1:50:02 PM (7 years ago)
- Location:
- branches/safari-608-branch/Source/WebKitLegacy/mac
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
WebView/WebView.mm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/safari-608-branch/Source/WebKitLegacy/mac/ChangeLog
r247984 r248745 1 2019-08-15 Alan Coon <alancoon@apple.com> 2 3 Cherry-pick r248741. rdar://problem/54360841 4 5 Yellow Lookup highlight gets stuck over Mail messages 6 https://bugs.webkit.org/show_bug.cgi?id=200778 7 <rdar://problem/53868514> 8 9 Reviewed by Wenson Hsieh. 10 11 * WebView/WebView.mm: 12 (-[WebView _showDictionaryLookupPopup:]): 13 Add a dismissal callback so that when Reveal hides the panel, it also 14 dismisses the yellow indicator. This matches the behavior in modern WebKit. 15 16 17 git-svn-id: https://svn.webkit.org/repository/webkit/trunk@248741 268f45cc-cd09-0410-ab3c-d52691b4dbfc 18 19 2019-08-15 Tim Horton <timothy_horton@apple.com> 20 21 Yellow Lookup highlight gets stuck over Mail messages 22 https://bugs.webkit.org/show_bug.cgi?id=200778 23 <rdar://problem/53868514> 24 25 Reviewed by Wenson Hsieh. 26 27 * WebView/WebView.mm: 28 (-[WebView _showDictionaryLookupPopup:]): 29 Add a dismissal callback so that when Reveal hides the panel, it also 30 dismisses the yellow indicator. This matches the behavior in modern WebKit. 31 1 32 2019-07-29 Alan Coon <alancoon@apple.com> 2 33 -
branches/safari-608-branch/Source/WebKitLegacy/mac/WebView/WebView.mm
r247117 r248745 247 247 #import <wtf/SoftLinking.h> 248 248 #import <wtf/StdLibExtras.h> 249 #import <wtf/WeakObjCPtr.h> 249 250 #import <wtf/WorkQueue.h> 250 251 #import <wtf/spi/darwin/dyldSPI.h> … … 9526 9527 }, [self](FloatRect rectInRootViewCoordinates) { 9527 9528 return [self _convertRectFromRootView:rectInRootViewCoordinates]; 9529 }, [weakSelf = WeakObjCPtr<WebView>(self)]() { 9530 [weakSelf.get() _clearTextIndicatorWithAnimation:TextIndicatorWindowDismissalAnimation::FadeOut]; 9528 9531 }); 9529 9532 }
Note:
See TracChangeset
for help on using the changeset viewer.