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

Unified Diff: components/mus/public/cpp/lib/view_tree_client_impl.h

Issue 1352043005: mus: Implement Window Server Capture Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added a test Created 5 years, 3 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/public/cpp/lib/view_tree_client_impl.h
diff --git a/components/mus/public/cpp/lib/view_tree_client_impl.h b/components/mus/public/cpp/lib/view_tree_client_impl.h
index 95e55938a88c6837fe7d0f3bc24555a959cc0f02..cb70a53d97c32eb8c3cddae7c84ed1953d91523e 100644
--- a/components/mus/public/cpp/lib/view_tree_client_impl.h
+++ b/components/mus/public/cpp/lib/view_tree_client_impl.h
@@ -42,6 +42,7 @@ class ViewTreeClientImpl : public ViewTreeConnection,
bool OwnsView(Id id) const;
void SetBounds(Id view_id, const mojo::Rect& bounds);
+ void SetCapture(Id view_id);
void SetFocus(Id view_id);
void SetVisible(Id view_id, bool visible);
void SetProperty(Id view_id,
@@ -99,6 +100,7 @@ class ViewTreeClientImpl : public ViewTreeConnection,
uint32_t access_policy) override;
void OnEmbeddedAppDisconnected(Id view_id) override;
void OnUnembed() override;
+ void OnLostCapture(Id view_id) override;
void OnViewBoundsChanged(Id view_id,
mojo::RectPtr old_bounds,
mojo::RectPtr new_bounds) override;

Powered by Google App Engine
This is Rietveld 408576698