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

Unified Diff: components/mus/public/cpp/lib/view_private.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/lib/view_observer.cc ('k') | components/mus/public/cpp/lib/view_private.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/public/cpp/lib/view_private.h
diff --git a/components/mus/public/cpp/lib/view_private.h b/components/mus/public/cpp/lib/view_private.h
index 4938d706935ee4f5dadcdf0a74ab836b6f0059b6..56b20aaf4653e560e965593fd9f140e685f0bbb5 100644
--- a/components/mus/public/cpp/lib/view_private.h
+++ b/components/mus/public/cpp/lib/view_private.h
@@ -7,7 +7,7 @@
#include "components/mus/public/cpp/view.h"
-namespace mojo {
+namespace mus {
// This class is a friend of a View and contains functions to mutate internal
// state of View.
@@ -37,18 +37,19 @@ class ViewPrivate {
view_->properties_ = data;
}
- void LocalSetViewportMetrics(const ViewportMetrics& old_metrics,
- const ViewportMetrics& new_metrics) {
+ void LocalSetViewportMetrics(const mojo::ViewportMetrics& old_metrics,
+ const mojo::ViewportMetrics& new_metrics) {
view_->LocalSetViewportMetrics(new_metrics, new_metrics);
}
void LocalDestroy() { view_->LocalDestroy(); }
void LocalAddChild(View* child) { view_->LocalAddChild(child); }
void LocalRemoveChild(View* child) { view_->LocalRemoveChild(child); }
- void LocalReorder(View* relative, OrderDirection direction) {
+ void LocalReorder(View* relative, mojo::OrderDirection direction) {
view_->LocalReorder(relative, direction);
}
- void LocalSetBounds(const Rect& old_bounds, const Rect& new_bounds) {
+ void LocalSetBounds(const mojo::Rect& old_bounds,
+ const mojo::Rect& new_bounds) {
view_->LocalSetBounds(old_bounds, new_bounds);
}
void LocalSetDrawn(bool drawn) { view_->LocalSetDrawn(drawn); }
@@ -60,6 +61,6 @@ class ViewPrivate {
MOJO_DISALLOW_COPY_AND_ASSIGN(ViewPrivate);
};
-} // namespace mojo
+} // namespace mus
#endif // COMPONENTS_MUS_PUBLIC_CPP_LIB_VIEW_PRIVATE_H_
« no previous file with comments | « components/mus/public/cpp/lib/view_observer.cc ('k') | components/mus/public/cpp/lib/view_private.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698