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

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

Issue 1605773004: mus: Implement Window Server Capture (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address Original Review Comments 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/window_tree_impl.h
diff --git a/components/mus/ws/window_tree_impl.h b/components/mus/ws/window_tree_impl.h
index 967b9e4f1f8d8ca5c6e1a743e51d1cfbf317c5a2..fbf5ec88b9e7a2415583962adb50efec13b2d79b 100644
--- a/components/mus/ws/window_tree_impl.h
+++ b/components/mus/ws/window_tree_impl.h
@@ -157,6 +157,7 @@ class WindowTreeImpl : public mojom::WindowTree,
bool originated_change);
void ProcessFocusChanged(const ServerWindow* old_focused_window,
const ServerWindow* new_focused_window);
+ void ProcessLostCapture(const ServerWindow* old_lost_capture);
void ProcessTransientWindowAdded(const ServerWindow* window,
const ServerWindow* transient_window,
bool originated_change);
@@ -279,6 +280,8 @@ class WindowTreeImpl : public mojom::WindowTree,
Id window_id,
const mojo::Callback<void(mojo::Array<mojom::WindowDataPtr>)>& callback)
override;
+ void SetCapture(uint32_t change_id, Id window_id) override;
+ void ReleaseCapture(uint32_t change_id, Id window_id) override;
void SetWindowBounds(uint32_t change_id,
Id window_id,
mojo::RectPtr bounds) override;

Powered by Google App Engine
This is Rietveld 408576698