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

Unified Diff: content/public/android/java/src/org/chromium/content/browser/ContentVideoViewContextDelegate.java

Issue 11412076: Create a ContentVideoViewDelegate.java (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: compiler errors Created 8 years, 1 month 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 side-by-side diff with in-line comments
Download patch
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();
+}

Powered by Google App Engine
This is Rietveld 408576698