Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(356)

Side by Side Diff: chrome/browser/chromeos/kiosk_mode/kiosk_mode_screensaver.h

Issue 9695029: Change the login flow for kiosk mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/chromeos/kiosk_mode/kiosk_mode_screensaver.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_SCREENSAVER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_KIOSK_MODE_KIOSK_MODE_SCREENSAVER_H_
6 #define CHROME_BROWSER_CHROMEOS_KIOSK_MODE_KIOSK_MODE_SCREENSAVER_H_ 6 #define CHROME_BROWSER_CHROMEOS_KIOSK_MODE_KIOSK_MODE_SCREENSAVER_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 "chrome/browser/chromeos/dbus/power_manager_client.h"
(...skipping 10 matching lines...) Expand all
21 21
22 // Really initialize screensaver when KioskModeHelper is initialized. 22 // Really initialize screensaver when KioskModeHelper is initialized.
23 void Setup(); 23 void Setup();
24 24
25 // NotificationObserver overrides: 25 // NotificationObserver overrides:
26 virtual void Observe(int type, 26 virtual void Observe(int type,
27 const content::NotificationSource& source, 27 const content::NotificationSource& source,
28 const content::NotificationDetails& details) OVERRIDE; 28 const content::NotificationDetails& details) OVERRIDE;
29 29
30 // PowerManagerClient::Observer overrides: 30 // PowerManagerClient::Observer overrides:
31 virtual void IdleNotify(int64 threshold) OVERRIDE;
32 virtual void ActiveNotify() OVERRIDE; 31 virtual void ActiveNotify() OVERRIDE;
33 32
34 private: 33 private:
35 friend class KioskModeScreensaverTest; 34 friend class KioskModeScreensaverTest;
36 content::NotificationRegistrar registrar_; 35 content::NotificationRegistrar registrar_;
37 36
38 DISALLOW_COPY_AND_ASSIGN(KioskModeScreensaver); 37 DISALLOW_COPY_AND_ASSIGN(KioskModeScreensaver);
39 }; 38 };
40 39
41 void InitializeKioskModeScreensaver(); 40 void InitializeKioskModeScreensaver();
42 void ShutdownKioskModeScreensaver(); 41 void ShutdownKioskModeScreensaver();
43 42
44 } // namespace chromeos 43 } // namespace chromeos
45 44
46 #endif // CHROME_BROWSER_CHROMEOS_KIOSK_MODE_KIOSK_MODE_SCREENSAVER_H_ 45 #endif // CHROME_BROWSER_CHROMEOS_KIOSK_MODE_KIOSK_MODE_SCREENSAVER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/kiosk_mode/kiosk_mode_screensaver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698