-
thatcher authored
Reviewed by John. <rdar://problem/4664697> highlighter SPI needs a node parameter to give more context Pass the RenderObject's node to customHighlightLineRect and paintCustomHighlight. * page/Frame.h: * page/mac/FrameMac.mm: (WebCore::Frame::customHighlightLineRect): (WebCore::Frame::paintCustomHighlight): * page/mac/WebCoreFrameBridge.h: * rendering/InlineTextBox.cpp: (WebCore::InlineTextBox::paintCustomHighlight): * rendering/RenderBox.cpp: (WebCore::RenderBox::paintCustomHighlight): * rendering/RootInlineBox.cpp: (WebCore::RootInlineBox::addHighlightOverflow): (WebCore::RootInlineBox::paintCustomHighlight): WebKit: Reviewed by John. <rdar://problem/4664697> highlighter SPI needs a node parameter to give more context Added new methods to the WebHTMLHighlighter protocol that include the DOMNode being painted. * WebCoreSupport/WebFrameBridge.mm: (-[WebFrameBridge customHighlightRect:forLine:representedNode:WebCore::]): (-[WebFrameBridge paintCustomHighlight:forBox:onLine:behindText:entireLine:representedNode:WebCore::]): * WebKit.xcodeproj/project.pbxproj: * WebView/WebHTMLViewPrivate.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20067 268f45cc-cd09-0410-ab3c-d52691b4dbfc
0c0b046a