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

Unified Diff: ui/aura/mus/window_tree_client.h

Issue 2626013005: Change CaptureSynchronizer and PointerWatcherEventRouter to support multiple CaptureClients. (Closed)
Patch Set: separate out changes for removing GetCaptureClient() 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: ui/aura/mus/window_tree_client.h
diff --git a/ui/aura/mus/window_tree_client.h b/ui/aura/mus/window_tree_client.h
index 403de5cb7af9b56595702ff8a8cef33536369852..8b3d54953ffea460917a644e32a85b91c86f4cef 100644
--- a/ui/aura/mus/window_tree_client.h
+++ b/ui/aura/mus/window_tree_client.h
@@ -166,6 +166,12 @@ class AURA_EXPORT WindowTreeClient
// does nothing.)
void CancelWindowMove(Window* window);
+ // Called when the capture client has been set for a window.
+ void OnCaptureClientSet(client::CaptureClient* capture_client);
+
+ // Called when the capture client will be unset for a window.
+ void OnCaptureClientUnset(client::CaptureClient* capture_client);
+
void AddObserver(WindowTreeClientObserver* observer);
void RemoveObserver(WindowTreeClientObserver* observer);

Powered by Google App Engine
This is Rietveld 408576698