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

Issue 1902393003: Don't check ash accelerators in browser with mash. (Closed)

Created:
4 years, 8 months ago by kylechar
Modified:
4 years, 8 months ago
Reviewers:
sky
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

Don't check ash accelerators in browser with mash. The chrome browser is crashing when chrome::IsAcceleratorDeprecated() is called when running mash. This is due to ash::Shell not existing in the browser process. The chrome browser process shouldn't be handling ash accelerators in mash, it should be done by the mus process. Bail out early from the method if running in mash instead. BUG=605218 Committed: https://crrev.com/5d7c79e257fecde79e9a5f98621a68f283c52198 Cr-Commit-Position: refs/heads/master@{#388807}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Move to ash_util.cc #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -0 lines) Patch
M chrome/browser/ui/ash/ash_util.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (7 generated)
kylechar
4 years, 8 months ago (2016-04-20 20:11:05 UTC) #2
sky
https://codereview.chromium.org/1902393003/diff/1/chrome/browser/ui/views/frame/browser_view.cc File chrome/browser/ui/views/frame/browser_view.cc (right): https://codereview.chromium.org/1902393003/diff/1/chrome/browser/ui/views/frame/browser_view.cc#newcode1377 chrome/browser/ui/views/frame/browser_view.cc:1377: if (chrome::IsRunningInMash()) This seems too early. It's only ash ...
4 years, 8 months ago (2016-04-20 20:26:49 UTC) #3
kylechar
On 2016/04/20 20:26:49, sky wrote: > https://codereview.chromium.org/1902393003/diff/1/chrome/browser/ui/views/frame/browser_view.cc > File chrome/browser/ui/views/frame/browser_view.cc (right): > > https://codereview.chromium.org/1902393003/diff/1/chrome/browser/ui/views/frame/browser_view.cc#newcode1377 > ...
4 years, 8 months ago (2016-04-20 20:35:59 UTC) #4
sky
How about moving the conditional to IsAcceleratorDeprecated then? -Scott On Wed, Apr 20, 2016 at ...
4 years, 8 months ago (2016-04-20 20:37:47 UTC) #5
kylechar
On 2016/04/20 20:37:47, sky wrote: > How about moving the conditional to IsAcceleratorDeprecated then? > ...
4 years, 8 months ago (2016-04-21 12:53:51 UTC) #6
sky
LGTM
4 years, 8 months ago (2016-04-21 16:48:48 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1902393003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1902393003/20001
4 years, 8 months ago (2016-04-21 16:55:15 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 8 months ago (2016-04-21 17:43:42 UTC) #14
commit-bot: I haz the power
4 years, 8 months ago (2016-04-22 19:35:55 UTC) #16
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/5d7c79e257fecde79e9a5f98621a68f283c52198
Cr-Commit-Position: refs/heads/master@{#388807}

Powered by Google App Engine
This is Rietveld 408576698