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

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

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/connection_manager.cc
diff --git a/components/mus/ws/connection_manager.cc b/components/mus/ws/connection_manager.cc
index 428668e32023a60f0462b75720a8fdb5d583b760..c9118a0da0414bcb88200dd62a027a2f3761dbbc 100644
--- a/components/mus/ws/connection_manager.cc
+++ b/components/mus/ws/connection_manager.cc
@@ -334,6 +334,13 @@ void ConnectionManager::ProcessClientAreaChanged(
}
}
+void ConnectionManager::ProcessLostCapture(const ServerWindow* window) {
+ for (auto& pair : connection_map_) {
+ pair.second->service()->ProcessLostCapture(window,
+ IsOperationSource(pair.first));
+ }
+}
+
void ConnectionManager::ProcessWillChangeWindowHierarchy(
const ServerWindow* window,
const ServerWindow* new_parent,

Powered by Google App Engine
This is Rietveld 408576698