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

Issue 2836843006: Only start action mode if there is a selection (Closed)

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

Description

Only start action mode if there is a selection It currently doesn't make sense to have an action mode without a selection. The main way to close the action mode is through |SELECTION_HANDLES_CLEARED| and that is not possible in this situation since there was no selection to begin with. BUG=715268 Review-Url: https://codereview.chromium.org/2836843006 Cr-Commit-Position: refs/heads/master@{#467186} Committed: https://chromium.googlesource.com/chromium/src/+/ae9712079d2b34e4a543a8f04de581a3b7bfd383

Patch Set 1 #

Total comments: 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 1 comment Download

Messages

Total messages: 16 (9 generated)
amaralp
PTAL
3 years, 8 months ago (2017-04-25 21:12:38 UTC) #7
Tima Vaisburd
https://codereview.chromium.org/2836843006/diff/1/content/public/android/java/src/org/chromium/content/browser/SelectionPopupController.java File content/public/android/java/src/org/chromium/content/browser/SelectionPopupController.java (right): https://codereview.chromium.org/2836843006/diff/1/content/public/android/java/src/org/chromium/content/browser/SelectionPopupController.java#newcode229 content/public/android/java/src/org/chromium/content/browser/SelectionPopupController.java:229: if (!isActionModeSupported() || !mHasSelection) return; Do we ever create ...
3 years, 8 months ago (2017-04-25 21:34:50 UTC) #8
amaralp
On 2017/04/25 at 21:34:50, timav wrote: > https://codereview.chromium.org/2836843006/diff/1/content/public/android/java/src/org/chromium/content/browser/SelectionPopupController.java > File content/public/android/java/src/org/chromium/content/browser/SelectionPopupController.java (right): > > https://codereview.chromium.org/2836843006/diff/1/content/public/android/java/src/org/chromium/content/browser/SelectionPopupController.java#newcode229 ...
3 years, 8 months ago (2017-04-25 21:50:50 UTC) #9
Tima Vaisburd
On 2017/04/25 21:50:50, amaralp wrote: > On 2017/04/25 at 21:34:50, timav wrote: > > > ...
3 years, 8 months ago (2017-04-25 22:43:57 UTC) #10
aelias_OOO_until_Jul13
lgtm
3 years, 8 months ago (2017-04-26 00:40:03 UTC) #11
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/2836843006/1
3 years, 8 months ago (2017-04-26 00:49:05 UTC) #13
commit-bot: I haz the power
3 years, 8 months ago (2017-04-26 00:56:05 UTC) #16
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/ae9712079d2b34e4a543a8f04de5...

Powered by Google App Engine
This is Rietveld 408576698