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

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

Issue 1677513002: mus Window Server: implement event capture (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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
« no previous file with comments | « components/mus/ws/window_tree_host_impl.cc ('k') | components/mus/ws/window_tree_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 bbd71a5fce73fb315fe8f511404af71ffb748b1d..604cf221dd36f066a8df72709c1142de01d5a3d7 100644
--- a/components/mus/ws/window_tree_impl.h
+++ b/components/mus/ws/window_tree_impl.h
@@ -169,6 +169,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);
@@ -296,6 +298,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;
« no previous file with comments | « components/mus/ws/window_tree_host_impl.cc ('k') | components/mus/ws/window_tree_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698