OLD | NEW |
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 Loading... |
83 return mash_shell_.get(); | 83 return mash_shell_.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 Loading... |
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_ |
OLD | NEW |