| Index: content/public/android/java/src/org/chromium/content/browser/ContentVideoViewContextDelegate.java
|
| diff --git a/content/public/android/java/src/org/chromium/content/browser/ContentVideoViewContextDelegate.java b/content/public/android/java/src/org/chromium/content/browser/ContentVideoViewContextDelegate.java
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..2ce74cb18a4c7f402f0bb2d819c068a241d27196
|
| --- /dev/null
|
| +++ b/content/public/android/java/src/org/chromium/content/browser/ContentVideoViewContextDelegate.java
|
| @@ -0,0 +1,24 @@
|
| +// Copyright (c) 2012 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.content.Context;
|
| +import android.view.View;
|
| +
|
| +/**
|
| + * Allows customization for clients of the ContentVideoView.
|
| + * The implementer is responsible for displaying the Android view when
|
| + * {@link #onShowCustomView(View)} is called.
|
| + */
|
| +public interface ContentVideoViewContextDelegate {
|
| + public void onShowCustomView(View view);
|
| + public void onDestroyContentVideoView();
|
| + public Context getContext();
|
| + public String getPlayBackErrorText();
|
| + public String getUnknownErrorText();
|
| + public String getErrorButton();
|
| + public String getErrorTitle();
|
| + public String getVideoLoadingText();
|
| +}
|
|
|