Lines Matching refs:view
27 const ServerView* view) const {
36 bool WindowManagerAccessPolicy::CanReorderView(const ServerView* view,
42 bool WindowManagerAccessPolicy::CanDeleteView(const ServerView* view) const {
43 return view->id().connection_id == connection_id_;
46 bool WindowManagerAccessPolicy::CanGetViewTree(const ServerView* view) const {
51 const ServerView* view) const {
55 bool WindowManagerAccessPolicy::CanEmbed(const ServerView* view) const {
56 return view->id().connection_id == connection_id_;
60 const ServerView* view) const {
61 return view->id().connection_id == connection_id_;
65 const ServerView* view) const {
66 if (delegate_->IsViewRootOfAnotherConnectionForAccessPolicy(view))
68 return view->id().connection_id == connection_id_ ||
70 ViewIdToTransportId(view->id())) > 0);
73 bool WindowManagerAccessPolicy::CanSetViewBounds(const ServerView* view) const {
74 return view->id().connection_id == connection_id_;
78 const ServerView* view,
81 // Notify if we've already told the window manager about the view, or if we've
83 // case of a view that wasn't parented to the root getting added to the root.
84 return IsViewKnown(view) || (*new_parent && IsViewKnown(*new_parent));
87 bool WindowManagerAccessPolicy::IsViewKnown(const ServerView* view) const {
88 return delegate_->IsViewKnownForAccessPolicy(view);