| Index: chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ContextMenuUi.java
|
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ContextMenuUi.java b/chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ContextMenuUi.java
|
| index 8d233668f95e01029b295365b9e40cf80f9c7cef..2768d3470ccf705239fad60a4ec7ee9f9a367bb6 100644
|
| --- a/chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ContextMenuUi.java
|
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ContextMenuUi.java
|
| @@ -4,7 +4,7 @@
|
|
|
| package org.chromium.chrome.browser.contextmenu;
|
|
|
| -import android.content.Context;
|
| +import android.app.Activity;
|
| import android.util.Pair;
|
|
|
| import org.chromium.base.Callback;
|
| @@ -18,7 +18,7 @@ import java.util.List;
|
| public interface ContextMenuUi {
|
| /**
|
| * Shows the Context Menu in Chrome.
|
| - * @param context Used to inflate the context menu.
|
| + * @param activity Used to inflate the context menu.
|
| * @param params The current parameters for the the context menu.
|
| * @param items The list of items that need to be displayed in the context menu items. This is
|
| * taken from the return value of {@link ContextMenuPopulator#buildContextMenu(
|
| @@ -31,7 +31,7 @@ public interface ContextMenuUi {
|
| * @param onMenuClosed When the menu is closed, this method is called to do any possible final
|
| * clean up.
|
| */
|
| - void displayMenu(Context context, ContextMenuParams params,
|
| + void displayMenu(Activity activity, ContextMenuParams params,
|
| List<Pair<Integer, List<ContextMenuItem>>> items, Callback<Integer> onItemClicked,
|
| Runnable onMenuShown, Runnable onMenuClosed);
|
| }
|
|
|