| 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/node_private.h" | 5 #include "mojo/services/public/cpp/view_manager/lib/node_private.h" |
| 6 | 6 |
| 7 namespace mojo { | 7 namespace mojo { |
| 8 namespace view_manager { | |
| 9 | 8 |
| 10 NodePrivate::NodePrivate(Node* node) | 9 NodePrivate::NodePrivate(Node* node) |
| 11 : node_(node) { | 10 : node_(node) { |
| 12 } | 11 } |
| 13 | 12 |
| 14 NodePrivate::~NodePrivate() { | 13 NodePrivate::~NodePrivate() { |
| 15 } | 14 } |
| 16 | 15 |
| 17 // static | 16 // static |
| 18 Node* NodePrivate::LocalCreate() { | 17 Node* NodePrivate::LocalCreate() { |
| 19 return new Node; | 18 return new Node; |
| 20 } | 19 } |
| 21 | 20 |
| 22 } // namespace view_manager | |
| 23 } // namespace mojo | 21 } // namespace mojo |
| OLD | NEW |