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

Unified Diff: services/ui/ws/window_finder.cc

Issue 2617403003: Mus: Remove CompositorFrameSinkType (Closed)
Patch Set: Remove remaining CompositorFrameSinkType Created 3 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
Index: services/ui/ws/window_finder.cc
diff --git a/services/ui/ws/window_finder.cc b/services/ui/ws/window_finder.cc
index 90c11688eddc5a3101596b8b64e766b133bcfb01..096bbdfcda16b953bb5b72681200c1d13ef94c68 100644
--- a/services/ui/ws/window_finder.cc
+++ b/services/ui/ws/window_finder.cc
@@ -23,10 +23,7 @@ bool IsValidWindowForEvents(ServerWindow* window) {
// is valid as we assume the window manager will likely get the event in this
// case.
return compositor_frame_sink_manager &&
- (compositor_frame_sink_manager->HasCompositorFrameSinkOfType(
- mojom::CompositorFrameSinkType::DEFAULT) ||
- compositor_frame_sink_manager->HasCompositorFrameSinkOfType(
- mojom::CompositorFrameSinkType::UNDERLAY));
+ compositor_frame_sink_manager->HasCompositorFrameSink();
}
ServerWindow* FindDeepestVisibleWindowForEvents(ServerWindow* window,

Powered by Google App Engine
This is Rietveld 408576698