Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(607)

Unified Diff: third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp

Issue 2278283002: Implement Mac Pop-up Dictionary for OOPIF. (Closed)
Patch Set: Addressing lfg@'s comment Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp b/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
index 132364a8ffea5ca12541469836fe9348350d9801..623621eca1d55d51ea3caec379d8618c0bf40a86 100644
--- a/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
+++ b/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
@@ -1388,6 +1388,14 @@ void WebFrameWidgetImpl::detachCompositorAnimationTimeline(CompositorAnimationTi
m_layerTreeView->detachCompositorAnimationTimeline(compositorTimeline->animationTimeline());
}
+HitTestResult WebFrameWidgetImpl::coreHitTestResultAt(const WebPoint& pointInViewport)
+{
+ DocumentLifecycle::AllowThrottlingScope throttlingScope(m_localRoot->frame()->document()->lifecycle());
+ FrameView* view = m_localRoot->frameView();
+ IntPoint pointInRootFrame = view->contentsToFrame(view->viewportToContents(pointInViewport));
+ return hitTestResultForRootFramePos(pointInRootFrame);
+}
+
void WebFrameWidgetImpl::setVisibilityState(WebPageVisibilityState visibilityState)
{
if (m_layerTreeView)
« no previous file with comments | « third_party/WebKit/Source/web/WebFrameWidgetImpl.h ('k') | third_party/WebKit/Source/web/WebViewFrameWidget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698