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

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: Rebase 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 f49a2afcc0eec584f82ea36339acb7a52b8e5a31..e0bdd602347a87441ed62f9051a2dae5cdfb8382 100644
--- a/components/mus/ws/window_tree_impl.h
+++ b/components/mus/ws/window_tree_impl.h
@@ -164,6 +164,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);
@@ -291,6 +293,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