OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2012 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 CHROME_BROWSER_CHROMEOS_RETAIL_MODE_RETAIL_MODE_SCREEN_LOCKER_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_RETAIL_MODE_RETAIL_MODE_SCREEN_LOCKER_H_ |
| 7 #pragma once |
| 8 |
| 9 #include "base/time.h" |
| 10 #include "base/timer.h" |
| 11 |
| 12 namespace browser { |
| 13 |
| 14 // Shows or closes the logout dialog for Kiosk Mode. |
| 15 void ShowRetailModeLogoutDialog(); |
| 16 void CloseRetailModeLogoutDialog(); |
| 17 |
| 18 } // namespace browser |
| 19 |
| 20 namespace chromeos { |
| 21 |
| 22 class RetailModeScreenLocker { |
| 23 public: |
| 24 static void InitClass(); |
| 25 |
| 26 private: |
| 27 RetailModeScreenLocker() {} |
| 28 |
| 29 base::RepeatingTimer<RetailModeScreenLocker> slow_timer_; |
| 30 base::RepeatingTimer<RetailModeScreenLocker> fast_timer_; |
| 31 |
| 32 DISALLOW_COPY_AND_ASSIGN(RetailModeScreenLocker); |
| 33 }; |
| 34 |
| 35 } // namespace chromeos |
| 36 |
| 37 #endif // CHROME_BROWSER_CHROMEOS_RETAIL_MODE_RETAIL_MODE_SCREEN_LOCKER_H_ |
OLD | NEW |