Chromium Code Reviews| Index: content/shell/android/java/org/chromium/content_shell/ContentShellActivity.java |
| diff --git a/content/shell/android/java/org/chromium/content_shell/ContentShellActivity.java b/content/shell/android/java/org/chromium/content_shell/ContentShellActivity.java |
| index 4f6c8f724a695893bd6a62e0aa072b2388625eec..df997d06d84b82f1c5cc92a665442e8d13e23a4e 100644 |
| --- a/content/shell/android/java/org/chromium/content_shell/ContentShellActivity.java |
| +++ b/content/shell/android/java/org/chromium/content_shell/ContentShellActivity.java |
| @@ -11,6 +11,7 @@ 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.ContentView; |
| import org.chromium.content.common.CommandLine; |
| @@ -98,7 +99,7 @@ public class ContentShellActivity extends Activity { |
| } |
| private void initializeContentViewResources() { |
| - ContentView.registerPopupOverlayCornerRadius(0); |
| - ContentView.registerPopupOverlayResourceId(R.drawable.popup_zoomer_overlay); |
| + AppResource.DRAWABLE_LINK_PREVIEW_POPUP_OVERLAY = R.drawable.popup_zoomer_overlay; |
| + AppResource.DIMENSION_LINK_PREVIEW_OVERLAY_RADIUS = R.dimen.link_preview_overlay_radius; |
|
bulach
2012/06/22 15:00:56
nit: maybe keep this sorted (DIMENSION prior to DR
Leandro GraciĆ” Gil
2012/06/22 15:11:59
Done.
|
| } |
| } |