| 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 2c87307c54ca441065578d730ffcec75b7b18c02..765210e681e76ab0016722ce2af2518b657ab0ce 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
|
| @@ -98,8 +98,18 @@ 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.
|
| + * @return whether an activity is available to handle an intent to call a phone number.
|
| + */
|
| + public boolean supportsCall();
|
| +
|
| + /**
|
| + * Called when the {@code url} should be parsed to call a phone number.
|
| + * @param url The URL to be parsed to call a phone number.
|
| + */
|
| + void onCall(String url);
|
| +
|
| + /**
|
| + * @return whether an activity is available to handle an intent to send an email.
|
| */
|
| public boolean supportsSendEmailMessage();
|
|
|
| @@ -110,6 +120,17 @@ public interface ContextMenuItemDelegate {
|
| void onSendEmailMessage(String url);
|
|
|
| /**
|
| + * @return whether an activity is available to handle an intent to send a text message.
|
| + */
|
| + public boolean supportsSendTextMessage();
|
| +
|
| + /**
|
| + * Called when the {@code url} should be parsed to send a text message.
|
| + * @param url The URL to be parsed to send a text message.
|
| + */
|
| + void onSendTextMessage(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.
|
| */
|
|
|