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

Side by Side Diff: mash/wm/window_manager_application.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 | « mash/quick_launch/quick_launch_application.cc ('k') | mash/wm/window_manager_application.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 MASH_WM_WINDOW_MANAGER_APPLICATION_H_ 5 #ifndef MASH_WM_WINDOW_MANAGER_APPLICATION_H_
6 #define MASH_WM_WINDOW_MANAGER_APPLICATION_H_ 6 #define MASH_WM_WINDOW_MANAGER_APPLICATION_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <set> 10 #include <set>
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 return session_.get(); 83 return session_.get();
84 } 84 }
85 85
86 private: 86 private:
87 void OnAcceleratorRegistrarDestroyed(AcceleratorRegistrarImpl* registrar); 87 void OnAcceleratorRegistrarDestroyed(AcceleratorRegistrarImpl* registrar);
88 88
89 // mojo::ShellClient: 89 // mojo::ShellClient:
90 void Initialize(mojo::Connector* connector, const mojo::Identity& identity, 90 void Initialize(mojo::Connector* connector, const mojo::Identity& identity,
91 uint32_t id) override; 91 uint32_t id) override;
92 bool AcceptConnection(mojo::Connection* connection) override; 92 bool AcceptConnection(mojo::Connection* connection) override;
93 void ShellConnectionLost() override;
94 93
95 // InterfaceFactory<mash::wm::mojom::UserWindowController>: 94 // InterfaceFactory<mash::wm::mojom::UserWindowController>:
96 void Create(mojo::Connection* connection, 95 void Create(mojo::Connection* connection,
97 mojo::InterfaceRequest<mash::wm::mojom::UserWindowController> 96 mojo::InterfaceRequest<mash::wm::mojom::UserWindowController>
98 request) override; 97 request) override;
99 98
100 // InterfaceFactory<mus::mojom::AcceleratorRegistrar>: 99 // InterfaceFactory<mus::mojom::AcceleratorRegistrar>:
101 void Create(mojo::Connection* connection, 100 void Create(mojo::Connection* connection,
102 mojo::InterfaceRequest<mus::mojom::AcceleratorRegistrar> request) 101 mojo::InterfaceRequest<mus::mojom::AcceleratorRegistrar> request)
103 override; 102 override;
(...skipping 29 matching lines...) Expand all
133 132
134 base::ObserverList<RootWindowsObserver> root_windows_observers_; 133 base::ObserverList<RootWindowsObserver> root_windows_observers_;
135 134
136 DISALLOW_COPY_AND_ASSIGN(WindowManagerApplication); 135 DISALLOW_COPY_AND_ASSIGN(WindowManagerApplication);
137 }; 136 };
138 137
139 } // namespace wm 138 } // namespace wm
140 } // namespace mash 139 } // namespace mash
141 140
142 #endif // MASH_WM_WINDOW_MANAGER_APPLICATION_H_ 141 #endif // MASH_WM_WINDOW_MANAGER_APPLICATION_H_
OLDNEW
« no previous file with comments | « mash/quick_launch/quick_launch_application.cc ('k') | mash/wm/window_manager_application.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698