| 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/views/views_init.h" | 5 #include "mojo/public/cpp/application/application_impl.h" |
| 6 | 6 #include "mojo/public/cpp/utility/run_loop.h" |
| 7 #include "mojo/views/views_init_internal.h" | |
| 8 | 7 |
| 9 namespace mojo { | 8 namespace mojo { |
| 10 | 9 |
| 11 ViewsInit::ViewsInit() { | 10 void ApplicationImpl::Terminate() { |
| 12 InitViews(); | 11 mojo::RunLoop::current()->Quit(); |
| 13 } | |
| 14 | |
| 15 ViewsInit::~ViewsInit() { | |
| 16 } | 12 } |
| 17 | 13 |
| 18 } // namespace mojo | 14 } // namespace mojo |
| OLD | NEW |