Index: components/mus/public/cpp/view_property.h |
diff --git a/components/view_manager/public/cpp/view_property.h b/components/mus/public/cpp/view_property.h |
similarity index 93% |
rename from components/view_manager/public/cpp/view_property.h |
rename to components/mus/public/cpp/view_property.h |
index 013eef45c4cf32fa35764626bead428dbee4def8..fee92e7654b7a0118eeb91b14aac3486ca3b6047 100644 |
--- a/components/view_manager/public/cpp/view_property.h |
+++ b/components/mus/public/cpp/view_property.h |
@@ -2,8 +2,8 @@ |
// 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_VIEW_PROPERTY_H_ |
-#define COMPONENTS_VIEW_MANAGER_PUBLIC_CPP_VIEW_PROPERTY_H_ |
+#ifndef COMPONENTS_MUS_PUBLIC_CPP_VIEW_PROPERTY_H_ |
+#define COMPONENTS_MUS_PUBLIC_CPP_VIEW_PROPERTY_H_ |
#include <stdint.h> |
@@ -12,7 +12,7 @@ |
// |
// To define a new ViewProperty: |
// |
-// #include "components/view_manager/public/cpp/view_property.h" |
+// #include "components/mus/public/cpp/view_property.h" |
// |
// DECLARE_EXPORTED_VIEW_PROPERTY_TYPE(FOO_EXPORT, MyType); |
// namespace foo { |
@@ -131,10 +131,9 @@ void View::ClearLocalProperty(const ViewProperty<T>* property) { |
enum { type_must_be_complete = sizeof(TYPE) }; \ |
delete mojo::ViewPropertyCaster<TYPE*>::FromInt64(p); \ |
} \ |
- const mojo::ViewProperty<TYPE*> NAME##_Value = {DEFAULT, \ |
- #NAME, \ |
+ const mojo::ViewProperty<TYPE*> NAME##_Value = {DEFAULT, #NAME, \ |
&Deallocator##NAME}; \ |
} \ |
const mojo::ViewProperty<TYPE*>* const NAME = &NAME##_Value; |
-#endif // COMPONENTS_VIEW_MANAGER_PUBLIC_CPP_VIEW_PROPERTY_H_ |
+#endif // COMPONENTS_MUS_PUBLIC_CPP_VIEW_PROPERTY_H_ |