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 64f03473ff35b0be6bca91b2a7ada6817b4a3210..c5212874d053bd8b76cb757d7f417de5dd760117 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.ContentVideoView; |
import org.chromium.content.browser.ContentView; |
import org.chromium.content.common.CommandLine; |
import org.chromium.ui.gfx.ActivityNativeWindow; |
@@ -54,6 +55,7 @@ public class ContentShellActivity extends Activity { |
mActivityNativeWindow = new ActivityNativeWindow(this); |
mActivityNativeWindow.restoreInstanceState(savedInstanceState); |
mShellManager.setWindow(mActivityNativeWindow); |
+ ContentVideoView.registerChromeActivity(this); |
String startupUrl = getUrlFromIntent(getIntent()); |
if (!TextUtils.isEmpty(startupUrl)) { |
@@ -185,5 +187,6 @@ public class ContentShellActivity extends Activity { |
R.string.media_player_error_text_unknown; |
AppResource.STRING_MEDIA_PLAYER_ERROR_BUTTON = R.string.media_player_error_button; |
AppResource.STRING_MEDIA_PLAYER_ERROR_TITLE = R.string.media_player_error_title; |
+ AppResource.STRING_MEDIA_PLAYER_LOADING_VIDEO = R.string.media_player_loading_video; |
} |
} |