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

Unified Diff: content/shell/android/java/src/org/chromium/content_shell/ContentShellActivity.java

Issue 11412076: Create a ContentVideoViewDelegate.java (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « content/public/android/java/src/org/chromium/content/browser/ContentVideoViewDelegate.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/android/java/src/org/chromium/content_shell/ContentShellActivity.java
diff --git a/content/shell/android/java/src/org/chromium/content_shell/ContentShellActivity.java b/content/shell/android/java/src/org/chromium/content_shell/ContentShellActivity.java
index f1ebf5bb01a02d4d3e013dbeb10de13c467fc90a..d1477c41a51a8c695f6bf685e78d939d5809dbb4 100644
--- a/content/shell/android/java/src/org/chromium/content_shell/ContentShellActivity.java
+++ b/content/shell/android/java/src/org/chromium/content_shell/ContentShellActivity.java
@@ -13,6 +13,7 @@ import android.view.KeyEvent;
import org.chromium.content.app.AppResource;
import org.chromium.content.app.LibraryLoader;
+import org.chromium.content.browser.AndroidContentVideoViewDelegate;
import org.chromium.content.browser.ContentVideoView;
import org.chromium.content.browser.ContentView;
import org.chromium.content.browser.DeviceUtils;
@@ -58,7 +59,8 @@ public class ContentShellActivity extends Activity {
mActivityNativeWindow = new ActivityNativeWindow(this);
mActivityNativeWindow.restoreInstanceState(savedInstanceState);
mShellManager.setWindow(mActivityNativeWindow);
- ContentVideoView.registerChromeActivity(this);
+ ContentVideoView.registerContentVideoViewDelegate(
+ new AndroidContentVideoViewDelegate(this));
qinmin 2012/11/20 21:15:40 fix indent
acleung 2012/11/23 22:56:58 Done.
String startupUrl = getUrlFromIntent(getIntent());
if (!TextUtils.isEmpty(startupUrl)) {
« no previous file with comments | « content/public/android/java/src/org/chromium/content/browser/ContentVideoViewDelegate.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698