OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "mojo/services/public/cpp/view_manager/lib/view_tree_node_private.h" | 5 #include "mojo/services/view_manager/view.h" |
| 6 |
| 7 #include "mojo/services/view_manager/node.h" |
6 | 8 |
7 namespace mojo { | 9 namespace mojo { |
8 namespace services { | 10 namespace services { |
9 namespace view_manager { | 11 namespace view_manager { |
10 | 12 |
11 ViewTreeNodePrivate::ViewTreeNodePrivate(ViewTreeNode* node) | 13 View::View(const ViewId& id) : id_(id), node_(NULL) {} |
12 : node_(node) { | |
13 } | |
14 | 14 |
15 ViewTreeNodePrivate::~ViewTreeNodePrivate() { | 15 View::~View() { |
16 } | 16 } |
17 | 17 |
18 } // namespace view_manager | 18 } // namespace view_manager |
19 } // namespace services | 19 } // namespace services |
20 } // namespace mojo | 20 } // namespace mojo |
OLD | NEW |