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

Issue 10177002: Do not include Ctrl+N and Ctrl+Shift+N in chrome/browser/ui/views/accelerator_table.cc when USE_ASH (Closed)

Created:
8 years, 8 months ago by Yusuke Sato
Modified:
8 years, 8 months ago
CC:
chromium-reviews, mazda+watch_chromium.org, derat+watch_chromium.org
Visibility:
Public.

Description

Do not include Ctrl+N and Ctrl+Shift+N in chrome/browser/ui/views/accelerator_table.cc when USE_ASH is #defined. The shortcuts should be excluded since they're already included in ash/accelerators/accelerator_table.cc. Removing this kind of duplication is necessary for implementing crbug.com/123856 correctly. Along with the change, add unit tests for preventing the same mistake in the future. BUG=123856 TEST=ran unit_tests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=133651

Patch Set 1 #

Patch Set 2 : fix win_aura #

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+89 lines, -15 lines) Patch
M ash/accelerators/accelerator_table.h View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/accelerator_table.h View 1 chunk +14 lines, -13 lines 0 comments Download
M chrome/browser/ui/views/accelerator_table.cc View 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/browser/ui/views/accelerator_table_unittest.cc View 1 2 1 chunk +67 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Yusuke Sato
8 years, 8 months ago (2012-04-23 11:26:45 UTC) #1
Ben Goodger (Google)
lgtm
8 years, 8 months ago (2012-04-23 15:23:38 UTC) #2
mazda
This causes the following regression. http://code.google.com/p/chromium/issues/detail?id=120196 We need to come up with a way to ...
8 years, 8 months ago (2012-04-23 16:13:23 UTC) #3
Yusuke Sato
Good catch! Thanks. I think ToolbarView::GetAcceleratorForCommandId() would be the right place to fix 120196. Let ...
8 years, 8 months ago (2012-04-24 06:01:29 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yusukes@chromium.org/10177002/13001
8 years, 8 months ago (2012-04-24 07:34:00 UTC) #5
Yusuke Sato
> Let me do it in a separate CL. Started code review: http://codereview.chromium.org/10155022/
8 years, 8 months ago (2012-04-24 07:40:02 UTC) #6
commit-bot: I haz the power
8 years, 8 months ago (2012-04-24 08:53:36 UTC) #7
Change committed as 133651

Powered by Google App Engine
This is Rietveld 408576698