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

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

Issue 1639223003: Makes it so each windowtreeclient can use whatever ids it wants (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cleanup Created 4 years, 11 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 | « components/mus/ws/test_change_tracker.cc ('k') | components/mus/ws/window_tree_apptest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/ws/window_finder.cc
diff --git a/components/mus/ws/window_finder.cc b/components/mus/ws/window_finder.cc
index 592d7538d330c71705ce4306769ecc00f7abd544..ff61e471b6c688292f0026909a4b615eb3409e19 100644
--- a/components/mus/ws/window_finder.cc
+++ b/components/mus/ws/window_finder.cc
@@ -98,6 +98,7 @@ ServerWindow* FindDeepestVisibleWindowForEvents(
->GetSurfacesState()
->hit_tester()
->GetTargetSurfaceAtPoint(display_surface_id, *location, &transform);
+ // TODO(sky): this is now wrong, needs mapping from client to window.
WindowId id = WindowIdFromTransportId(
cc::SurfaceIdAllocator::NamespaceForId(target_surface));
// TODO(fsamuel): This should be a DCHECK but currently we use stale
« no previous file with comments | « components/mus/ws/test_change_tracker.cc ('k') | components/mus/ws/window_tree_apptest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698