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

Issue 2957213002: [TTS] Fix assert after TTS and Context Menu. (Closed)

Created:
3 years, 5 months ago by Donn Denman
Modified:
3 years, 5 months ago
Reviewers:
Theresa
CC:
chromium-reviews, twellington+watch_chromium.org, donnd+watch_chromium.org, agrieve+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[TTS] Fix assert after TTS and Context Menu. ContextualSearchSelectionController was checking whether the context menu had been shown to sort out confusing event sequences. This is causing the CSM to assert because the selection type is not set up when a long-press follows Context Menu dismissal. BUG=737285, 628436 Review-Url: https://codereview.chromium.org/2957213002 Cr-Commit-Position: refs/heads/master@{#483068} Committed: https://chromium.googlesource.com/chromium/src/+/ae01e3f319b3d133c7c54c84519dc753b4922cf2

Patch Set 1 #

Total comments: 4

Patch Set 2 : Removed the check for null before trim() -- it's redundant. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -12 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchSelectionController.java View 4 chunks +3 lines, -12 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 20 (10 generated)
Donn Denman
Theresa, PTAL when convenient.
3 years, 5 months ago (2017-06-27 23:19:20 UTC) #4
Theresa
https://codereview.chromium.org/2957213002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchManager.java File chrome/android/java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchManager.java (right): https://codereview.chromium.org/2957213002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchManager.java#newcode444 chrome/android/java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchManager.java:444: if (!isTap && mSearchPanel.isPeeking() && selection != null) { ...
3 years, 5 months ago (2017-06-27 23:40:20 UTC) #7
Donn Denman
Theresa, PTAL. Thanks! https://codereview.chromium.org/2957213002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchManager.java File chrome/android/java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchManager.java (right): https://codereview.chromium.org/2957213002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchManager.java#newcode444 chrome/android/java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchManager.java:444: if (!isTap && mSearchPanel.isPeeking() && selection ...
3 years, 5 months ago (2017-06-27 23:59:19 UTC) #8
Theresa
On 2017/06/27 23:59:19, Donn Denman wrote: > Theresa, PTAL. Thanks! > > https://codereview.chromium.org/2957213002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchManager.java > File ...
3 years, 5 months ago (2017-06-28 15:15:11 UTC) #9
Donn Denman
On 2017/06/28 15:15:11, Theresa wrote: > On 2017/06/27 23:59:19, Donn Denman wrote: > > Theresa, ...
3 years, 5 months ago (2017-06-28 17:15:54 UTC) #12
Donn Denman
Theresa, PTAL. Added that original bug to the BUG= list for this CL and updated ...
3 years, 5 months ago (2017-06-28 17:16:07 UTC) #13
Theresa
LGTM Thank you for all of the testing.
3 years, 5 months ago (2017-06-28 17:29:38 UTC) #14
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/2957213002/20001
3 years, 5 months ago (2017-06-28 17:33:56 UTC) #16
Donn Denman
Thanks for the thoughtful reviews!
3 years, 5 months ago (2017-06-28 17:33:56 UTC) #17
commit-bot: I haz the power
3 years, 5 months ago (2017-06-28 18:24:24 UTC) #20
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/ae01e3f319b3d133c7c54c84519d...

Powered by Google App Engine
This is Rietveld 408576698