diff options
Diffstat (limited to 'content/shell/android/java/src')
-rw-r--r-- | content/shell/android/java/src/org/chromium/content_shell/ContentShellActivity.java | 19 |
1 files changed, 0 insertions, 19 deletions
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 00cd670..2a6a0c5 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 @@ -11,7 +11,6 @@ import android.text.TextUtils; import android.util.Log; 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; @@ -51,7 +50,6 @@ public class ContentShellActivity extends Activity { DeviceUtils.addDeviceSpecificUserAgentSwitch(this); LibraryLoader.ensureInitialized(); - initializeContentViewResources(); setContentView(R.layout.content_shell_activity); mShellManager = (ShellManager) findViewById(R.id.shell_container); @@ -175,21 +173,4 @@ public class ContentShellActivity extends Activity { Shell shell = getActiveShell(); return shell != null ? shell.getContentView() : null; } - - private void initializeContentViewResources() { - AppResource.DIMENSION_LINK_PREVIEW_OVERLAY_RADIUS = R.dimen.link_preview_overlay_radius; - AppResource.DRAWABLE_ICON_ACTION_BAR_SHARE = R.drawable.ic_menu_share_holo_light; - AppResource.DRAWABLE_ICON_ACTION_BAR_WEB_SEARCH = R.drawable.ic_menu_search_holo_light; - AppResource.DRAWABLE_LINK_PREVIEW_POPUP_OVERLAY = R.drawable.popup_zoomer_overlay; - AppResource.STRING_ACTION_BAR_SHARE = R.string.action_bar_share; - AppResource.STRING_ACTION_BAR_WEB_SEARCH = R.string.action_bar_search; - AppResource.STRING_CONTENT_VIEW_CONTENT_DESCRIPTION = R.string.accessibility_content_view; - AppResource.STRING_MEDIA_PLAYER_MESSAGE_PLAYBACK_ERROR = - R.string.media_player_error_text_invalid_progressive_playback; - AppResource.STRING_MEDIA_PLAYER_MESSAGE_UNKNOWN_ERROR = - 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; - } } |