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

Side by Side Diff: services/ui/ws/access_policy_delegate.h

Issue 2633233003: aura-mus: Implement stacking in DesktopWindowTreeHostMus. (Closed)
Patch Set: Reword comment. Created 3 years, 11 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 unified diff | Download patch
« no previous file with comments | « services/ui/ws/access_policy.h ('k') | services/ui/ws/default_access_policy.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef SERVICES_UI_WS_ACCESS_POLICY_DELEGATE_H_ 5 #ifndef SERVICES_UI_WS_ACCESS_POLICY_DELEGATE_H_
6 #define SERVICES_UI_WS_ACCESS_POLICY_DELEGATE_H_ 6 #define SERVICES_UI_WS_ACCESS_POLICY_DELEGATE_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/containers/hash_tables.h" 10 #include "base/containers/hash_tables.h"
(...skipping 12 matching lines...) Expand all
23 virtual bool HasRootForAccessPolicy(const ServerWindow* window) const = 0; 23 virtual bool HasRootForAccessPolicy(const ServerWindow* window) const = 0;
24 24
25 // Returns true if |window| has been exposed to the client. 25 // Returns true if |window| has been exposed to the client.
26 virtual bool IsWindowKnownForAccessPolicy( 26 virtual bool IsWindowKnownForAccessPolicy(
27 const ServerWindow* window) const = 0; 27 const ServerWindow* window) const = 0;
28 28
29 // Returns true if Embed(window) has been invoked on |window|. 29 // Returns true if Embed(window) has been invoked on |window|.
30 virtual bool IsWindowRootOfAnotherTreeForAccessPolicy( 30 virtual bool IsWindowRootOfAnotherTreeForAccessPolicy(
31 const ServerWindow* window) const = 0; 31 const ServerWindow* window) const = 0;
32 32
33 // Returns true if |window| was created by the window manager.
34 virtual bool IsWindowCreatedByWindowManager(
35 const ServerWindow* window) const = 0;
36
33 protected: 37 protected:
34 virtual ~AccessPolicyDelegate() {} 38 virtual ~AccessPolicyDelegate() {}
35 }; 39 };
36 40
37 } // namespace ws 41 } // namespace ws
38 42
39 } // namespace ui 43 } // namespace ui
40 44
41 #endif // SERVICES_UI_WS_ACCESS_POLICY_DELEGATE_H_ 45 #endif // SERVICES_UI_WS_ACCESS_POLICY_DELEGATE_H_
OLDNEW
« no previous file with comments | « services/ui/ws/access_policy.h ('k') | services/ui/ws/default_access_policy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698