Index: components/mus/window_manager_access_policy.cc |
diff --git a/components/view_manager/window_manager_access_policy.cc b/components/mus/window_manager_access_policy.cc |
similarity index 90% |
rename from components/view_manager/window_manager_access_policy.cc |
rename to components/mus/window_manager_access_policy.cc |
index 7a6751c7f23d524b629ad7ae1453ee06a251015e..5d350db508d5a3f16cc57d7fca2f4fd0a758c468 100644 |
--- a/components/view_manager/window_manager_access_policy.cc |
+++ b/components/mus/window_manager_access_policy.cc |
@@ -2,10 +2,10 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "components/view_manager/window_manager_access_policy.h" |
+#include "components/mus/window_manager_access_policy.h" |
-#include "components/view_manager/access_policy_delegate.h" |
-#include "components/view_manager/server_view.h" |
+#include "components/mus/access_policy_delegate.h" |
+#include "components/mus/server_view.h" |
namespace view_manager { |
@@ -15,11 +15,9 @@ namespace view_manager { |
WindowManagerAccessPolicy::WindowManagerAccessPolicy( |
mojo::ConnectionSpecificId connection_id, |
AccessPolicyDelegate* delegate) |
- : connection_id_(connection_id), delegate_(delegate) { |
-} |
+ : connection_id_(connection_id), delegate_(delegate) {} |
-WindowManagerAccessPolicy::~WindowManagerAccessPolicy() { |
-} |
+WindowManagerAccessPolicy::~WindowManagerAccessPolicy() {} |
bool WindowManagerAccessPolicy::CanRemoveViewFromParent( |
const ServerView* view) const { |
@@ -59,7 +57,7 @@ bool WindowManagerAccessPolicy::CanChangeViewVisibility( |
const ServerView* view) const { |
// The WindowManager can change the visibility of the root too. |
return view->id().connection_id == connection_id_ || |
- (view->GetRoot() == view); |
+ (view->GetRoot() == view); |
} |
bool WindowManagerAccessPolicy::CanSetViewSurfaceId( |