OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef ATHENA_SCREEN_LOCK_PUBLIC_SCREEN_LOCK_MANAGER_H_ |
| 6 #define ATHENA_SCREEN_LOCK_PUBLIC_SCREEN_LOCK_MANAGER_H_ |
| 7 |
| 8 #include "athena/athena_export.h" |
| 9 |
| 10 namespace athena { |
| 11 |
| 12 // Manages screen lock and register keyboard shortcuts. |
| 13 class ATHENA_EXPORT ScreenLockManager { |
| 14 public: |
| 15 // Creates, returns and deletes the singleton object of the ScreenLockManager |
| 16 // implementation. |
| 17 static ScreenLockManager* Create(); |
| 18 static ScreenLockManager* Get(); |
| 19 static void Shutdown(); |
| 20 |
| 21 virtual ~ScreenLockManager() {} |
| 22 |
| 23 virtual void LockScreen() = 0; |
| 24 }; |
| 25 |
| 26 } // namespace athena |
| 27 |
| 28 #endif // ATHENA_SCREEN_LOCK_PUBLIC_SCREEN_LOCK_MANAGER_H_ |
OLD | NEW |