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

Unified Diff: third_party/WebKit/Source/core/input/EventHandler.cpp

Issue 2824753005: Rename HostWindow to PlatformChromeClient (Closed)
Patch Set: mac Created 3 years, 8 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/core/input/EventHandler.cpp
diff --git a/third_party/WebKit/Source/core/input/EventHandler.cpp b/third_party/WebKit/Source/core/input/EventHandler.cpp
index 1add0ab19908a857e8e8a0cccb3727c16404956b..bce0f9f34647ef7dfd28bc3f012a9e7349452031 100644
--- a/third_party/WebKit/Source/core/input/EventHandler.cpp
+++ b/third_party/WebKit/Source/core/input/EventHandler.cpp
@@ -1851,7 +1851,7 @@ WebInputEventResult EventHandler::SendContextMenuEventForKey(
IntPoint location_in_viewport =
visual_viewport.RootFrameToViewport(location_in_root_frame);
IntPoint global_position =
- view->GetHostWindow()
+ view->GetChromeClient()
->ViewportToScreen(IntRect(location_in_viewport, IntSize()),
frame_->View())
.Location();
« no previous file with comments | « third_party/WebKit/Source/core/html/ImageDocument.cpp ('k') | third_party/WebKit/Source/core/inspector/DevToolsHost.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698