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

Unified Diff: ash/common/wm/maximize_mode/maximize_mode_controller.h

Issue 2768543002: chromeos: Add PowerManagerClient::GetSwitchStates(). (Closed)
Patch Set: document that callbacks aren't run on error Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ash/common/wm/maximize_mode/maximize_mode_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/wm/maximize_mode/maximize_mode_controller.h
diff --git a/ash/common/wm/maximize_mode/maximize_mode_controller.h b/ash/common/wm/maximize_mode/maximize_mode_controller.h
index 69a30494e94848fb909c22e8c5ee7b38e3c1c348..cd0d28c41a51519331f990577e3219f8f62e84f9 100644
--- a/ash/common/wm/maximize_mode/maximize_mode_controller.h
+++ b/ash/common/wm/maximize_mode/maximize_mode_controller.h
@@ -90,9 +90,11 @@ class ASH_EXPORT MaximizeModeController :
void OnAccelerometerUpdated(
scoped_refptr<const chromeos::AccelerometerUpdate> update) override;
- // PowerManagerClient::Observer:
- void LidEventReceived(bool open, const base::TimeTicks& time) override;
- void TabletModeEventReceived(bool on, const base::TimeTicks& time) override;
+ // chromeos::PowerManagerClient::Observer:
+ void LidEventReceived(chromeos::PowerManagerClient::LidState state,
+ const base::TimeTicks& time) override;
+ void TabletModeEventReceived(chromeos::PowerManagerClient::TabletMode mode,
+ const base::TimeTicks& time) override;
void SuspendImminent() override;
void SuspendDone(const base::TimeDelta& sleep_duration) override;
« no previous file with comments | « no previous file | ash/common/wm/maximize_mode/maximize_mode_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698