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 ASH_MUS_WINDOW_MANAGER_APPLICATION_H_ | 5 #ifndef ASH_MUS_WINDOW_MANAGER_APPLICATION_H_ |
6 #define ASH_MUS_WINDOW_MANAGER_APPLICATION_H_ | 6 #define ASH_MUS_WINDOW_MANAGER_APPLICATION_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 | 65 |
66 void InitWindowManager(::ui::WindowTreeClient* window_tree_client); | 66 void InitWindowManager(::ui::WindowTreeClient* window_tree_client); |
67 | 67 |
68 // shell::Service: | 68 // shell::Service: |
69 void OnStart(shell::Connector* connector, | 69 void OnStart(shell::Connector* connector, |
70 const shell::Identity& identity, | 70 const shell::Identity& identity, |
71 uint32_t id) override; | 71 uint32_t id) override; |
72 bool OnConnect(shell::Connection* connection) override; | 72 bool OnConnect(shell::Connection* connection) override; |
73 | 73 |
74 // shell::InterfaceFactory<mojom::ShelfLayout>: | 74 // shell::InterfaceFactory<mojom::ShelfLayout>: |
75 void Create(shell::Connection* connection, | 75 void Create(const shell::Identity& remote_identity, |
76 mojo::InterfaceRequest<mojom::ShelfLayout> request) override; | 76 mojo::InterfaceRequest<mojom::ShelfLayout> request) override; |
77 | 77 |
78 // shell::InterfaceFactory<mojom::UserWindowController>: | 78 // shell::InterfaceFactory<mojom::UserWindowController>: |
79 void Create( | 79 void Create( |
80 shell::Connection* connection, | 80 const shell::Identity& remote_identity, |
81 mojo::InterfaceRequest<mojom::UserWindowController> request) override; | 81 mojo::InterfaceRequest<mojom::UserWindowController> request) override; |
82 | 82 |
83 // shell::InterfaceFactory<ui::mojom::AcceleratorRegistrar>: | 83 // shell::InterfaceFactory<ui::mojom::AcceleratorRegistrar>: |
84 void Create(shell::Connection* connection, | 84 void Create(const shell::Identity& remote_identity, |
85 mojo::InterfaceRequest<::ui::mojom::AcceleratorRegistrar> request) | 85 mojo::InterfaceRequest<::ui::mojom::AcceleratorRegistrar> request) |
86 override; | 86 override; |
87 | 87 |
88 // session::mojom::ScreenlockStateListener: | 88 // session::mojom::ScreenlockStateListener: |
89 void ScreenlockStateChanged(bool locked) override; | 89 void ScreenlockStateChanged(bool locked) override; |
90 | 90 |
91 // WindowManagerObserver: | 91 // WindowManagerObserver: |
92 void OnRootWindowControllerAdded(RootWindowController* controller) override; | 92 void OnRootWindowControllerAdded(RootWindowController* controller) override; |
93 void OnWillDestroyRootWindowController( | 93 void OnWillDestroyRootWindowController( |
94 RootWindowController* controller) override; | 94 RootWindowController* controller) override; |
(...skipping 28 matching lines...) Expand all Loading... |
123 mojo::Binding<mash::session::mojom::ScreenlockStateListener> | 123 mojo::Binding<mash::session::mojom::ScreenlockStateListener> |
124 screenlock_state_listener_binding_; | 124 screenlock_state_listener_binding_; |
125 | 125 |
126 DISALLOW_COPY_AND_ASSIGN(WindowManagerApplication); | 126 DISALLOW_COPY_AND_ASSIGN(WindowManagerApplication); |
127 }; | 127 }; |
128 | 128 |
129 } // namespace mus | 129 } // namespace mus |
130 } // namespace ash | 130 } // namespace ash |
131 | 131 |
132 #endif // ASH_MUS_WINDOW_MANAGER_APPLICATION_H_ | 132 #endif // ASH_MUS_WINDOW_MANAGER_APPLICATION_H_ |
OLD | NEW |