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

Side by Side Diff: media/capture/video/android/photo_capabilities.h

Issue 2095623003: Reland: Extract media/capture/capture_unittests from media_unittests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase (testing/buildbot/chromium.fyi.json) Created 4 years, 5 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
« no previous file with comments | « media/capture/capture_unittests_apk.isolate ('k') | media/media.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_VIDEO_CAPTURE_ANDROID_PHOTO_CAPABILITIES_H_ 5 #ifndef MEDIA_VIDEO_CAPTURE_ANDROID_PHOTO_CAPABILITIES_H_
6 #define MEDIA_VIDEO_CAPTURE_ANDROID_PHOTO_CAPABILITIES_H_ 6 #define MEDIA_VIDEO_CAPTURE_ANDROID_PHOTO_CAPABILITIES_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 #include <string> 9 #include <string>
10 10
11 #include "base/android/scoped_java_ref.h" 11 #include "base/android/scoped_java_ref.h"
12 #include "media/base/media_export.h"
13 12
14 namespace media { 13 namespace media {
15 14
16 class MEDIA_EXPORT PhotoCapabilities { 15 class PhotoCapabilities {
17 public: 16 public:
18 explicit PhotoCapabilities(base::android::ScopedJavaLocalRef<jobject> object); 17 explicit PhotoCapabilities(base::android::ScopedJavaLocalRef<jobject> object);
19 ~PhotoCapabilities(); 18 ~PhotoCapabilities();
20 19
21 static bool RegisterPhotoCapabilities(JNIEnv* env); 20 static bool RegisterPhotoCapabilities(JNIEnv* env);
22 21
23 int getMinZoom() const; 22 int getMinZoom() const;
24 int getMaxZoom() const; 23 int getMaxZoom() const;
25 int getCurrentZoom() const; 24 int getCurrentZoom() const;
26 25
27 private: 26 private:
28 const base::android::ScopedJavaLocalRef<jobject> object_; 27 const base::android::ScopedJavaLocalRef<jobject> object_;
29 }; 28 };
30 29
31 } // namespace media 30 } // namespace media
32 31
33 #endif // MEDIA_VIDEO_CAPTURE_ANDROID_PHOTO_CAPABILITIES_H_ 32 #endif // MEDIA_VIDEO_CAPTURE_ANDROID_PHOTO_CAPABILITIES_H_
OLDNEW
« no previous file with comments | « media/capture/capture_unittests_apk.isolate ('k') | media/media.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698