OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef MEDIA_CAPTURE_VIDEO_ANDROID_PHOTO_CAPABILITIES_H_ | 5 #ifndef MEDIA_CAPTURE_VIDEO_ANDROID_PHOTO_CAPABILITIES_H_ |
6 #define MEDIA_CAPTURE_VIDEO_ANDROID_PHOTO_CAPABILITIES_H_ | 6 #define MEDIA_CAPTURE_VIDEO_ANDROID_PHOTO_CAPABILITIES_H_ |
7 | 7 |
8 #include <jni.h> | 8 #include <jni.h> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 double getCurrentZoom() const; | 58 double getCurrentZoom() const; |
59 double getStepZoom() const; | 59 double getStepZoom() const; |
60 AndroidMeteringMode getFocusMode() const; | 60 AndroidMeteringMode getFocusMode() const; |
61 AndroidMeteringMode getExposureMode() const; | 61 AndroidMeteringMode getExposureMode() const; |
62 double getMinExposureCompensation() const; | 62 double getMinExposureCompensation() const; |
63 double getMaxExposureCompensation() const; | 63 double getMaxExposureCompensation() const; |
64 double getCurrentExposureCompensation() const; | 64 double getCurrentExposureCompensation() const; |
65 double getStepExposureCompensation() const; | 65 double getStepExposureCompensation() const; |
66 AndroidMeteringMode getWhiteBalanceMode() const; | 66 AndroidMeteringMode getWhiteBalanceMode() const; |
67 std::vector<AndroidFillLightMode> getFillLightModes() const; | 67 std::vector<AndroidFillLightMode> getFillLightModes() const; |
| 68 bool getSupportsTorch() const; |
68 bool getTorch() const; | 69 bool getTorch() const; |
69 bool getRedEyeReduction() const; | 70 bool getRedEyeReduction() const; |
70 int getMinColorTemperature() const; | 71 int getMinColorTemperature() const; |
71 int getMaxColorTemperature() const; | 72 int getMaxColorTemperature() const; |
72 int getCurrentColorTemperature() const; | 73 int getCurrentColorTemperature() const; |
73 int getStepColorTemperature() const; | 74 int getStepColorTemperature() const; |
74 | 75 |
75 private: | 76 private: |
76 const base::android::ScopedJavaLocalRef<jobject> object_; | 77 const base::android::ScopedJavaLocalRef<jobject> object_; |
77 }; | 78 }; |
78 | 79 |
79 } // namespace media | 80 } // namespace media |
80 | 81 |
81 #endif // MEDIA_CAPTURE_VIDEO_ANDROID_PHOTO_CAPABILITIES_H_ | 82 #endif // MEDIA_CAPTURE_VIDEO_ANDROID_PHOTO_CAPABILITIES_H_ |
OLD | NEW |