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

Unified Diff: components/mus/public/cpp/view_observer.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.h ('k') | components/mus/public/cpp/view_property.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/public/cpp/view_observer.h
diff --git a/components/view_manager/public/cpp/view_observer.h b/components/mus/public/cpp/view_observer.h
similarity index 90%
rename from components/view_manager/public/cpp/view_observer.h
rename to components/mus/public/cpp/view_observer.h
index 0174ac00e8951373e84582355975a4c32128436a..8c0dd25ee1068d0aa0d9039fa804706daebfda13 100644
--- a/components/view_manager/public/cpp/view_observer.h
+++ b/components/mus/public/cpp/view_observer.h
@@ -2,12 +2,12 @@
// 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_OBSERVER_H_
-#define COMPONENTS_VIEW_MANAGER_PUBLIC_CPP_VIEW_OBSERVER_H_
+#ifndef COMPONENTS_MUS_PUBLIC_CPP_VIEW_OBSERVER_H_
+#define COMPONENTS_MUS_PUBLIC_CPP_VIEW_OBSERVER_H_
#include <vector>
-#include "components/view_manager/public/cpp/view.h"
+#include "components/mus/public/cpp/view.h"
#include "ui/mojo/events/input_events.mojom.h"
namespace mojo {
@@ -82,10 +82,9 @@ class ViewObserver {
// way, it can simply be compared for equality with the property
// constant. |old| is the old property value, which must be cast to the
// appropriate type before use.
- virtual void OnViewLocalPropertyChanged(
- View* view,
- const void* key,
- intptr_t old) {}
+ virtual void OnViewLocalPropertyChanged(View* view,
+ const void* key,
+ intptr_t old) {}
virtual void OnViewEmbeddedAppDisconnected(View* view) {}
@@ -100,4 +99,4 @@ class ViewObserver {
} // namespace mojo
-#endif // COMPONENTS_VIEW_MANAGER_PUBLIC_CPP_VIEW_OBSERVER_H_
+#endif // COMPONENTS_MUS_PUBLIC_CPP_VIEW_OBSERVER_H_
« no previous file with comments | « components/mus/public/cpp/view.h ('k') | components/mus/public/cpp/view_property.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698