Index: components/mus/public/cpp/lib/view_private.h |
diff --git a/components/view_manager/public/cpp/lib/view_private.h b/components/mus/public/cpp/lib/view_private.h |
similarity index 74% |
rename from components/view_manager/public/cpp/lib/view_private.h |
rename to components/mus/public/cpp/lib/view_private.h |
index a95296f0ce569f3c8c2cd55a2843e31922a9c248..4938d706935ee4f5dadcdf0a74ab836b6f0059b6 100644 |
--- a/components/view_manager/public/cpp/lib/view_private.h |
+++ b/components/mus/public/cpp/lib/view_private.h |
@@ -2,10 +2,10 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef COMPONENTS_VIEW_MANAGER_PUBLIC_CPP_LIB_VIEW_PRIVATE_H_ |
-#define COMPONENTS_VIEW_MANAGER_PUBLIC_CPP_LIB_VIEW_PRIVATE_H_ |
+#ifndef COMPONENTS_MUS_PUBLIC_CPP_LIB_VIEW_PRIVATE_H_ |
+#define COMPONENTS_MUS_PUBLIC_CPP_LIB_VIEW_PRIVATE_H_ |
-#include "components/view_manager/public/cpp/view.h" |
+#include "components/mus/public/cpp/view.h" |
namespace mojo { |
@@ -42,20 +42,13 @@ class ViewPrivate { |
view_->LocalSetViewportMetrics(new_metrics, new_metrics); |
} |
- void LocalDestroy() { |
- view_->LocalDestroy(); |
- } |
- void LocalAddChild(View* child) { |
- view_->LocalAddChild(child); |
- } |
- void LocalRemoveChild(View* child) { |
- view_->LocalRemoveChild(child); |
- } |
+ void LocalDestroy() { view_->LocalDestroy(); } |
+ void LocalAddChild(View* child) { view_->LocalAddChild(child); } |
+ void LocalRemoveChild(View* child) { view_->LocalRemoveChild(child); } |
void LocalReorder(View* relative, OrderDirection direction) { |
view_->LocalReorder(relative, direction); |
} |
- void LocalSetBounds(const Rect& old_bounds, |
- const Rect& new_bounds) { |
+ void LocalSetBounds(const Rect& old_bounds, const Rect& new_bounds) { |
view_->LocalSetBounds(old_bounds, new_bounds); |
} |
void LocalSetDrawn(bool drawn) { view_->LocalSetDrawn(drawn); } |
@@ -69,4 +62,4 @@ class ViewPrivate { |
} // namespace mojo |
-#endif // COMPONENTS_VIEW_MANAGER_PUBLIC_CPP_LIB_VIEW_PRIVATE_H_ |
+#endif // COMPONENTS_MUS_PUBLIC_CPP_LIB_VIEW_PRIVATE_H_ |