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

Side by Side Diff: device/capture/content/android/java/src/org/chromium/media/ScreenCapture.java

Issue 2143903003: [WIP] Move media/capture to device/capture (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
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 package org.chromium.media; 5 package org.chromium.media;
6 6
7 import android.annotation.TargetApi; 7 import android.annotation.TargetApi;
8 import android.app.Activity; 8 import android.app.Activity;
9 import android.app.Fragment; 9 import android.app.Fragment;
10 import android.app.FragmentManager; 10 import android.app.FragmentManager;
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after
341 long timestamp); 341 long timestamp);
342 // Method for ScreenCapture implementations to call back native code. 342 // Method for ScreenCapture implementations to call back native code.
343 private native void nativeOnI420FrameAvailable(long nativeScreenCaptureMachi neAndroid, 343 private native void nativeOnI420FrameAvailable(long nativeScreenCaptureMachi neAndroid,
344 ByteBuffer yBuffer, int yStride, ByteBuffer uBuffer, ByteBuffer vBuf fer, 344 ByteBuffer yBuffer, int yStride, ByteBuffer uBuffer, ByteBuffer vBuf fer,
345 int uvRowStride, int uvPixelStride, int left, int top, int width, in t height, 345 int uvRowStride, int uvPixelStride, int left, int top, int width, in t height,
346 long timestamp); 346 long timestamp);
347 // Method for ScreenCapture implementations to call back native code. 347 // Method for ScreenCapture implementations to call back native code.
348 private native void nativeOnActivityResult( 348 private native void nativeOnActivityResult(
349 long nativeScreenCaptureMachineAndroid, boolean result); 349 long nativeScreenCaptureMachineAndroid, boolean result);
350 } 350 }
OLDNEW
« no previous file with comments | « device/capture/content/android/BUILD.gn ('k') | device/capture/content/android/screen_capture_jni_registrar.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698