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

Unified Diff: device/generic_sensor/platform_sensor_ambient_light_mac.h

Issue 2447273002: [sensors] [mac] Fix ambient light sensor not updating its value when closing the lid with a monitor… (Closed)
Patch Set: Created 4 years, 2 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 | device/generic_sensor/platform_sensor_ambient_light_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/generic_sensor/platform_sensor_ambient_light_mac.h
diff --git a/device/generic_sensor/platform_sensor_ambient_light_mac.h b/device/generic_sensor/platform_sensor_ambient_light_mac.h
index 32f965d3f9b1aed882a121abbbf3b5990cbfc0df..a5665a630c3b2e5f8a82687e1b07037e87b00fc6 100644
--- a/device/generic_sensor/platform_sensor_ambient_light_mac.h
+++ b/device/generic_sensor/platform_sensor_ambient_light_mac.h
@@ -56,6 +56,9 @@ class PlatformSensorAmbientLightMac : public PlatformSensor {
base::mac::ScopedIOObject<io_object_t> light_sensor_object_;
// IO Notifications created by IOServiceAddInterestNotification.
base::mac::ScopedIOObject<io_object_t> light_sensor_notification_;
+ // IO Notifications created by IOServiceAddInterestNotification when the
+ // sensor is busy.
+ base::mac::ScopedIOObject<io_object_t> light_sensor_busy_notification_;
double current_lux_;
DISALLOW_COPY_AND_ASSIGN(PlatformSensorAmbientLightMac);
« no previous file with comments | « no previous file | device/generic_sensor/platform_sensor_ambient_light_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698