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

Unified Diff: ui/aura/test/test_screen.cc

Issue 2715513006: Fix showing the sibling menu on mouse move (Closed)
Patch Set: Fix compile error Created 3 years, 9 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
« no previous file with comments | « extensions/shell/browser/shell_screen.cc ('k') | ui/aura/window.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/test/test_screen.cc
diff --git a/ui/aura/test/test_screen.cc b/ui/aura/test/test_screen.cc
index 890acf15b7b0aa6dbd394fdc5ad62be5054e3e4e..72daa99a2cb1441c994d8bdfe86783c250d96f2d 100644
--- a/ui/aura/test/test_screen.cc
+++ b/ui/aura/test/test_screen.cc
@@ -153,7 +153,7 @@ bool TestScreen::IsWindowUnderCursor(gfx::NativeWindow window) {
gfx::NativeWindow TestScreen::GetWindowAtScreenPoint(const gfx::Point& point) {
if (!host_ || !host_->window())
return nullptr;
- return host_->window()->GetTopWindowContainingPoint(point);
+ return host_->window()->GetEventHandlerForPoint(point);
}
display::Display TestScreen::GetDisplayNearestWindow(
« no previous file with comments | « extensions/shell/browser/shell_screen.cc ('k') | ui/aura/window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698