| Index: athena/screen_lock/public/screen_lock_manager.h
|
| diff --git a/athena/screen_lock/public/screen_lock_manager.h b/athena/screen_lock/public/screen_lock_manager.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..568d0f0e6edda8e2daa064d4b13ef0b2b383c70c
|
| --- /dev/null
|
| +++ b/athena/screen_lock/public/screen_lock_manager.h
|
| @@ -0,0 +1,28 @@
|
| +// Copyright 2014 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef ATHENA_SCREEN_LOCK_PUBLIC_SCREEN_LOCK_MANAGER_H_
|
| +#define ATHENA_SCREEN_LOCK_PUBLIC_SCREEN_LOCK_MANAGER_H_
|
| +
|
| +#include "athena/athena_export.h"
|
| +
|
| +namespace athena {
|
| +
|
| +// Manages screen lock and register keyboard shortcuts.
|
| +class ATHENA_EXPORT ScreenLockManager {
|
| + public:
|
| + // Creates, returns and deletes the singleton object of the ScreenLockManager
|
| + // implementation.
|
| + static ScreenLockManager* Create();
|
| + static ScreenLockManager* Get();
|
| + static void Shutdown();
|
| +
|
| + virtual ~ScreenLockManager() {}
|
| +
|
| + virtual void LockScreen() = 0;
|
| +};
|
| +
|
| +} // namespace athena
|
| +
|
| +#endif // ATHENA_SCREEN_LOCK_PUBLIC_SCREEN_LOCK_MANAGER_H_
|
|
|