Changeset 103910 in webkit
- Timestamp:
- Jan 2, 2012, 11:18:01 AM (13 years ago)
- Location:
- trunk/Source/WebKit/mac
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/mac/ChangeLog
r103867 r103910 1 2012-01-02 Dan Bernstein <mitz@apple.com> 2 3 [mac] Remove -[WebView setHoverFeedbackSuspended:] 4 https://bugs.webkit.org/show_bug.cgi?id=75406 5 6 Reviewed by Tim Hatcher. 7 8 * WebView/WebHTMLView.mm: 9 (-[WebHTMLView _updateMouseoverWithEvent:]): Removed check for suspended hover updates. 10 * WebView/WebHTMLViewInternal.h: Removed -_hoverFeedbackSuspendedChanged. 11 * WebView/WebView.mm: 12 (-[WebView setHoverFeedbackSuspended:]): Left empty implementation to support versions of 13 Safari that call this. 14 (-[WebView isHoverFeedbackSuspended]): Left implementation that always returns NO to support 15 versions of Safari that call this. 16 * WebView/WebViewData.h: Removed hoverFeedbackSuspended ivar. 17 * WebView/WebViewPrivate.h: Removed method definitions. 18 1 19 2011-12-31 Dan Bernstein <mitz@apple.com> 2 20 -
trunk/Source/WebKit/mac/WebView/WebHTMLView.mm
r103867 r103910 1559 1559 1560 1560 WebHTMLView *view = nil; 1561 if ([hitView isKindOfClass:[WebHTMLView class]] && ![[(WebHTMLView *)hitView _webView] isHoverFeedbackSuspended])1561 if ([hitView isKindOfClass:[WebHTMLView class]]) 1562 1562 view = (WebHTMLView *)hitView; 1563 1563 … … 5259 5259 } 5260 5260 5261 - (void)_hoverFeedbackSuspendedChanged5262 {5263 [self _updateMouseoverWithFakeEvent];5264 }5265 5266 5261 - (void)_executeSavedKeypressCommands 5267 5262 { -
trunk/Source/WebKit/mac/WebView/WebHTMLViewInternal.h
r85036 r103910 49 49 - (WebFrame *)_frame; 50 50 - (void)_lookUpInDictionaryFromMenu:(id)sender; 51 - (void)_hoverFeedbackSuspendedChanged;52 51 - (BOOL)_interpretKeyEvent:(WebCore::KeyboardEvent *)event savingCommands:(BOOL)savingCommands; 53 52 - (DOMDocumentFragment *)_documentFragmentFromPasteboard:(NSPasteboard *)pasteboard; -
trunk/Source/WebKit/mac/WebView/WebView.mm
r103643 r103910 4606 4606 } 4607 4607 4608 #if defined(BUILDING_ON_SNOW_LEOPARD) || defined(BUILDING_ON_LION) 4609 // FIXME: Remove once WebKit no longer needs to support versions of Safari that call this. 4608 4610 - (void)setHoverFeedbackSuspended:(BOOL)newValue 4609 4611 { 4610 if (_private->hoverFeedbackSuspended == newValue) 4611 return; 4612 4613 _private->hoverFeedbackSuspended = newValue; 4614 4615 id <WebDocumentView> documentView = [[[self mainFrame] frameView] documentView]; 4616 // FIXME: in a perfect world we'd do this in a general way that worked with any document view, 4617 // such as by calling a protocol method or using respondsToSelector or sending a notification. 4618 // But until there is any need for these more general solutions, we'll just hardwire it to work 4619 // with WebHTMLView. 4620 // Note that _hoverFeedbackSuspendedChanged needs to be called only on the main WebHTMLView, not 4621 // on each subframe separately. 4622 if ([documentView isKindOfClass:[WebHTMLView class]]) 4623 [(WebHTMLView *)documentView _hoverFeedbackSuspendedChanged]; 4624 } 4625 4612 } 4613 4614 // FIXME: Remove once WebKit no longer needs to support versions of Safari that call this. 4626 4615 - (BOOL)isHoverFeedbackSuspended 4627 4616 { 4628 return _private->hoverFeedbackSuspended; 4629 } 4617 return NO; 4618 } 4619 #endif 4630 4620 4631 4621 - (void)setMainFrameDocumentReady:(BOOL)mainFrameDocumentReady -
trunk/Source/WebKit/mac/WebView/WebViewData.h
r102045 r103910 134 134 BOOL becomingFirstResponder; 135 135 BOOL becomingFirstResponderFromOutside; 136 BOOL hoverFeedbackSuspended;137 136 BOOL usesPageCache; 138 137 BOOL catchesDelegateExceptions; -
trunk/Source/WebKit/mac/WebView/WebViewPrivate.h
r101574 r103910 133 133 - (void)scrollDOMRangeToVisible:(DOMRange *)range; 134 134 135 // setHoverFeedbackSuspended: can be called by clients that want to temporarily prevent the webView136 // from displaying feedback about mouse position. Each WebDocumentView class that displays feedback137 // about mouse position should honor this setting.138 - (void)setHoverFeedbackSuspended:(BOOL)newValue;139 - (BOOL)isHoverFeedbackSuspended;140 141 135 /*! 142 136 @method setScriptDebugDelegate:
Note:
See TracChangeset
for help on using the changeset viewer.