| 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 59821973cc6be63a55ab2d10d98b9448ea15456e..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
|
| @@ -26,7 +26,12 @@ public interface ContextMenuUi {
|
| * @param onItemClicked When the user has pressed an item the menuId associated with the item
|
| * is sent back through {@link Callback#onResult(Object)}. The ids that
|
| * could be called are in ids.xml.
|
| + * @param onMenuShown After the menu is displayed this method should be called to present a
|
| + * full menu.
|
| + * @param onMenuClosed When the menu is closed, this method is called to do any possible final
|
| + * clean up.
|
| */
|
| void displayMenu(Activity activity, ContextMenuParams params,
|
| - List<Pair<Integer, List<ContextMenuItem>>> items, Callback<Integer> onItemClicked);
|
| + List<Pair<Integer, List<ContextMenuItem>>> items, Callback<Integer> onItemClicked,
|
| + Runnable onMenuShown, Runnable onMenuClosed);
|
| }
|
|
|