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

Unified Diff: third_party/WebKit/Source/modules/sensor/Sensor.h

Issue 2465363004: [Sensors] Consider maximum supported frequency (Closed)
Patch Set: Created 4 years, 1 month 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: third_party/WebKit/Source/modules/sensor/Sensor.h
diff --git a/third_party/WebKit/Source/modules/sensor/Sensor.h b/third_party/WebKit/Source/modules/sensor/Sensor.h
index e1aacf407cdb04730dc594e605b3498a1959e2bf..bff3fa00d7c55dfdddfa3a8a0bf12cdf0db2fbee 100644
--- a/third_party/WebKit/Source/modules/sensor/Sensor.h
+++ b/third_party/WebKit/Source/modules/sensor/Sensor.h
@@ -72,7 +72,8 @@ class Sensor : public EventTargetWithInlineData,
using SensorConfiguration = device::mojom::blink::SensorConfiguration;
virtual SensorConfigurationPtr createSensorConfig(
const SensorOptions&,
- const SensorConfiguration& defaultConfiguration) = 0;
+ const SensorConfiguration& defaultConfiguration,
+ double maxSupportedFrequency) = 0;
private:
void initSensorProxyIfNeeded();

Powered by Google App Engine
This is Rietveld 408576698