Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1405)

Side by Side Diff: mojo/public/cpp/application/lib/application_impl_chromium.cc

Issue 394903005: mojo: terminate apps if the shell goes away (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase again! Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 "base/message_loop/message_loop.h"
6 6 #include "mojo/public/cpp/application/application_impl.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 base::MessageLoop::current()->Quit();
jamesr 2014/07/24 19:52:44 hmm, in core_window_manager_unittests this blows u
13 }
14
15 ViewsInit::~ViewsInit() {
16 } 12 }
17 13
18 } // namespace mojo 14 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/public/cpp/application/lib/application_impl.cc ('k') | mojo/public/cpp/application/lib/application_impl_standalone.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698