Index: chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ContextMenuItemDelegate.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ContextMenuItemDelegate.java b/chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ContextMenuItemDelegate.java |
index 802aa75771fcf195b9c054b3cd6dacc693816535..2c87307c54ca441065578d730ffcec75b7b18c02 100644 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ContextMenuItemDelegate.java |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ContextMenuItemDelegate.java |
@@ -97,6 +97,30 @@ public interface ContextMenuItemDelegate { |
*/ |
void onSaveToClipboard(String text, int clipboardType); |
+ /** |
+ * Returns whether or not an activity is available to handle intent to send an email. |
+ * @return true if an activity is available to handle intent to send an email. |
+ */ |
+ public boolean supportsSendEmailMessage(); |
+ |
+ /** |
+ * Called when the {@code url} should be parsed to send an email. |
+ * @param url The URL to be parsed to send an email. |
+ */ |
+ void onSendEmailMessage(String url); |
+ |
+ /** |
+ * Returns whether or not an activity is available to handle intent to add contacts. |
+ * @return true if an activity is available to handle intent to add contacts. |
+ */ |
+ public boolean supportsAddToContacts(); |
+ |
+ /** |
+ * Called when the {@code url} should be parsed to add to contacts. |
+ * @param url The URL to be parsed to add to contacts. |
+ */ |
+ void onAddToContacts(String url); |
+ |
/** |
* @return page url. |
*/ |