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

Unified Diff: ash/wm/overview/window_overview.cc

Issue 178493003: aura: Make Window::HitTest() a private method. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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: ash/wm/overview/window_overview.cc
diff --git a/ash/wm/overview/window_overview.cc b/ash/wm/overview/window_overview.cc
index 89ef556da710b959b06fa23434599031577e3d5a..6bc5e56d6aeb756c71f822faca2d9dc101e83867 100644
--- a/ash/wm/overview/window_overview.cc
+++ b/ash/wm/overview/window_overview.cc
@@ -298,7 +298,7 @@ aura::Window* WindowOverview::GetEventTarget(ui::LocatedEvent* event) {
// If the target window doesn't actually contain the event location (i.e.
// mouse down over the window and mouse up elsewhere) then do not select the
// window.
- if (!target->HitTest(event->location()))
+ if (!target->ContainsPoint(event->location()))
return NULL;
return GetTargetedWindow(target);

Powered by Google App Engine
This is Rietveld 408576698