Index: mojo/services/view_manager/view.cc |
diff --git a/mojo/services/public/cpp/view_manager/lib/view_tree_node_private.cc b/mojo/services/view_manager/view.cc |
similarity index 59% |
copy from mojo/services/public/cpp/view_manager/lib/view_tree_node_private.cc |
copy to mojo/services/view_manager/view.cc |
index a1c3a40ac9f84a3cf0a4ae1dd2e7a8b2989c673c..0e9fc13abb3d54f014a17f7e9891bdd1efdc350a 100644 |
--- a/mojo/services/public/cpp/view_manager/lib/view_tree_node_private.cc |
+++ b/mojo/services/view_manager/view.cc |
@@ -2,17 +2,17 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "mojo/services/public/cpp/view_manager/lib/view_tree_node_private.h" |
+#include "mojo/services/view_manager/view.h" |
+ |
+#include "mojo/services/view_manager/node.h" |
namespace mojo { |
namespace services { |
namespace view_manager { |
-ViewTreeNodePrivate::ViewTreeNodePrivate(ViewTreeNode* node) |
- : node_(node) { |
-} |
+View::View(const ViewId& id) : id_(id), node_(NULL) {} |
-ViewTreeNodePrivate::~ViewTreeNodePrivate() { |
+View::~View() { |
} |
} // namespace view_manager |