Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(188)

Side by Side Diff: chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuItemDelegate.java

Issue 397993002: [WIP]Incorrect context menu is shown for tel: links Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: minor cleanup Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 package org.chromium.chrome.browser.contextmenu; 5 package org.chromium.chrome.browser.contextmenu;
6 6
7 import org.chromium.chrome.browser.Tab; 7 import org.chromium.chrome.browser.Tab;
8 import org.chromium.content.browser.ContentViewCore; 8 import org.chromium.content.browser.ContentViewCore;
9 import org.chromium.content_public.Referrer; 9 import org.chromium.content_public.Referrer;
10 10
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 * Called when the {@code url} is of an image and a link to the image should be saved to the 72 * Called when the {@code url} is of an image and a link to the image should be saved to the
73 * clipboard. 73 * clipboard.
74 * @param url The image URL. 74 * @param url The image URL.
75 */ 75 */
76 void onSaveImageToClipboard(String url); 76 void onSaveImageToClipboard(String url);
77 77
78 /** 78 /**
79 * Called when a search by image should be performed in a new tab. 79 * Called when a search by image should be performed in a new tab.
80 */ 80 */
81 void onSearchByImageInNewTab(); 81 void onSearchByImageInNewTab();
82
83 /**
84 * Called when {@code number} has a tel: scheme and hence should be used for making a call.
85 * @param number Phone number to make a call
86 */
87 void onCall(String number);
88
89 /**
90 * Called when {@code number} has a tel: scheme and hence should be used for sending
91 * text message.
92 * @param number Phone number to send text message
93 */
94 void onSendTextMessage(String number);
95
96 /**
97 * Called when {@code number} has a tel: scheme and hence should be used for adding
98 * phone number to contacts.
99 * @param number Phone number to add to contacts
100 */
101 void onAddToContacts(String number);
82 } 102 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698