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)) { |