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

Unified Diff: third_party/WebKit/Source/modules/sensor/AmbientLightSensor.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/AmbientLightSensor.h
diff --git a/third_party/WebKit/Source/modules/sensor/AmbientLightSensor.h b/third_party/WebKit/Source/modules/sensor/AmbientLightSensor.h
index 825e78d115b8ea0b6070dfc413577a9b439b2fca..575d7f7c479100e8b7aa77747f5bcaafeb9fd8aa 100644
--- a/third_party/WebKit/Source/modules/sensor/AmbientLightSensor.h
+++ b/third_party/WebKit/Source/modules/sensor/AmbientLightSensor.h
@@ -30,7 +30,8 @@ class AmbientLightSensor final : public Sensor {
SensorReading* createSensorReading(SensorProxy*) override;
SensorConfigurationPtr createSensorConfig(
const SensorOptions&,
- const SensorConfiguration& defaultConfig) override;
+ const SensorConfiguration& defaultConfig,
+ double maxSupportedFrequency) override;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698