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

Unified Diff: services/window_manager/window_manager_test_util.cc

Issue 788453002: Put code in //services/window_manager in namespace window_manager (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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
Index: services/window_manager/window_manager_test_util.cc
diff --git a/services/window_manager/window_manager_test_util.cc b/services/window_manager/window_manager_test_util.cc
index ac4db27613a1a430f2c8651050584f9a229e3ca8..3f0a50b638435a1d46905837a99cfdda8e7b2cac 100644
--- a/services/window_manager/window_manager_test_util.cc
+++ b/services/window_manager/window_manager_test_util.cc
@@ -8,11 +8,11 @@
#include "mojo/converters/geometry/geometry_type_converters.h"
#include "ui/gfx/geometry/rect.h"
-namespace mojo {
+namespace window_manager {
TestView::TestView(int id, const gfx::Rect& rect)
: target_(new ViewTarget(this)) {
- ViewPrivate(this).set_id(id);
+ mojo::ViewPrivate(this).set_id(id);
mojo::Rect mojo_rect = *mojo::Rect::From(rect);
SetBounds(mojo_rect);
@@ -32,8 +32,8 @@ TestView* TestView::Build(int id, const gfx::Rect& rect) {
}
// static
-TestView* TestView::Build(int id, const gfx::Rect& rect, View* parent) {
+TestView* TestView::Build(int id, const gfx::Rect& rect, mojo::View* parent) {
return new TestView(id, rect, parent);
}
-} // namespace mojo
+} // namespace window_manager
« no previous file with comments | « services/window_manager/window_manager_test_util.h ('k') | services/window_manager/window_manager_unittests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698