Index: components/mus/public/cpp/view_observer.h |
diff --git a/components/mus/public/cpp/view_observer.h b/components/mus/public/cpp/view_observer.h |
index 2bd541be76323eeec0f5168f980f6ca293070d39..8c0dd25ee1068d0aa0d9039fa804706daebfda13 100644 |
--- a/components/mus/public/cpp/view_observer.h |
+++ b/components/mus/public/cpp/view_observer.h |
@@ -10,7 +10,7 @@ |
#include "components/mus/public/cpp/view.h" |
#include "ui/mojo/events/input_events.mojom.h" |
-namespace mus { |
+namespace mojo { |
class View; |
@@ -39,29 +39,29 @@ |
virtual void OnViewReordering(View* view, |
View* relative_view, |
- mojo::OrderDirection direction) {} |
+ OrderDirection direction) {} |
virtual void OnViewReordered(View* view, |
View* relative_view, |
- mojo::OrderDirection direction) {} |
+ OrderDirection direction) {} |
virtual void OnViewDestroying(View* view) {} |
virtual void OnViewDestroyed(View* view) {} |
virtual void OnViewBoundsChanging(View* view, |
- const mojo::Rect& old_bounds, |
- const mojo::Rect& new_bounds) {} |
+ const Rect& old_bounds, |
+ const Rect& new_bounds) {} |
virtual void OnViewBoundsChanged(View* view, |
- const mojo::Rect& old_bounds, |
- const mojo::Rect& new_bounds) {} |
+ const Rect& old_bounds, |
+ const Rect& new_bounds) {} |
virtual void OnViewViewportMetricsChanged( |
View* view, |
- const mojo::ViewportMetrics& old_metrics, |
- const mojo::ViewportMetrics& new_metrics) {} |
+ const ViewportMetrics& old_metrics, |
+ const ViewportMetrics& new_metrics) {} |
virtual void OnViewFocusChanged(View* gained_focus, View* lost_focus) {} |
- virtual void OnViewInputEvent(View* view, const mojo::EventPtr& event) {} |
+ virtual void OnViewInputEvent(View* view, const EventPtr& event) {} |
virtual void OnViewVisibilityChanging(View* view) {} |
virtual void OnViewVisibilityChanged(View* view) {} |
@@ -97,6 +97,6 @@ |
virtual ~ViewObserver() {} |
}; |
-} // namespace mus |
+} // namespace mojo |
#endif // COMPONENTS_MUS_PUBLIC_CPP_VIEW_OBSERVER_H_ |