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

Unified Diff: chromeos/dbus/power_manager_client.h

Issue 2020553003: Hook up TABLET_MODE switch to maximize_mode_controller (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
Index: chromeos/dbus/power_manager_client.h
diff --git a/chromeos/dbus/power_manager_client.h b/chromeos/dbus/power_manager_client.h
index 59bed6a2cae3d7b656f94e330a5bb51caa959987..789c25a4beb26fb102f51bec8653ab3b705f7ef9 100644
--- a/chromeos/dbus/power_manager_client.h
+++ b/chromeos/dbus/power_manager_client.h
@@ -88,6 +88,10 @@ class CHROMEOS_EXPORT PowerManagerClient : public DBusClient {
virtual void LidEventReceived(bool open,
const base::TimeTicks& timestamp) {}
+ // Called when the device's tablet mode switch is on or off.
+ virtual void TabletModeEventReceived(bool on,
+ const base::TimeTicks& timestamp) {}
+
// Called when the idle action will be performed after
// |time_until_idle_action|.
virtual void IdleActionImminent(

Powered by Google App Engine
This is Rietveld 408576698