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

Unified Diff: components/mus/view_tree_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/view_tree_impl.h
diff --git a/components/mus/view_tree_impl.h b/components/mus/view_tree_impl.h
index 8549585070791a68710945f1bca233e9559f7a94..d14551a195bd5dfd9091f15da9ac876fbd737e01 100644
--- a/components/mus/view_tree_impl.h
+++ b/components/mus/view_tree_impl.h
@@ -114,6 +114,7 @@ class ViewTreeImpl : public mojo::ViewTree, public AccessPolicyDelegate {
bool originated_change);
void ProcessFocusChanged(const ServerView* old_focused_view,
const ServerView* new_focused_view);
+ void ProcessLostCapture(const ServerView* old_captured_view);
private:
using ViewIdSet = base::hash_set<Id>;
@@ -187,6 +188,8 @@ class ViewTreeImpl : public mojo::ViewTree, public AccessPolicyDelegate {
void GetViewTree(Id view_id,
const mojo::Callback<void(mojo::Array<mojo::ViewDataPtr>)>&
callback) override;
+ void SetCapture(Id view_id,
+ const mojo::Callback<void(bool)>& callback) override;
void SetViewBounds(Id view_id,
mojo::RectPtr bounds,
const mojo::Callback<void(bool)>& callback) override;

Powered by Google App Engine
This is Rietveld 408576698