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

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: Rebased 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
« no previous file with comments | « components/mus/public/cpp/view_observer.h ('k') | components/mus/public/cpp/view_surface.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « components/mus/public/cpp/view_observer.h ('k') | components/mus/public/cpp/view_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698