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

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: 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 dce1790016db2429a0feef235dbf29c3f2b50fd7..a4ee98bba9ab2f27044482c8ecd79b8587bd1e12 100644
--- a/components/mus/ws/window_tree_impl.h
+++ b/components/mus/ws/window_tree_impl.h
@@ -168,6 +168,8 @@ 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,
+ bool originated_change);
void ProcessTransientWindowAdded(const ServerWindow* window,
const ServerWindow* transient_window,
bool originated_change);
@@ -295,6 +297,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