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

Side by Side Diff: device/base/device_util_mac.h

Issue 2332903002: [sensors] [mac] Implement ambient light sensor for macOS (Closed)
Patch Set: Fixes for Tim comments 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef DEVICE_BASE_DEVICE_UTIL_MAC_H_
6 #define DEVICE_BASE_DEVICE_UTIL_MAC_H_
7
8 #include <stdint.h>
9
10 namespace device {
11
12 // Convert the value returned by the ambient light LMU sensor on Mac
13 // hardware to a lux value.
14 double LMUvalueToLux(uint64_t raw_value);
Reilly Grant (use Gerrit) 2016/10/04 07:11:27 This seems to be specific to light sensors. Any re
15
16 } // namespace device
17
18 #endif // DEVICE_BASE_DEVICE_UTIL_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698