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

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

Issue 1782123003: Makes WindowTree take the AccessPolicy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 4 years, 9 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/ws/connection_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/ws/access_policy.h
diff --git a/components/mus/ws/access_policy.h b/components/mus/ws/access_policy.h
index 8ba6ff63090aef112cc0cbc9f15aa2825c1b098c..be3fdc9d1a88ce0fd6e6a2cb563f8408ba49a8fc 100644
--- a/components/mus/ws/access_policy.h
+++ b/components/mus/ws/access_policy.h
@@ -14,6 +14,7 @@
namespace mus {
namespace ws {
+class AccessPolicyDelegate;
class ServerWindow;
// AccessPolicy is used by WindowTree to determine what the WindowTree is
@@ -22,6 +23,9 @@ class AccessPolicy {
public:
virtual ~AccessPolicy() {}
+ virtual void Init(ConnectionSpecificId connection_id,
+ AccessPolicyDelegate* delegate) = 0;
+
// Unless otherwise mentioned all arguments have been validated. That is the
// |window| arguments are non-null unless otherwise stated (eg CanSetWindow()
// is allowed to take a NULL window).
« no previous file with comments | « no previous file | components/mus/ws/connection_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698