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

Issue 2073783003: Fixed bug where mash chrome crashes accessing ash::Shell with context menus (Closed)

Created:
4 years, 6 months ago by StarAZ
Modified:
4 years, 6 months ago
Reviewers:
msw, sadrul
CC:
chromium-reviews, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

fixed issue 606368: early return from ProcessAcceleratorWhileMenuShowing() if chrome::IsRunningInMash() BUG=606368 TEST=Start Chrome with mash. Right click on a webpage to open the context menu. Trigger a keyboard event by pressing the Ctrl key. Chrome should not crash. Committed: https://crrev.com/92c518d4ecafd8a81a8e4aa4606d93bdb0eb53df Cr-Commit-Position: refs/heads/master@{#400724}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fixed bug where mash chrome crashes accessing ash::Shell with context menus #

Total comments: 2

Patch Set 3 : Early return LEAVE_MENU_OPEN instead of CLOSE_MENU #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -0 lines) Patch
M chrome/browser/ui/views/chrome_views_delegate.cc View 1 2 2 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (9 generated)
StarAZ
Please review my change
4 years, 6 months ago (2016-06-16 16:56:45 UTC) #2
Peter Kasting
Thanks for posting this. A few notes: * Please write a CL description that explains ...
4 years, 6 months ago (2016-06-16 17:02:39 UTC) #3
StarAZ
On 2016/06/16 17:02:39, Peter Kasting wrote: > Thanks for posting this. A few notes: > ...
4 years, 6 months ago (2016-06-16 17:12:43 UTC) #5
StarAZ
Please review my change
4 years, 6 months ago (2016-06-16 17:17:33 UTC) #8
StarAZ
I have updated the patch according to the comments. Please have another look.
4 years, 6 months ago (2016-06-16 17:40:19 UTC) #9
sadrul
https://codereview.chromium.org/2073783003/diff/20001/chrome/browser/ui/views/chrome_views_delegate.cc File chrome/browser/ui/views/chrome_views_delegate.cc (right): https://codereview.chromium.org/2073783003/diff/20001/chrome/browser/ui/views/chrome_views_delegate.cc#newcode276 chrome/browser/ui/views/chrome_views_delegate.cc:276: return views::ViewsDelegate::ProcessMenuAcceleratorResult::CLOSE_MENU; I think we should do the default ...
4 years, 6 months ago (2016-06-16 17:58:40 UTC) #10
StarAZ
I have updated the patch to change the early return to LEAVE_MENU_OPEN https://codereview.chromium.org/2073783003/diff/20001/chrome/browser/ui/views/chrome_views_delegate.cc File chrome/browser/ui/views/chrome_views_delegate.cc ...
4 years, 6 months ago (2016-06-16 18:21:27 UTC) #11
sadrul
lgtm
4 years, 6 months ago (2016-06-16 18:22:47 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2073783003/40001
4 years, 6 months ago (2016-06-16 18:25:18 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/201945)
4 years, 6 months ago (2016-06-16 18:36:09 UTC) #16
msw
lgtm
4 years, 6 months ago (2016-06-20 17:13:30 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2073783003/40001
4 years, 6 months ago (2016-06-20 17:23:39 UTC) #19
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 6 months ago (2016-06-20 18:08:09 UTC) #21
commit-bot: I haz the power
4 years, 6 months ago (2016-06-20 18:14:40 UTC) #23
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/92c518d4ecafd8a81a8e4aa4606d93bdb0eb53df
Cr-Commit-Position: refs/heads/master@{#400724}

Powered by Google App Engine
This is Rietveld 408576698