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

Side by Side Diff: chromeos/dbus/power_manager_client.h

Issue 10703081: chromeos: Remove references to UnlockScreenFailed signal. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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
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 CHROMEOS_DBUS_POWER_MANAGER_CLIENT_H_ 5 #ifndef CHROMEOS_DBUS_POWER_MANAGER_CLIENT_H_
6 #define CHROMEOS_DBUS_POWER_MANAGER_CLIENT_H_ 6 #define CHROMEOS_DBUS_POWER_MANAGER_CLIENT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 // Called when the lock button is pressed or released. 73 // Called when the lock button is pressed or released.
74 virtual void LockButtonStateChanged(bool down, 74 virtual void LockButtonStateChanged(bool down,
75 const base::TimeTicks& timestamp) {} 75 const base::TimeTicks& timestamp) {}
76 76
77 // Called when the screen is locked. 77 // Called when the screen is locked.
78 virtual void LockScreen() {} 78 virtual void LockScreen() {}
79 79
80 // Called when the screen is unlocked. 80 // Called when the screen is unlocked.
81 virtual void UnlockScreen() {} 81 virtual void UnlockScreen() {}
82 82
83 // Called when the screen fails to unlock.
84 virtual void UnlockScreenFailed() {}
85
86 // Called when we go idle for threshold time. 83 // Called when we go idle for threshold time.
87 virtual void IdleNotify(int64 threshold_secs) {} 84 virtual void IdleNotify(int64 threshold_secs) {}
88 85
89 // Called when we go from idle to active. 86 // Called when we go from idle to active.
90 virtual void ActiveNotify() {} 87 virtual void ActiveNotify() {}
91 88
92 // Called when a request is received to dim or undim the screen in software 89 // Called when a request is received to dim or undim the screen in software
93 // (as opposed to the more-common method of adjusting the backlight). 90 // (as opposed to the more-common method of adjusting the backlight).
94 virtual void ScreenDimmingRequested(ScreenDimmingState state) {} 91 virtual void ScreenDimmingRequested(ScreenDimmingState state) {}
95 }; 92 };
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 // Create() should be used instead. 202 // Create() should be used instead.
206 PowerManagerClient(); 203 PowerManagerClient();
207 204
208 private: 205 private:
209 DISALLOW_COPY_AND_ASSIGN(PowerManagerClient); 206 DISALLOW_COPY_AND_ASSIGN(PowerManagerClient);
210 }; 207 };
211 208
212 } // namespace chromeos 209 } // namespace chromeos
213 210
214 #endif // CHROMEOS_DBUS_POWER_MANAGER_CLIENT_H_ 211 #endif // CHROMEOS_DBUS_POWER_MANAGER_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/system/ash_system_tray_delegate.cc ('k') | chromeos/dbus/power_manager_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698