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

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

Issue 1352043005: mus: Implement Window Server Capture Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added capture unit tests Created 5 years, 1 month 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 ba4652cd41aaeaa7e7d9ad6c1466c7e7312a38ab..0f5c093f526425989159d0ac749d5c661dbf7c5f 100644
--- a/components/mus/ws/display_manager_delegate.h
+++ b/components/mus/ws/display_manager_delegate.h
@@ -32,6 +32,9 @@ class DisplayManagerDelegate {
// Called when an event arrives.
virtual void OnEvent(mojom::EventPtr event) = 0;
+ // Claled whne 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