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

Unified Diff: media/capture/video/android/photo_capabilities.cc

Issue 2482983002: MediaSettingsRange: s/long/double/ in MediaSettingsRange.idl and PhotoCapabilities.idl (Closed)
Patch Set: s/float/double/ in fake_video_capture_device.* 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: media/capture/video/android/photo_capabilities.cc
diff --git a/media/capture/video/android/photo_capabilities.cc b/media/capture/video/android/photo_capabilities.cc
index 29a3f198537e8e6a58f218a835cfcd4d374979c2..27c7d92c1b11bba1d1f54f32d318117fd344961f 100644
--- a/media/capture/video/android/photo_capabilities.cc
+++ b/media/capture/video/android/photo_capabilities.cc
@@ -80,22 +80,22 @@ int PhotoCapabilities::getStepWidth() const {
return Java_PhotoCapabilities_getStepWidth(AttachCurrentThread(), object_);
}
-int PhotoCapabilities::getMinZoom() const {
+double PhotoCapabilities::getMinZoom() const {
DCHECK(!object_.is_null());
return Java_PhotoCapabilities_getMinZoom(AttachCurrentThread(), object_);
}
-int PhotoCapabilities::getMaxZoom() const {
+double PhotoCapabilities::getMaxZoom() const {
DCHECK(!object_.is_null());
return Java_PhotoCapabilities_getMaxZoom(AttachCurrentThread(), object_);
}
-int PhotoCapabilities::getCurrentZoom() const {
+double PhotoCapabilities::getCurrentZoom() const {
DCHECK(!object_.is_null());
return Java_PhotoCapabilities_getCurrentZoom(AttachCurrentThread(), object_);
}
-int PhotoCapabilities::getStepZoom() const {
+double PhotoCapabilities::getStepZoom() const {
DCHECK(!object_.is_null());
return Java_PhotoCapabilities_getStepZoom(AttachCurrentThread(), object_);
}
@@ -113,25 +113,25 @@ PhotoCapabilities::AndroidMeteringMode PhotoCapabilities::getExposureMode()
Java_PhotoCapabilities_getExposureMode(AttachCurrentThread(), object_));
}
-int PhotoCapabilities::getMinExposureCompensation() const {
+double PhotoCapabilities::getMinExposureCompensation() const {
DCHECK(!object_.is_null());
return Java_PhotoCapabilities_getMinExposureCompensation(
AttachCurrentThread(), object_);
}
-int PhotoCapabilities::getMaxExposureCompensation() const {
+double PhotoCapabilities::getMaxExposureCompensation() const {
DCHECK(!object_.is_null());
return Java_PhotoCapabilities_getMaxExposureCompensation(
AttachCurrentThread(), object_);
}
-int PhotoCapabilities::getCurrentExposureCompensation() const {
+double PhotoCapabilities::getCurrentExposureCompensation() const {
DCHECK(!object_.is_null());
return Java_PhotoCapabilities_getCurrentExposureCompensation(
AttachCurrentThread(), object_);
}
-int PhotoCapabilities::getStepExposureCompensation() const {
+double PhotoCapabilities::getStepExposureCompensation() const {
DCHECK(!object_.is_null());
return Java_PhotoCapabilities_getStepExposureCompensation(
AttachCurrentThread(), object_);
« no previous file with comments | « media/capture/video/android/photo_capabilities.h ('k') | media/capture/video/android/video_capture_device_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698