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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 void OnAccelerator(uint32_t id, mus::mojom::EventPtr event); | 72 void OnAccelerator(uint32_t id, mus::mojom::EventPtr event); |
73 | 73 |
74 void AddRootWindowsObserver(RootWindowsObserver* observer); | 74 void AddRootWindowsObserver(RootWindowsObserver* observer); |
75 void RemoveRootWindowsObserver(RootWindowsObserver* observer); | 75 void RemoveRootWindowsObserver(RootWindowsObserver* observer); |
76 | 76 |
77 private: | 77 private: |
78 void OnAcceleratorRegistrarDestroyed(AcceleratorRegistrarImpl* registrar); | 78 void OnAcceleratorRegistrarDestroyed(AcceleratorRegistrarImpl* registrar); |
79 | 79 |
80 // mojo::ShellClient: | 80 // mojo::ShellClient: |
81 void Initialize(mojo::Shell* shell, const std::string& url, | 81 void Initialize(mojo::Shell* shell, const std::string& url, |
82 uint32_t id) override; | 82 uint32_t id, uint32_t user_id) override; |
83 bool AcceptConnection(mojo::Connection* connection) override; | 83 bool AcceptConnection(mojo::Connection* connection) override; |
84 | 84 |
85 // InterfaceFactory<mash::wm::mojom::UserWindowController>: | 85 // InterfaceFactory<mash::wm::mojom::UserWindowController>: |
86 void Create(mojo::Connection* connection, | 86 void Create(mojo::Connection* connection, |
87 mojo::InterfaceRequest<mash::wm::mojom::UserWindowController> | 87 mojo::InterfaceRequest<mash::wm::mojom::UserWindowController> |
88 request) override; | 88 request) override; |
89 | 89 |
90 // InterfaceFactory<mus::mojom::AcceleratorRegistrar>: | 90 // InterfaceFactory<mus::mojom::AcceleratorRegistrar>: |
91 void Create(mojo::Connection* connection, | 91 void Create(mojo::Connection* connection, |
92 mojo::InterfaceRequest<mus::mojom::AcceleratorRegistrar> request) | 92 mojo::InterfaceRequest<mus::mojom::AcceleratorRegistrar> request) |
(...skipping 28 matching lines...) Expand all Loading... |
121 | 121 |
122 base::ObserverList<RootWindowsObserver> root_windows_observers_; | 122 base::ObserverList<RootWindowsObserver> root_windows_observers_; |
123 | 123 |
124 DISALLOW_COPY_AND_ASSIGN(WindowManagerApplication); | 124 DISALLOW_COPY_AND_ASSIGN(WindowManagerApplication); |
125 }; | 125 }; |
126 | 126 |
127 } // namespace wm | 127 } // namespace wm |
128 } // namespace mash | 128 } // namespace mash |
129 | 129 |
130 #endif // MASH_WM_WINDOW_MANAGER_APPLICATION_H_ | 130 #endif // MASH_WM_WINDOW_MANAGER_APPLICATION_H_ |
OLD | NEW |