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

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

Issue 1340983002: Mandoline UI Process: Update namespaces and file names (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/mus/public/cpp/view_observer.h b/components/mus/public/cpp/view_observer.h
index 8c0dd25ee1068d0aa0d9039fa804706daebfda13..2bd541be76323eeec0f5168f980f6ca293070d39 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 mojo {
+namespace mus {
class View;
@@ -39,29 +39,29 @@ class ViewObserver {
virtual void OnViewReordering(View* view,
View* relative_view,
- OrderDirection direction) {}
+ mojo::OrderDirection direction) {}
virtual void OnViewReordered(View* view,
View* relative_view,
- OrderDirection direction) {}
+ mojo::OrderDirection direction) {}
virtual void OnViewDestroying(View* view) {}
virtual void OnViewDestroyed(View* view) {}
virtual void OnViewBoundsChanging(View* view,
- const Rect& old_bounds,
- const Rect& new_bounds) {}
+ const mojo::Rect& old_bounds,
+ const mojo::Rect& new_bounds) {}
virtual void OnViewBoundsChanged(View* view,
- const Rect& old_bounds,
- const Rect& new_bounds) {}
+ const mojo::Rect& old_bounds,
+ const mojo::Rect& new_bounds) {}
virtual void OnViewViewportMetricsChanged(
View* view,
- const ViewportMetrics& old_metrics,
- const ViewportMetrics& new_metrics) {}
+ const mojo::ViewportMetrics& old_metrics,
+ const mojo::ViewportMetrics& new_metrics) {}
virtual void OnViewFocusChanged(View* gained_focus, View* lost_focus) {}
- virtual void OnViewInputEvent(View* view, const EventPtr& event) {}
+ virtual void OnViewInputEvent(View* view, const mojo::EventPtr& event) {}
virtual void OnViewVisibilityChanging(View* view) {}
virtual void OnViewVisibilityChanged(View* view) {}
@@ -97,6 +97,6 @@ class ViewObserver {
virtual ~ViewObserver() {}
};
-} // namespace mojo
+} // namespace mus
#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