Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(29)

Unified Diff: components/mus/public/cpp/view_property.h

Issue 1344573002: Mandoline: Rename components/view_manager to components/mus (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 96%
rename from components/view_manager/public/cpp/view_property.h
rename to components/mus/public/cpp/view_property.h
index 013eef45c4cf32fa35764626bead428dbee4def8..eb52b010ce9ef5588967c4d484070307773fffe6 100644
--- a/components/view_manager/public/cpp/view_property.h
+++ b/components/mus/public/cpp/view_property.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,8 +131,7 @@ 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;

Powered by Google App Engine
This is Rietveld 408576698