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

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: 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 "media/screen_capture/android/screen_capturer_android.h"
12
13 namespace media {
14
15 class ScreenCaptureFactoryAndroid {
16 public:
17 static bool RegisterScreenCaptureFactory(JNIEnv* env);
18 static base::android::ScopedJavaLocalRef<jobject> createScreenCaptureAndroid(
19 jlong nativeScreenCaptureDeviceAndroid);
20
21 ScreenCaptureFactoryAndroid() {}
22 ~ScreenCaptureFactoryAndroid() {}
23
24 private:
25
26 DISALLOW_COPY_AND_ASSIGN(ScreenCaptureFactoryAndroid);};
27 } // namespace media
miu 2015/05/20 03:33:27 nit: Add an extra empty line above this line.
28
29 #endif // MEDIA_SCREEN_CAPTURE_ANDROID_SCREEN_CAPTURE_FACTORY_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698