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

Unified Diff: components/mus/public/cpp/lib/window_tree_client_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 | « no previous file | components/mus/public/cpp/lib/window_tree_client_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/public/cpp/lib/window_tree_client_impl.h
diff --git a/components/mus/public/cpp/lib/window_tree_client_impl.h b/components/mus/public/cpp/lib/window_tree_client_impl.h
index 681dbff241a4b11d899b46b058c88ff62a7f08ca..6e2fc1c13550509796e55ad0ee36ec2eabcbe723 100644
--- a/components/mus/public/cpp/lib/window_tree_client_impl.h
+++ b/components/mus/public/cpp/lib/window_tree_client_impl.h
@@ -76,6 +76,8 @@ class WindowTreeClientImpl : public WindowTreeConnection,
void SetBounds(Window* window,
const gfx::Rect& old_bounds,
const gfx::Rect& bounds);
+ void SetCapture(Window* window);
+ void ReleaseCapture(Window* window);
void SetClientArea(Id window_id,
const gfx::Insets& client_area,
const std::vector<gfx::Rect>& additional_client_areas);
@@ -174,6 +176,7 @@ class WindowTreeClientImpl : public WindowTreeConnection,
uint32_t access_policy) override;
void OnEmbeddedAppDisconnected(Id window_id) override;
void OnUnembed(Id window_id) override;
+ void OnLostCapture(Id window_id) override;
void OnTopLevelCreated(uint32_t change_id,
mojom::WindowDataPtr data) override;
void OnWindowBoundsChanged(Id window_id,
« no previous file with comments | « no previous file | components/mus/public/cpp/lib/window_tree_client_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698