| Index: components/mus/ws/window_manager_access_policy.cc
|
| diff --git a/components/mus/ws/window_manager_access_policy.cc b/components/mus/ws/window_manager_access_policy.cc
|
| index dccd059f0ee56a1ad5dee86253389d60c90f13ea..d1a8553d8268cb3ed2ff790860b628110216de80 100644
|
| --- a/components/mus/ws/window_manager_access_policy.cc
|
| +++ b/components/mus/ws/window_manager_access_policy.cc
|
| @@ -19,28 +19,28 @@ WindowManagerAccessPolicy::WindowManagerAccessPolicy(
|
|
|
| WindowManagerAccessPolicy::~WindowManagerAccessPolicy() {}
|
|
|
| -bool WindowManagerAccessPolicy::CanRemoveViewFromParent(
|
| +bool WindowManagerAccessPolicy::CanRemoveWindowFromParent(
|
| const ServerView* view) const {
|
| return true;
|
| }
|
|
|
| -bool WindowManagerAccessPolicy::CanAddView(const ServerView* parent,
|
| - const ServerView* child) const {
|
| +bool WindowManagerAccessPolicy::CanAddWindow(const ServerView* parent,
|
| + const ServerView* child) const {
|
| return true;
|
| }
|
|
|
| -bool WindowManagerAccessPolicy::CanReorderView(
|
| +bool WindowManagerAccessPolicy::CanReorderWindow(
|
| const ServerView* view,
|
| const ServerView* relative_view,
|
| - mojo::OrderDirection direction) const {
|
| + mojom::OrderDirection direction) const {
|
| return true;
|
| }
|
|
|
| -bool WindowManagerAccessPolicy::CanDeleteView(const ServerView* view) const {
|
| +bool WindowManagerAccessPolicy::CanDeleteWindow(const ServerView* view) const {
|
| return view->id().connection_id == connection_id_;
|
| }
|
|
|
| -bool WindowManagerAccessPolicy::CanGetViewTree(const ServerView* view) const {
|
| +bool WindowManagerAccessPolicy::CanGetWindowTree(const ServerView* view) const {
|
| return true;
|
| }
|
|
|
| @@ -69,16 +69,17 @@ bool WindowManagerAccessPolicy::CanSetWindowSurfaceId(
|
| (delegate_->IsRootForAccessPolicy(view->id()));
|
| }
|
|
|
| -bool WindowManagerAccessPolicy::CanSetViewBounds(const ServerView* view) const {
|
| +bool WindowManagerAccessPolicy::CanSetWindowBounds(
|
| + const ServerView* view) const {
|
| return view->id().connection_id == connection_id_;
|
| }
|
|
|
| -bool WindowManagerAccessPolicy::CanSetViewProperties(
|
| +bool WindowManagerAccessPolicy::CanSetWindowProperties(
|
| const ServerView* view) const {
|
| return view->id().connection_id == connection_id_;
|
| }
|
|
|
| -bool WindowManagerAccessPolicy::CanSetViewTextInputState(
|
| +bool WindowManagerAccessPolicy::CanSetWindowTextInputState(
|
| const ServerView* view) const {
|
| return view->id().connection_id == connection_id_;
|
| }
|
|
|