OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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 CHROME_BROWSER_CHROMEOS_KIOSK_MODE_KIOSK_MODE_IDLE_LOGOUT_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_KIOSK_MODE_KIOSK_MODE_IDLE_LOGOUT_H_ |
6 #define CHROME_BROWSER_CHROMEOS_KIOSK_MODE_KIOSK_MODE_IDLE_LOGOUT_H_ | 6 #define CHROME_BROWSER_CHROMEOS_KIOSK_MODE_KIOSK_MODE_IDLE_LOGOUT_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "chrome/browser/chromeos/dbus/power_manager_client.h" | 10 #include "chromeos/dbus/power_manager_client.h" |
11 #include "content/public/browser/notification_observer.h" | 11 #include "content/public/browser/notification_observer.h" |
12 #include "content/public/browser/notification_registrar.h" | 12 #include "content/public/browser/notification_registrar.h" |
13 | 13 |
14 namespace browser { | 14 namespace browser { |
15 | 15 |
16 // Shows or closes the logout dialog for Kiosk Mode. | 16 // Shows or closes the logout dialog for Kiosk Mode. |
17 void ShowIdleLogoutDialog(); | 17 void ShowIdleLogoutDialog(); |
18 void CloseIdleLogoutDialog(); | 18 void CloseIdleLogoutDialog(); |
19 | 19 |
20 } // namespace browser | 20 } // namespace browser |
(...skipping 26 matching lines...) Expand all Loading... |
47 void RequestNextIdleNotification(); | 47 void RequestNextIdleNotification(); |
48 | 48 |
49 DISALLOW_COPY_AND_ASSIGN(KioskModeIdleLogout); | 49 DISALLOW_COPY_AND_ASSIGN(KioskModeIdleLogout); |
50 }; | 50 }; |
51 | 51 |
52 void InitializeKioskModeIdleLogout(); | 52 void InitializeKioskModeIdleLogout(); |
53 | 53 |
54 } // namespace chromeos | 54 } // namespace chromeos |
55 | 55 |
56 #endif // CHROME_BROWSER_CHROMEOS_KIOSK_MODE_KIOSK_MODE_IDLE_LOGOUT_H_ | 56 #endif // CHROME_BROWSER_CHROMEOS_KIOSK_MODE_KIOSK_MODE_IDLE_LOGOUT_H_ |
OLD | NEW |