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 "components/mus/public/cpp/lib/view_private.h" | 5 #include "components/mus/public/cpp/lib/view_private.h" |
6 | 6 |
7 namespace mojo { | 7 namespace mus { |
8 | 8 |
9 ViewPrivate::ViewPrivate(View* view) : view_(view) { | 9 ViewPrivate::ViewPrivate(View* view) : view_(view) { |
10 CHECK(view); | 10 CHECK(view); |
11 } | 11 } |
12 | 12 |
13 ViewPrivate::~ViewPrivate() {} | 13 ViewPrivate::~ViewPrivate() {} |
14 | 14 |
15 // static | 15 // static |
16 View* ViewPrivate::LocalCreate() { | 16 View* ViewPrivate::LocalCreate() { |
17 return new View; | 17 return new View; |
18 } | 18 } |
19 | 19 |
20 } // namespace mojo | 20 } // namespace mus |
OLD | NEW |