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

Issue 2619493006: [Android] Chagne items shown in context menu for tel link (Closed)

Created:
3 years, 11 months ago by ltian
Modified:
3 years, 11 months ago
Reviewers:
Ted C, jwd
CC:
chromium-reviews, lizeb+watch-custom-tabs_chromium.org, asvitkine+watch_chromium.org, agrieve+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Android] Chagne items shown in context menu for tel link Current items (Copy link address, Copy link text) shown in the context menu for tel tag link do not make sense. Update the items shown in the context menu when long pressing a tel link. The items include: 1. Call: acts the same as clicking on the link 2. Send message: navigates to the default message app to send a text message for given telephone number. 3. Add ot contacts: navigates to Contacts and add the given phone number to the contact. 4. Copy: copys the phone number. BUG=394299 Review-Url: https://codereview.chromium.org/2619493006 Cr-Commit-Position: refs/heads/master@{#442728} Committed: https://chromium.googlesource.com/chromium/src/+/17aab3f6517fd0ba74d8e5f7d9ec35440401d9e1

Patch Set 1 #

Total comments: 6

Patch Set 2 : Update based on Ted's comments. #

Total comments: 2

Patch Set 3 : Update based on Ted's comment. #

Patch Set 4 : Solve conflicts of commit. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+207 lines, -28 lines) Patch
M chrome/android/java/res/menu/chrome_context_menu.xml View 1 chunk +5 lines, -3 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuPopulator.java View 1 2 3 5 chunks +42 lines, -10 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ContextMenuItemDelegate.java View 1 2 chunks +23 lines, -2 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/tab/TabContextMenuItemDelegate.java View 3 chunks +35 lines, -2 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/util/UrlUtilities.java View 1 2 1 chunk +21 lines, -0 lines 0 comments Download
M chrome/android/java/strings/android_chrome_strings.grd View 1 2 3 1 chunk +4 lines, -1 line 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/contextmenu/ContextMenuTest.java View 1 chunk +13 lines, -1 line 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/customtabs/CustomTabActivityTest.java View 6 chunks +55 lines, -9 lines 0 comments Download
M chrome/test/data/android/contextmenu/context_menu_test.html View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/test/data/android/google.html View 1 chunk +4 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 31 (20 generated)
ltian
tedchoc@chromium.org: can you take a look of my Java changes for this CL.
3 years, 11 months ago (2017-01-07 01:00:34 UTC) #6
ltian
jwd@chromium.org: can you take a look of changes in histograms.xml? Thanks!
3 years, 11 months ago (2017-01-07 01:02:59 UTC) #7
jwd
histograms LGTM
3 years, 11 months ago (2017-01-09 21:04:30 UTC) #8
Ted C
https://codereview.chromium.org/2619493006/diff/1/chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ContextMenuItemDelegate.java File chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ContextMenuItemDelegate.java (right): https://codereview.chromium.org/2619493006/diff/1/chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ContextMenuItemDelegate.java#newcode102 chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ContextMenuItemDelegate.java:102: * @return true if an activity is available to ...
3 years, 11 months ago (2017-01-09 21:45:34 UTC) #9
ltian
https://codereview.chromium.org/2619493006/diff/1/chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ContextMenuItemDelegate.java File chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ContextMenuItemDelegate.java (right): https://codereview.chromium.org/2619493006/diff/1/chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ContextMenuItemDelegate.java#newcode102 chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ContextMenuItemDelegate.java:102: * @return true if an activity is available to ...
3 years, 11 months ago (2017-01-10 04:45:06 UTC) #14
Ted C
lgtm https://codereview.chromium.org/2619493006/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/util/UrlUtilities.java File chrome/android/java/src/org/chromium/chrome/browser/util/UrlUtilities.java (right): https://codereview.chromium.org/2619493006/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/util/UrlUtilities.java#newcode60 chrome/android/java/src/org/chromium/chrome/browser/util/UrlUtilities.java:60: * guaranteed. nit, for the second line, align ...
3 years, 11 months ago (2017-01-10 17:22:24 UTC) #15
ltian
https://codereview.chromium.org/2619493006/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/util/UrlUtilities.java File chrome/android/java/src/org/chromium/chrome/browser/util/UrlUtilities.java (right): https://codereview.chromium.org/2619493006/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/util/UrlUtilities.java#newcode60 chrome/android/java/src/org/chromium/chrome/browser/util/UrlUtilities.java:60: * guaranteed. On 2017/01/10 17:22:24, Ted C wrote: > ...
3 years, 11 months ago (2017-01-10 18:58:59 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2619493006/40001
3 years, 11 months ago (2017-01-10 18:59:45 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/133188) ios-device-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 11 months ago (2017-01-10 19:02:58 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2619493006/60001
3 years, 11 months ago (2017-01-10 23:30:52 UTC) #28
commit-bot: I haz the power
3 years, 11 months ago (2017-01-10 23:37:45 UTC) #31
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/17aab3f6517fd0ba74d8e5f7d9ec...

Powered by Google App Engine
This is Rietveld 408576698