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

Issue 2899043007: Fix the handling of the text prosessing items in the popup menu (Closed)

Created:
3 years, 6 months ago by Tima Vaisburd
Modified:
3 years, 6 months ago
Reviewers:
Ted C, amaralp
CC:
agrieve+watch_chromium.org, chromium-reviews, darin-cc_chromium.org, jam
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix the handling of the text prosessing items in the popup menu The prior code wrongly assumed that the item ID of a MenuItem can not be zero. Because of this for zero ID items prior to Android O the wrong method (doAssistAction()) was called which did not do anything. This fix removes doAssistAction() from valid choices prior to Android O. BUG=726252 Review-Url: https://codereview.chromium.org/2899043007 Cr-Commit-Position: refs/heads/master@{#475101} Committed: https://chromium.googlesource.com/chromium/src/+/a978f857db529cd85a416d5b6b274b1fb148c9c8

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M content/public/android/java/src/org/chromium/content/browser/SelectionPopupController.java View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 13 (8 generated)
Tima Vaisburd
A minimal fix so we can merge. PTAL.
3 years, 6 months ago (2017-05-26 01:40:44 UTC) #2
amaralp
lgtm
3 years, 6 months ago (2017-05-26 18:15:49 UTC) #7
Ted C
lgtm
3 years, 6 months ago (2017-05-26 18:19:33 UTC) #8
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/2899043007/1
3 years, 6 months ago (2017-05-26 19:47:05 UTC) #10
commit-bot: I haz the power
3 years, 6 months ago (2017-05-26 20:12:28 UTC) #13
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/a978f857db529cd85a416d5b6b27...

Powered by Google App Engine
This is Rietveld 408576698