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

Side by Side Diff: media/screen_capture/android/screen_capture_factory_android.h

Issue 1140113002: Implement screen capture for android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add ScreenCaptureMachineAndroid which inherited from content::VideoCaptureMachine Created 5 years, 7 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
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef MEDIA_SCREEN_CAPTURE_ANDROID_SCREEN_CAPTURE_FACTORY_ANDROID_H_
6 #define MEDIA_SCREEN_CAPTURE_ANDROID_SCREEN_CAPTURE_FACTORY_ANDROID_H_
7
8 #include <jni.h>
9
10 #include "base/android/scoped_java_ref.h"
11 #include "base/memory/scoped_ptr.h"
12 #include "media/video/capture/video_capture_device.h"
13
14 namespace media {
15
16 class ScreenCaptureFactoryAndroid {
17 public:
18 static bool RegisterScreenCaptureFactory(JNIEnv* env);
19 static
20 base::android::ScopedJavaLocalRef<jobject> createScreenCaptureMachineAndroid(
21 jlong nativeScreenCaptureMachineAndroid);
22 static scoped_ptr<VideoCaptureDevice> Create();
23
24 ScreenCaptureFactoryAndroid() {}
25 ~ScreenCaptureFactoryAndroid() {}
26
27 private:
28
29 DISALLOW_COPY_AND_ASSIGN(ScreenCaptureFactoryAndroid);
30 };
31
32 } // namespace media
33
34 #endif // MEDIA_SCREEN_CAPTURE_ANDROID_SCREEN_CAPTURE_FACTORY_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698