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

Issue 2853483003: [Android] Fix direct share in context menu does not close dialog when clicked (Closed)

Created:
3 years, 7 months ago by ltian
Modified:
3 years, 7 months ago
Reviewers:
Ted C
CC:
chromium-reviews, agrieve+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[Android] Fix direct share in context menu does not close dialog when clicked After the direct share icon is clicked, the dialog of context menu does not dissmiss. This is because onClick event of the direct share icon does not call dialog to dismiss. To fix the problem, add an delegate interface for direct share action and implement it in the TabularContextMenuUi. BUG=None Review-Url: https://codereview.chromium.org/2853483003 Cr-Commit-Position: refs/heads/master@{#468454} Committed: https://chromium.googlesource.com/chromium/src/+/174d25a6b6a60a68090facf740178025c6eeebfb

Patch Set 1 #

Total comments: 2

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -5 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/contextmenu/TabularContextMenuListAdapter.java View 1 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/contextmenu/TabularContextMenuUi.java View 1 1 chunk +8 lines, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 11 (4 generated)
ltian
Could you take a look of the changes in this CL? Thanks!
3 years, 7 months ago (2017-04-28 23:08:12 UTC) #2
Ted C
https://codereview.chromium.org/2853483003/diff/1/chrome/android/java/src/org/chromium/chrome/browser/contextmenu/TabularContextMenuUi.java File chrome/android/java/src/org/chromium/chrome/browser/contextmenu/TabularContextMenuUi.java (right): https://codereview.chromium.org/2853483003/diff/1/chrome/android/java/src/org/chromium/chrome/browser/contextmenu/TabularContextMenuUi.java#newcode165 chrome/android/java/src/org/chromium/chrome/browser/contextmenu/TabularContextMenuUi.java:165: new TabularContextMenuListAdapter(items, activity, this); Any thoughts of just wrapping ...
3 years, 7 months ago (2017-05-01 16:38:24 UTC) #3
ltian
https://codereview.chromium.org/2853483003/diff/1/chrome/android/java/src/org/chromium/chrome/browser/contextmenu/TabularContextMenuUi.java File chrome/android/java/src/org/chromium/chrome/browser/contextmenu/TabularContextMenuUi.java (right): https://codereview.chromium.org/2853483003/diff/1/chrome/android/java/src/org/chromium/chrome/browser/contextmenu/TabularContextMenuUi.java#newcode165 chrome/android/java/src/org/chromium/chrome/browser/contextmenu/TabularContextMenuUi.java:165: new TabularContextMenuListAdapter(items, activity, this); On 2017/05/01 16:38:23, Ted C ...
3 years, 7 months ago (2017-05-01 18:57:36 UTC) #4
ltian
3 years, 7 months ago (2017-05-01 18:57:37 UTC) #5
Ted C
lgtm
3 years, 7 months ago (2017-05-01 19:55:17 UTC) #6
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/2853483003/20001
3 years, 7 months ago (2017-05-01 21:28:35 UTC) #8
commit-bot: I haz the power
3 years, 7 months ago (2017-05-01 22:21:32 UTC) #11
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/174d25a6b6a60a68090facf74017...

Powered by Google App Engine
This is Rietveld 408576698