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

Side by Side Diff: components/mus/ws/access_policy.h

Issue 1644773004: Renames some WindowManager classes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cleanup Created 4 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
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 COMPONENTS_MUS_WS_ACCESS_POLICY_H_ 5 #ifndef COMPONENTS_MUS_WS_ACCESS_POLICY_H_
6 #define COMPONENTS_MUS_WS_ACCESS_POLICY_H_ 6 #define COMPONENTS_MUS_WS_ACCESS_POLICY_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "components/mus/public/interfaces/mus_constants.mojom.h" 10 #include "components/mus/public/interfaces/mus_constants.mojom.h"
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 // visibility, locking, etc. 56 // visibility, locking, etc.
57 virtual bool CanSetCursorProperties(const ServerWindow* window) const = 0; 57 virtual bool CanSetCursorProperties(const ServerWindow* window) const = 0;
58 58
59 // Returns whether the connection should notify on a hierarchy change. 59 // Returns whether the connection should notify on a hierarchy change.
60 // |new_parent| and |old_parent| are initially set to the new and old parents 60 // |new_parent| and |old_parent| are initially set to the new and old parents
61 // but may be altered so that the client only sees a certain set of windows. 61 // but may be altered so that the client only sees a certain set of windows.
62 virtual bool ShouldNotifyOnHierarchyChange( 62 virtual bool ShouldNotifyOnHierarchyChange(
63 const ServerWindow* window, 63 const ServerWindow* window,
64 const ServerWindow** new_parent, 64 const ServerWindow** new_parent,
65 const ServerWindow** old_parent) const = 0; 65 const ServerWindow** old_parent) const = 0;
66 virtual bool CanSetWindowManagerInternal() const = 0; 66 virtual bool CanSetWindowManager() const = 0;
67 67
68 // Returns the window to supply to the client when focus changes to |focused|. 68 // Returns the window to supply to the client when focus changes to |focused|.
69 virtual const ServerWindow* GetWindowForFocusChange( 69 virtual const ServerWindow* GetWindowForFocusChange(
70 const ServerWindow* focused) = 0; 70 const ServerWindow* focused) = 0;
71 }; 71 };
72 72
73 } // namespace ws 73 } // namespace ws
74 74
75 } // namespace mus 75 } // namespace mus
76 76
77 #endif // COMPONENTS_MUS_WS_ACCESS_POLICY_H_ 77 #endif // COMPONENTS_MUS_WS_ACCESS_POLICY_H_
OLDNEW
« no previous file with comments | « components/mus/public/interfaces/window_tree_host.mojom ('k') | components/mus/ws/client_connection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698