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

Side by Side Diff: components/mus/mus_app.h

Issue 1819063002: Quit the message loop by default in ShellConnectionLost when ApplicationRunner is used (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge and update resourceproviderunittest Created 4 years, 9 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
« no previous file with comments | « components/leveldb/leveldb_app.cc ('k') | components/mus/mus_app.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef COMPONENTS_MUS_MUS_APP_H_ 5 #ifndef COMPONENTS_MUS_MUS_APP_H_
6 #define COMPONENTS_MUS_MUS_APP_H_ 6 #define COMPONENTS_MUS_MUS_APP_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 // TODO(sky): if we allow removal of user ids then we need to close anything 68 // TODO(sky): if we allow removal of user ids then we need to close anything
69 // associated with the user (all incoming pipes...) on removal. 69 // associated with the user (all incoming pipes...) on removal.
70 UserState* GetUserState(mojo::Connection* connection); 70 UserState* GetUserState(mojo::Connection* connection);
71 71
72 void AddUserIfNecessary(mojo::Connection* connection); 72 void AddUserIfNecessary(mojo::Connection* connection);
73 73
74 // mojo::ShellClient: 74 // mojo::ShellClient:
75 void Initialize(mojo::Connector* connector, const mojo::Identity& identity, 75 void Initialize(mojo::Connector* connector, const mojo::Identity& identity,
76 uint32_t id) override; 76 uint32_t id) override;
77 bool AcceptConnection(mojo::Connection* connection) override; 77 bool AcceptConnection(mojo::Connection* connection) override;
78 void ShellConnectionLost() override;
79 78
80 // WindowServerDelegate: 79 // WindowServerDelegate:
81 void OnFirstDisplayReady() override; 80 void OnFirstDisplayReady() override;
82 void OnNoMoreDisplays() override; 81 void OnNoMoreDisplays() override;
83 scoped_ptr<ws::WindowTreeBinding> CreateWindowTreeBindingForEmbedAtWindow( 82 scoped_ptr<ws::WindowTreeBinding> CreateWindowTreeBindingForEmbedAtWindow(
84 ws::WindowServer* window_server, 83 ws::WindowServer* window_server,
85 ws::WindowTree* tree, 84 ws::WindowTree* tree,
86 mojom::WindowTreeRequest tree_request, 85 mojom::WindowTreeRequest tree_request,
87 mojom::WindowTreeClientPtr client) override; 86 mojom::WindowTreeClientPtr client) override;
88 void CreateDefaultDisplays() override; 87 void CreateDefaultDisplays() override;
(...skipping 29 matching lines...) Expand all
118 PendingRequests pending_requests_; 117 PendingRequests pending_requests_;
119 118
120 UserIdToUserState user_id_to_user_state_; 119 UserIdToUserState user_id_to_user_state_;
121 120
122 DISALLOW_COPY_AND_ASSIGN(MandolineUIServicesApp); 121 DISALLOW_COPY_AND_ASSIGN(MandolineUIServicesApp);
123 }; 122 };
124 123
125 } // namespace mus 124 } // namespace mus
126 125
127 #endif // COMPONENTS_MUS_MUS_APP_H_ 126 #endif // COMPONENTS_MUS_MUS_APP_H_
OLDNEW
« no previous file with comments | « components/leveldb/leveldb_app.cc ('k') | components/mus/mus_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698