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

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

Issue 1351013002: Revert of Mandoline UI Process: Update namespaces and file names (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
« 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/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_
« 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