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_SESSION_SESSION_H_ | 5 #ifndef MASH_SESSION_SESSION_H_ |
6 #define MASH_SESSION_SESSION_H_ | 6 #define MASH_SESSION_SESSION_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <memory> | 9 #include <memory> |
10 | 10 |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 void LockScreen() override; | 44 void LockScreen() override; |
45 void UnlockScreen() override; | 45 void UnlockScreen() override; |
46 | 46 |
47 // shell::InterfaceFactory<mojom::Session>: | 47 // shell::InterfaceFactory<mojom::Session>: |
48 void Create(const shell::Identity& remote_identity, | 48 void Create(const shell::Identity& remote_identity, |
49 mojom::SessionRequest request) override; | 49 mojom::SessionRequest request) override; |
50 | 50 |
51 void StartWindowManager(); | 51 void StartWindowManager(); |
52 void StartAppDriver(); | 52 void StartAppDriver(); |
53 void StartQuickLaunch(); | 53 void StartQuickLaunch(); |
| 54 void StartIMEDriver(); |
54 | 55 |
55 void StartScreenlock(); | 56 void StartScreenlock(); |
56 void StopScreenlock(); | 57 void StopScreenlock(); |
57 | 58 |
58 // Starts the application at |url|, running |restart_callback| if the | 59 // Starts the application at |url|, running |restart_callback| if the |
59 // connection to the application is closed. | 60 // connection to the application is closed. |
60 void StartRestartableService(const std::string& url, | 61 void StartRestartableService(const std::string& url, |
61 const base::Closure& restart_callback); | 62 const base::Closure& restart_callback); |
62 | 63 |
63 std::map<std::string, std::unique_ptr<shell::Connection>> connections_; | 64 std::map<std::string, std::unique_ptr<shell::Connection>> connections_; |
64 bool screen_locked_; | 65 bool screen_locked_; |
65 mojo::BindingSet<mojom::Session> bindings_; | 66 mojo::BindingSet<mojom::Session> bindings_; |
66 mojo::InterfacePtrSet<mojom::ScreenlockStateListener> screenlock_listeners_; | 67 mojo::InterfacePtrSet<mojom::ScreenlockStateListener> screenlock_listeners_; |
67 | 68 |
68 DISALLOW_COPY_AND_ASSIGN(Session); | 69 DISALLOW_COPY_AND_ASSIGN(Session); |
69 }; | 70 }; |
70 | 71 |
71 } // namespace session | 72 } // namespace session |
72 } // namespace mash | 73 } // namespace mash |
73 | 74 |
74 #endif // MASH_SESSION_SESSION_H_ | 75 #endif // MASH_SESSION_SESSION_H_ |
OLD | NEW |