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

Unified Diff: components/mus/ws/window_finder.h

Issue 1489923002: Wire up inset of SetUnderlaySurfaceOffsetAndExtendedHitArea (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 | « components/mus/ws/server_window_surface_manager_test_api.cc ('k') | components/mus/ws/window_finder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/ws/window_finder.h
diff --git a/components/mus/ws/window_finder.h b/components/mus/ws/window_finder.h
index ed7078e3b50b5ecd365986a9f94278dedf5b6b53..470e7350ee6b95d2582b917755d599c5b23bf4b7 100644
--- a/components/mus/ws/window_finder.h
+++ b/components/mus/ws/window_finder.h
@@ -19,13 +19,14 @@ namespace ws {
class ServerWindow;
-// Find the deepest visible child of |root| that contains |location| using
-// a previously submitted frame. |location| is initially in the coordinate
-// space of |root_window|. On return it is converted to the coordinates of the
-// return value.
-ServerWindow* FindDeepestVisibleWindow(ServerWindow* root_window,
- cc::SurfaceId display_surface_id,
- gfx::Point* location);
+// Find the deepest visible child of |root| that should receive an event at
+// |location|. |location| is initially in the coordinate space of
+// |root_window|, on return it is converted to the coordinates of the return
+// value.
+ServerWindow* FindDeepestVisibleWindowForEvents(
+ ServerWindow* root_window,
+ cc::SurfaceId display_surface_id,
+ gfx::Point* location);
// Retrieve the transform to the provided |window|'s coordinate space from the
// root.
« no previous file with comments | « components/mus/ws/server_window_surface_manager_test_api.cc ('k') | components/mus/ws/window_finder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698