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

Issue 333026: Mac: Make Cmd-[ and Cmd-] work properly again. (Closed)

Created:
11 years, 1 month ago by viettrungluu
Modified:
9 years, 6 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Mac: Make Cmd-[ and Cmd-] work properly again. I had accidentally made them open new tabs. I added a |-commandDispatchUsingKeyModifiers:| method to the browser window controller and made the back/forward buttons send this selector instead (this is how Toolbar.xib was changed). [N.B.: As of this writing, Cmd+Shift-back/forwards is broken, but that's a separate, non-Mac-specific, issue.] BUG=25810 TEST=Make sure Cmd-[ and Cmd-] work as expected (not opening history items in new tabs). Make sure back and forward buttons work properly (including while holding down Cmd and Cmd+Shift). Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=30059

Patch Set 1 #

Patch Set 2 : Changed to just use a different selector instead (per Nico's comment on IRC). #

Unified diffs Side-by-side diffs Delta from patch set Stats (+674 lines, -80 lines) Patch
M chrome/app/nibs/Toolbar.xib View 1 34 chunks +659 lines, -66 lines 0 comments Download
M chrome/browser/cocoa/browser_window_controller.mm View 1 4 chunks +15 lines, -14 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
viettrungluu
11 years, 1 month ago (2009-10-26 15:39:00 UTC) #1
viettrungluu
11 years, 1 month ago (2009-10-26 15:40:23 UTC) #2
viettrungluu
(See the changed description.) Also, Cmd+Shift-click on back/forwards button, but that's not Mac specific; I ...
11 years, 1 month ago (2009-10-26 16:45:19 UTC) #3
Nico
LG
11 years, 1 month ago (2009-10-26 16:49:09 UTC) #4
pink (ping after 24hrs)
11 years, 1 month ago (2009-10-26 17:16:34 UTC) #5
LGTM

Powered by Google App Engine
This is Rietveld 408576698