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

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

Issue 1605773004: mus: Implement Window Server Capture (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Create InFlightCaptureChange add tests 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
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..e19e97ff916b7a63941a7ac571e69e0f274740f4 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 OnLostCapture() = 0;
+
// Signals that the metrics of this display's viewport has changed.
virtual void OnViewportMetricsChanged(
const mojom::ViewportMetrics& old_metrics,

Powered by Google App Engine
This is Rietveld 408576698