Changeset 207483 in webkit
- Timestamp:
- Oct 18, 2016 1:30:53 PM (8 years ago)
- Location:
- trunk/Source/WebKit/mac
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/mac/ChangeLog
r207482 r207483 1 2016-10-18 Wenson Hsieh <wenson_hsieh@apple.com> 2 3 Showing and hiding candidates list is very distracting after selecting word 4 https://bugs.webkit.org/show_bug.cgi?id=163609 5 <rdar://problem/28747712> 6 7 Reviewed by Tim Horton. 8 9 Introduce WebView hooks for mousedown and mouseup. See radar for more details. 10 11 * WebView/WebHTMLView.mm: 12 (-[WebHTMLView mouseDown:mouseDown:]): 13 (-[WebHTMLView mouseUp:mouseUp:]): 14 * WebView/WebView.mm: 15 (-[WebView prepareForMouseDown]): 16 (-[WebView prepareForMouseUp]): 17 * WebView/WebViewInternal.h: 18 1 19 2016-10-17 Anders Carlsson <andersca@apple.com> 2 20 -
trunk/Source/WebKit/mac/WebView/WebHTMLView.mm
r207385 r207483 4503 4503 #endif 4504 4504 { 4505 [[self _webView] prepareForMouseDown]; 4506 4505 4507 #if !PLATFORM(IOS) 4506 4508 // There's a chance that responding to this event will run a nested event loop, and … … 4722 4724 #endif 4723 4725 { 4726 [[self _webView] prepareForMouseUp]; 4727 4724 4728 #if !PLATFORM(IOS) 4725 4729 // There's a chance that responding to this event will run a nested event loop, and -
trunk/Source/WebKit/mac/WebView/WebView.mm
r207439 r207483 6753 6753 } 6754 6754 6755 - (void)prepareForMouseDown 6756 { 6757 } 6758 6759 - (void)prepareForMouseUp 6760 { 6761 } 6762 6755 6763 - (void)showCandidates:(NSArray *)candidates forString:(NSString *)string inRect:(NSRect)rectOfTypedString forSelectedRange:(NSRange)range view:(NSView *)view completionHandler:(void (^)(NSTextCheckingResult *acceptedCandidate))completionBlock 6756 6764 { -
trunk/Source/WebKit/mac/WebView/WebViewInternal.h
r203186 r207483 297 297 298 298 @interface WebView (WebUpdateWebViewAdditions) 299 - (void)prepareForMouseUp; 300 - (void)prepareForMouseDown; 299 301 - (void)updateWebViewAdditions; 300 302 - (void)webViewAdditionsWillDestroyView;
Note: See TracChangeset
for help on using the changeset viewer.