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

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

Issue 1677513002: mus Window Server: implement event capture (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « components/mus/ws/display_manager.cc ('k') | components/mus/ws/event_dispatcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/ws/display_manager_delegate.h
diff --git a/components/mus/ws/display_manager_delegate.h b/components/mus/ws/display_manager_delegate.h
index 228801faaaca19a9ddd5a37d3af9e42e9112ed91..e635b4a879c4b548e5fec42c1c9bf5c8002a430c 100644
--- a/components/mus/ws/display_manager_delegate.h
+++ b/components/mus/ws/display_manager_delegate.h
@@ -36,6 +36,9 @@ class DisplayManagerDelegate {
// Called when an event arrives.
virtual void OnEvent(const ui::Event& event) = 0;
+ // Called when the Display loses capture.
+ virtual void OnNativeCaptureLost() = 0;
+
// Signals that the metrics of this display's viewport has changed.
virtual void OnViewportMetricsChanged(
const mojom::ViewportMetrics& old_metrics,
« no previous file with comments | « components/mus/ws/display_manager.cc ('k') | components/mus/ws/event_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698