| Index: content/public/android/java/src/org/chromium/content/browser/ContentVideoViewClient.java
|
| diff --git a/content/public/android/java/src/org/chromium/content/browser/ContentVideoViewClient.java b/content/public/android/java/src/org/chromium/content/browser/ContentVideoViewClient.java
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..c55722d2101b70eb5f95e0c9d96b0d9cf8ca886a
|
| --- /dev/null
|
| +++ b/content/public/android/java/src/org/chromium/content/browser/ContentVideoViewClient.java
|
| @@ -0,0 +1,25 @@
|
| +// Copyright 2013 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +package org.chromium.content.browser;
|
| +
|
| +import android.view.View;
|
| +
|
| +/**
|
| + * Main callback class used by ContentVideoView.
|
| + *
|
| + * This contains the superset of callbacks must be implemented by the emmbedder.
|
| + *
|
| + * onShowCustomView and onDestoryContentVideoView must be implemented,
|
| + * getVideoLoadingProgressView() is optional, and may return null if not required.
|
| + *
|
| + * The implementer is responsible for displaying the Android view when
|
| + * {@link #onShowCustomView(View)} is called.
|
| + */
|
| +public interface ContentVideoViewClient {
|
| + public void onShowCustomView(View view);
|
| + public void onDestroyContentVideoView();
|
| + public void keepScreenOn(boolean screenOn);
|
| + public View getVideoLoadingProgressView();
|
| +}
|
|
|