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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 | 77 |
78 mash::shell::mojom::Shell* mash_shell() { | 78 mash::shell::mojom::Shell* mash_shell() { |
79 return mash_shell_.get(); | 79 return mash_shell_.get(); |
80 } | 80 } |
81 | 81 |
82 private: | 82 private: |
83 void OnAcceleratorRegistrarDestroyed(AcceleratorRegistrarImpl* registrar); | 83 void OnAcceleratorRegistrarDestroyed(AcceleratorRegistrarImpl* registrar); |
84 | 84 |
85 // mojo::ShellClient: | 85 // mojo::ShellClient: |
86 void Initialize(mojo::Connector* connector, const std::string& url, | 86 void Initialize(mojo::Connector* connector, const std::string& url, |
87 uint32_t id, uint32_t user_id) override; | 87 const std::string& user_id, uint32_t id) override; |
88 bool AcceptConnection(mojo::Connection* connection) override; | 88 bool AcceptConnection(mojo::Connection* connection) override; |
89 | 89 |
90 // InterfaceFactory<mash::wm::mojom::UserWindowController>: | 90 // InterfaceFactory<mash::wm::mojom::UserWindowController>: |
91 void Create(mojo::Connection* connection, | 91 void Create(mojo::Connection* connection, |
92 mojo::InterfaceRequest<mash::wm::mojom::UserWindowController> | 92 mojo::InterfaceRequest<mash::wm::mojom::UserWindowController> |
93 request) override; | 93 request) override; |
94 | 94 |
95 // InterfaceFactory<mus::mojom::AcceleratorRegistrar>: | 95 // InterfaceFactory<mus::mojom::AcceleratorRegistrar>: |
96 void Create(mojo::Connection* connection, | 96 void Create(mojo::Connection* connection, |
97 mojo::InterfaceRequest<mus::mojom::AcceleratorRegistrar> request) | 97 mojo::InterfaceRequest<mus::mojom::AcceleratorRegistrar> request) |
(...skipping 30 matching lines...) Expand all Loading... |
128 | 128 |
129 base::ObserverList<RootWindowsObserver> root_windows_observers_; | 129 base::ObserverList<RootWindowsObserver> root_windows_observers_; |
130 | 130 |
131 DISALLOW_COPY_AND_ASSIGN(WindowManagerApplication); | 131 DISALLOW_COPY_AND_ASSIGN(WindowManagerApplication); |
132 }; | 132 }; |
133 | 133 |
134 } // namespace wm | 134 } // namespace wm |
135 } // namespace mash | 135 } // namespace mash |
136 | 136 |
137 #endif // MASH_WM_WINDOW_MANAGER_APPLICATION_H_ | 137 #endif // MASH_WM_WINDOW_MANAGER_APPLICATION_H_ |
OLD | NEW |