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

Issue 2074643003: MacViews: Views accelerators table should match the Cocoa one. (Closed)

Created:
4 years, 6 months ago by themblsha
Modified:
4 years, 1 month ago
Reviewers:
tapted, Nico, Peter Kasting, sky
CC:
chromium-reviews, tfarina, yusukes+watch_chromium.org, derat+watch_chromium.org
Base URL:
ssh://bitbucket.browser.yandex-team.ru/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MacViews: Views accelerators table should match the Cocoa one. Updated views/accelerator_table.cc to match accelerators_cocoa.mm. Added eligible shortcuts from global_keyboard_shortcuts_mac.mm as well. Also handle the case when the user configured cmd-left to mean "previous tab", as it should take precedence over the built-in binding: we're consulting the [NSApp mainMenu] using CommandForKeyEvent(). Lastly, the Cmd+{/} shortcuts are special as they would be impossible to perform on German and French keyboard layouts if we would simply check for keycodes as we do in accelerator_table.cc (crbug.com/25946). In order to tackle last two problems I've added PreHandleKeyboardEvent and HandleKeyboardEvent to the NativeBrowserFrame interface. BUG=620315 Committed: https://crrev.com/cb9c6b9d9a764e89cb0703e48ddcfea3129e2ad3 Cr-Commit-Position: refs/heads/master@{#433574}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Fix review issues. #

Total comments: 31

Patch Set 3 : Add tapted's implementation + debugging. #

Total comments: 1

Patch Set 4 : Updated accelerator_table.cc, removed non-Cocoa shortcuts, added global_keyboard_shortcuts_mac.mm h… #

Total comments: 24

Patch Set 5 : Fix review issues. #

Total comments: 20

Patch Set 6 : Split global_keyboard_shortcuts_mac.mm into two platform-specific ones, simplified code. #

Patch Set 7 : Split global_keyboard_shortcuts_mac.mm into two platform-specific ones, simplified code. #

Total comments: 29

Patch Set 8 : Fix review issues. #

Patch Set 9 : Fix spelling in a comment. #

Total comments: 53

Patch Set 10 : Fixed a ton of review issues. #

Total comments: 4

Patch Set 11 : Restore kAcceleratorMap. #

Patch Set 12 : e --> shortcut #

Total comments: 2

Patch Set 13 : Make (Pre)HandleKeyboardEvent pure virtual. #

Total comments: 18

Patch Set 14 : Fix sky's remarks. #

Patch Set 15 : #ifdef out Ctrl shortcuts on Mac. #

Total comments: 13

Patch Set 16 : #ifdef out the Alt accelerators, sort the #if !Mac accelerators, fix includes. #

Total comments: 18

Patch Set 17 : Fix tapted's remarks. #

Patch Set 18 : GetWindowKeyboardShortcutTable is now shared between Cocoa and MacViews. #

Total comments: 2

Patch Set 19 : Revert to Patch Set 17, rebase on top of master. #

Patch Set 20 : Fix compilation. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+576 lines, -205 lines) Patch
M chrome/browser/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +6 lines, -0 lines 0 comments Download
A chrome/browser/global_keyboard_shortcuts_cocoa_mac.mm View 1 2 3 4 5 6 7 8 9 14 15 18 1 chunk +75 lines, -0 lines 0 comments Download
M chrome/browser/global_keyboard_shortcuts_mac.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/global_keyboard_shortcuts_mac.mm View 1 2 3 4 5 6 7 8 9 10 11 18 5 chunks +24 lines, -99 lines 0 comments Download
M chrome/browser/global_keyboard_shortcuts_mac_unittest.mm View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +12 lines, -24 lines 0 comments Download
A chrome/browser/global_keyboard_shortcuts_views_mac.mm View 1 2 3 4 5 6 7 8 9 14 15 18 1 chunk +33 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/accelerator_table.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 7 chunks +134 lines, -71 lines 0 comments Download
A chrome/browser/ui/views/accelerator_table_unittest_mac.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +114 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_frame.h View 1 2 3 4 5 6 7 2 chunks +13 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_frame.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_frame_ash.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_frame_ash.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +12 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_frame_mac.h View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_frame_mac.mm View 1 2 3 4 5 6 7 8 9 3 chunks +82 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_frame_mus.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_frame_mus.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/desktop_browser_frame_aura.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/desktop_browser_frame_aura.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/native_browser_frame.h View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +12 lines, -0 lines 0 comments Download
M chrome/test/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 88 (20 generated)
themblsha
What do you think?
4 years, 6 months ago (2016-06-16 14:47:11 UTC) #3
tapted
https://codereview.chromium.org/2074643003/diff/1/chrome/browser/ui/views/accelerator_table.cc File chrome/browser/ui/views/accelerator_table.cc (right): https://codereview.chromium.org/2074643003/diff/1/chrome/browser/ui/views/accelerator_table.cc#newcode25 chrome/browser/ui/views/accelerator_table.cc:25: // TODO(jackhou): If-def out the accelerators that should not ...
4 years, 6 months ago (2016-06-17 01:05:01 UTC) #4
themblsha
https://codereview.chromium.org/2074643003/diff/1/chrome/browser/ui/views/accelerator_table.cc File chrome/browser/ui/views/accelerator_table.cc (right): https://codereview.chromium.org/2074643003/diff/1/chrome/browser/ui/views/accelerator_table.cc#newcode25 chrome/browser/ui/views/accelerator_table.cc:25: // TODO(jackhou): If-def out the accelerators that should not ...
4 years, 6 months ago (2016-06-21 15:57:49 UTC) #5
tapted
https://codereview.chromium.org/2074643003/diff/20001/chrome/browser/ui/views/accelerator_table.cc File chrome/browser/ui/views/accelerator_table.cc (left): https://codereview.chromium.org/2074643003/diff/20001/chrome/browser/ui/views/accelerator_table.cc#oldcode38 chrome/browser/ui/views/accelerator_table.cc:38: { ui::VKEY_BACK, ui::EF_NONE, IDC_BACKSPACE_BACK }, why this? It looks ...
4 years, 6 months ago (2016-06-22 03:06:10 UTC) #6
themblsha
Here's a sorted command output from both |accelerators| and |accelerators_mblsha| so you could diff it ...
4 years, 6 months ago (2016-06-24 18:22:15 UTC) #7
tapted
https://codereview.chromium.org/2074643003/diff/20001/chrome/browser/ui/views/accelerator_table.cc File chrome/browser/ui/views/accelerator_table.cc (right): https://codereview.chromium.org/2074643003/diff/20001/chrome/browser/ui/views/accelerator_table.cc#newcode69 chrome/browser/ui/views/accelerator_table.cc:69: { ui::VKEY_9, ui::EF_CONTROL_DOWN, IDC_SELECT_LAST_TAB }, On 2016/06/24 18:22:15, themblsha ...
4 years, 5 months ago (2016-06-28 05:19:55 UTC) #8
tapted
coincidentally, I was looking at some code involved with this today for http://crbug.com/19792 and it ...
4 years, 5 months ago (2016-06-29 13:10:32 UTC) #9
themblsha
On 2016/06/28 05:19:55, tapted wrote: > > Because it isn't present in the accelerators_cocoa.mm. Updated ...
4 years, 4 months ago (2016-07-27 14:38:29 UTC) #10
themblsha
Finally had the chance to check how the global_keyboard_shortcuts_mac.mm tables work (https://codereview.chromium.org/1255783002). Turns out they're ...
4 years, 2 months ago (2016-10-13 13:32:18 UTC) #11
tapted
nice - this is looking really neat. Hopefully we can make better use of NativeBrowserFrame ...
4 years, 2 months ago (2016-10-17 07:02:48 UTC) #12
themblsha
https://codereview.chromium.org/2074643003/diff/60001/chrome/browser/global_keyboard_shortcuts_mac.mm File chrome/browser/global_keyboard_shortcuts_mac.mm (right): https://codereview.chromium.org/2074643003/diff/60001/chrome/browser/global_keyboard_shortcuts_mac.mm#newcode55 chrome/browser/global_keyboard_shortcuts_mac.mm:55: // {false, false, true, false, kVK_PageDown, 0, IDC_SELECT_NEXT_TAB}, On ...
4 years, 2 months ago (2016-10-20 16:41:06 UTC) #14
themblsha
https://codereview.chromium.org/2074643003/diff/80001/chrome/test/BUILD.gn File chrome/test/BUILD.gn (right): https://codereview.chromium.org/2074643003/diff/80001/chrome/test/BUILD.gn#newcode4701 chrome/test/BUILD.gn:4701: if (!is_mac || mac_views_browser) { Created https://codereview.chromium.org/2440743002/
4 years, 2 months ago (2016-10-20 17:03:56 UTC) #15
themblsha
Ping?
4 years, 1 month ago (2016-10-25 12:23:26 UTC) #16
tapted
Sorry for the delay. I wanted to patch this in and play around (some of ...
4 years, 1 month ago (2016-10-26 08:40:48 UTC) #17
themblsha
https://codereview.chromium.org/2074643003/diff/80001/chrome/browser/global_keyboard_shortcuts_mac.mm File chrome/browser/global_keyboard_shortcuts_mac.mm (right): https://codereview.chromium.org/2074643003/diff/80001/chrome/browser/global_keyboard_shortcuts_mac.mm#newcode40 chrome/browser/global_keyboard_shortcuts_mac.mm:40: // FIXME(mblsha): What's the best way to check for ...
4 years, 1 month ago (2016-10-26 17:10:03 UTC) #18
tapted
https://codereview.chromium.org/2074643003/diff/80001/chrome/browser/global_keyboard_shortcuts_mac.mm File chrome/browser/global_keyboard_shortcuts_mac.mm (right): https://codereview.chromium.org/2074643003/diff/80001/chrome/browser/global_keyboard_shortcuts_mac.mm#newcode40 chrome/browser/global_keyboard_shortcuts_mac.mm:40: // FIXME(mblsha): What's the best way to check for ...
4 years, 1 month ago (2016-10-28 04:59:49 UTC) #19
themblsha
https://codereview.chromium.org/2074643003/diff/80001/chrome/browser/global_keyboard_shortcuts_mac.mm File chrome/browser/global_keyboard_shortcuts_mac.mm (right): https://codereview.chromium.org/2074643003/diff/80001/chrome/browser/global_keyboard_shortcuts_mac.mm#newcode40 chrome/browser/global_keyboard_shortcuts_mac.mm:40: // FIXME(mblsha): What's the best way to check for ...
4 years, 1 month ago (2016-10-28 17:32:23 UTC) #20
tapted
https://codereview.chromium.org/2074643003/diff/80001/chrome/browser/ui/views/frame/browser_frame_mac.mm File chrome/browser/ui/views/frame/browser_frame_mac.mm (right): https://codereview.chromium.org/2074643003/diff/80001/chrome/browser/ui/views/frame/browser_frame_mac.mm#newcode31 chrome/browser/ui/views/frame/browser_frame_mac.mm:31: DCHECK(event.os_event != NULL); On 2016/10/28 17:32:22, themblsha wrote: > ...
4 years, 1 month ago (2016-10-31 10:16:57 UTC) #22
themblsha
+pkasting. Peter, could you please take a look as well? https://codereview.chromium.org/2074643003/diff/80001/chrome/browser/ui/views/frame/browser_frame_mac.mm File chrome/browser/ui/views/frame/browser_frame_mac.mm (right): https://codereview.chromium.org/2074643003/diff/80001/chrome/browser/ui/views/frame/browser_frame_mac.mm#newcode31 ...
4 years, 1 month ago (2016-10-31 16:56:30 UTC) #25
themblsha
Whoops, forgot to fix the spelling inside one of the comments.
4 years, 1 month ago (2016-10-31 16:59:25 UTC) #26
Peter Kasting
On 2016/10/31 16:56:30, themblsha wrote: > +pkasting. > > Peter, could you please take a ...
4 years, 1 month ago (2016-10-31 17:19:15 UTC) #27
themblsha
On 2016/10/31 17:19:15, Peter Kasting wrote: > On 2016/10/31 16:56:30, themblsha wrote: > > +pkasting. ...
4 years, 1 month ago (2016-10-31 17:35:31 UTC) #28
Peter Kasting
The code in the cross-platform files is fine. I don't have a good sense for ...
4 years, 1 month ago (2016-10-31 18:07:32 UTC) #31
tapted
lgtm % nits Thanks! https://codereview.chromium.org/2074643003/diff/150001/chrome/browser/ui/views/accelerator_table.cc File chrome/browser/ui/views/accelerator_table.cc (right): https://codereview.chromium.org/2074643003/diff/150001/chrome/browser/ui/views/accelerator_table.cc#newcode233 chrome/browser/ui/views/accelerator_table.cc:233: // VKEY_OEM_2 is Slash '/?' ...
4 years, 1 month ago (2016-11-01 00:22:50 UTC) #32
Peter Kasting
I came to write the STLSetDifference() reply, and saw some other possibilities for improvement too ...
4 years, 1 month ago (2016-11-01 00:46:22 UTC) #33
themblsha
Also I need to add some more reviewers for the global_keyboard_shortcuts*. Owners list avi, mark, ...
4 years, 1 month ago (2016-11-01 14:36:25 UTC) #34
Peter Kasting
https://codereview.chromium.org/2074643003/diff/150001/chrome/browser/global_keyboard_shortcuts_views_mac.mm File chrome/browser/global_keyboard_shortcuts_views_mac.mm (right): https://codereview.chromium.org/2074643003/diff/150001/chrome/browser/global_keyboard_shortcuts_views_mac.mm#newcode12 chrome/browser/global_keyboard_shortcuts_views_mac.mm:12: const KeyboardShortcutData* GetWindowKeyboardShortcutTable( On 2016/11/01 14:36:24, themblsha wrote: > ...
4 years, 1 month ago (2016-11-01 18:20:59 UTC) #35
tapted
still lgtm with a couple of nits. We do also need to re-indent (as pkasting ...
4 years, 1 month ago (2016-11-01 23:34:46 UTC) #36
themblsha
https://codereview.chromium.org/2074643003/diff/150001/chrome/browser/global_keyboard_shortcuts_views_mac.mm File chrome/browser/global_keyboard_shortcuts_views_mac.mm (right): https://codereview.chromium.org/2074643003/diff/150001/chrome/browser/global_keyboard_shortcuts_views_mac.mm#newcode12 chrome/browser/global_keyboard_shortcuts_views_mac.mm:12: const KeyboardShortcutData* GetWindowKeyboardShortcutTable( On 2016/11/01 18:20:58, Peter Kasting wrote: ...
4 years, 1 month ago (2016-11-02 17:31:37 UTC) #37
themblsha
+thakis +sky On 2016/10/31 18:07:32, Peter Kasting wrote: > I would ask ben or sky ...
4 years, 1 month ago (2016-11-02 17:42:03 UTC) #39
Peter Kasting
https://codereview.chromium.org/2074643003/diff/150001/chrome/browser/global_keyboard_shortcuts_views_mac.mm File chrome/browser/global_keyboard_shortcuts_views_mac.mm (right): https://codereview.chromium.org/2074643003/diff/150001/chrome/browser/global_keyboard_shortcuts_views_mac.mm#newcode12 chrome/browser/global_keyboard_shortcuts_views_mac.mm:12: const KeyboardShortcutData* GetWindowKeyboardShortcutTable( On 2016/11/02 17:31:37, themblsha wrote: > ...
4 years, 1 month ago (2016-11-02 17:51:28 UTC) #40
sky
https://codereview.chromium.org/2074643003/diff/210001/chrome/browser/ui/views/frame/native_browser_frame.h File chrome/browser/ui/views/frame/native_browser_frame.h (right): https://codereview.chromium.org/2074643003/diff/210001/chrome/browser/ui/views/frame/native_browser_frame.h#newcode45 chrome/browser/ui/views/frame/native_browser_frame.h:45: virtual bool PreHandleKeyboardEvent( Make this pure virtual to match ...
4 years, 1 month ago (2016-11-07 16:53:34 UTC) #41
themblsha
Can I add someone instead of thakis? Or should I try to ping him more? ...
4 years, 1 month ago (2016-11-08 11:35:20 UTC) #42
sky
https://codereview.chromium.org/2074643003/diff/230001/chrome/browser/global_keyboard_shortcuts_views_mac.mm File chrome/browser/global_keyboard_shortcuts_views_mac.mm (right): https://codereview.chromium.org/2074643003/diff/230001/chrome/browser/global_keyboard_shortcuts_views_mac.mm#newcode7 chrome/browser/global_keyboard_shortcuts_views_mac.mm:7: #include "chrome/browser/global_keyboard_shortcuts_mac.h" this should be the first include. https://codereview.chromium.org/2074643003/diff/230001/chrome/browser/ui/views/accelerator_table.cc ...
4 years, 1 month ago (2016-11-08 18:34:10 UTC) #43
themblsha
tapted: what do you think about the sky's proposal and my resulting change I've uploaded ...
4 years, 1 month ago (2016-11-09 14:54:02 UTC) #44
Nico
On 2016/11/02 17:42:03, themblsha wrote: > +thakis which file do you want me to look ...
4 years, 1 month ago (2016-11-09 15:45:25 UTC) #45
themblsha
Yay! thakis: Please look at the chrome/browser/global_keyboard_shortcuts* :-)
4 years, 1 month ago (2016-11-09 16:12:56 UTC) #46
sky
On 2016/11/09 14:54:02, themblsha wrote: > tapted: what do you think about the sky's proposal ...
4 years, 1 month ago (2016-11-09 16:33:28 UTC) #47
Nico
lgtm
4 years, 1 month ago (2016-11-09 16:34:35 UTC) #48
themblsha
Ok, grouped them at the bottom. I left IDC_EXIT in place, because it's in the ...
4 years, 1 month ago (2016-11-09 16:57:42 UTC) #49
sky
https://codereview.chromium.org/2074643003/diff/270001/chrome/browser/ui/views/accelerator_table.cc File chrome/browser/ui/views/accelerator_table.cc (right): https://codereview.chromium.org/2074643003/diff/270001/chrome/browser/ui/views/accelerator_table.cc#newcode315 chrome/browser/ui/views/accelerator_table.cc:315: auto remove_accelerators = [](const AcceleratorMapping& m) { Isn't this ...
4 years, 1 month ago (2016-11-09 18:30:32 UTC) #50
Peter Kasting
https://codereview.chromium.org/2074643003/diff/230001/chrome/browser/global_keyboard_shortcuts_views_mac.mm File chrome/browser/global_keyboard_shortcuts_views_mac.mm (right): https://codereview.chromium.org/2074643003/diff/230001/chrome/browser/global_keyboard_shortcuts_views_mac.mm#newcode7 chrome/browser/global_keyboard_shortcuts_views_mac.mm:7: #include "chrome/browser/global_keyboard_shortcuts_mac.h" On 2016/11/09 14:54:02, themblsha wrote: > On ...
4 years, 1 month ago (2016-11-09 18:39:13 UTC) #51
sky
https://codereview.chromium.org/2074643003/diff/230001/chrome/browser/ui/views/accelerator_table.cc File chrome/browser/ui/views/accelerator_table.cc (right): https://codereview.chromium.org/2074643003/diff/230001/chrome/browser/ui/views/accelerator_table.cc#newcode308 chrome/browser/ui/views/accelerator_table.cc:308: const std::set<int> kControlWhitelist = { On 2016/11/09 18:39:12, Peter ...
4 years, 1 month ago (2016-11-09 18:42:44 UTC) #52
Peter Kasting
https://codereview.chromium.org/2074643003/diff/230001/chrome/browser/ui/views/accelerator_table.cc File chrome/browser/ui/views/accelerator_table.cc (right): https://codereview.chromium.org/2074643003/diff/230001/chrome/browser/ui/views/accelerator_table.cc#newcode308 chrome/browser/ui/views/accelerator_table.cc:308: const std::set<int> kControlWhitelist = { On 2016/11/09 18:42:43, sky ...
4 years, 1 month ago (2016-11-09 18:52:56 UTC) #53
tapted
lgtm On 2016/11/09 14:54:02, themblsha wrote: > tapted: what do you think about the sky's ...
4 years, 1 month ago (2016-11-09 22:29:52 UTC) #55
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/2074643003/270001
4 years, 1 month ago (2016-11-09 22:30:28 UTC) #57
tapted
ugh not lgtm yet. .. Oh the dangers of different platforms deciding to flip which ...
4 years, 1 month ago (2016-11-09 22:32:06 UTC) #59
tapted
On 2016/11/09 14:54:02, themblsha wrote: > tapted: what do you think about the sky's proposal ...
4 years, 1 month ago (2016-11-09 22:36:28 UTC) #60
Peter Kasting
I think Scott's desire to avoid filtering, when we can easily do this by simply ...
4 years, 1 month ago (2016-11-09 23:26:32 UTC) #61
themblsha
https://codereview.chromium.org/2074643003/diff/230001/chrome/browser/global_keyboard_shortcuts_views_mac.mm File chrome/browser/global_keyboard_shortcuts_views_mac.mm (right): https://codereview.chromium.org/2074643003/diff/230001/chrome/browser/global_keyboard_shortcuts_views_mac.mm#newcode7 chrome/browser/global_keyboard_shortcuts_views_mac.mm:7: #include "chrome/browser/global_keyboard_shortcuts_mac.h" On 2016/11/09 18:39:12, Peter Kasting wrote: > ...
4 years, 1 month ago (2016-11-10 14:18:05 UTC) #62
Peter Kasting
https://codereview.chromium.org/2074643003/diff/270001/chrome/browser/ui/views/accelerator_table.cc File chrome/browser/ui/views/accelerator_table.cc (right): https://codereview.chromium.org/2074643003/diff/270001/chrome/browser/ui/views/accelerator_table.cc#newcode37 chrome/browser/ui/views/accelerator_table.cc:37: // the Windows accelerators in ../../app/chrome_dll.rc. On 2016/11/10 14:18:05, ...
4 years, 1 month ago (2016-11-10 17:56:38 UTC) #63
tapted
lgtm with the following, if sky is happy :) https://codereview.chromium.org/2074643003/diff/290001/chrome/browser/ui/views/accelerator_table.cc File chrome/browser/ui/views/accelerator_table.cc (right): https://codereview.chromium.org/2074643003/diff/290001/chrome/browser/ui/views/accelerator_table.cc#newcode12 chrome/browser/ui/views/accelerator_table.cc:12: ...
4 years, 1 month ago (2016-11-11 00:02:19 UTC) #64
sky
LGTM - thanks
4 years, 1 month ago (2016-11-11 00:34:42 UTC) #65
themblsha
Turns out I need to fix at least two tests that relied on old global_keyboard_shortcuts_mac ...
4 years, 1 month ago (2016-11-11 12:20:33 UTC) #66
themblsha
On 2016/11/11 12:20:33, themblsha wrote: > Turns out I need to fix at least two ...
4 years, 1 month ago (2016-11-11 17:09:54 UTC) #67
themblsha
I moved GetWindowKeyboardShortcutTable to a common place, updated a couple of comments and added a ...
4 years, 1 month ago (2016-11-14 17:46:42 UTC) #68
tapted
https://codereview.chromium.org/2074643003/diff/330001/chrome/browser/global_keyboard_shortcuts_mac.mm File chrome/browser/global_keyboard_shortcuts_mac.mm (right): https://codereview.chromium.org/2074643003/diff/330001/chrome/browser/global_keyboard_shortcuts_mac.mm#newcode98 chrome/browser/global_keyboard_shortcuts_mac.mm:98: // Omnibox is in focus. This doesn't sound right. ...
4 years, 1 month ago (2016-11-14 22:44:50 UTC) #69
themblsha
https://codereview.chromium.org/2074643003/diff/330001/chrome/browser/global_keyboard_shortcuts_mac.mm File chrome/browser/global_keyboard_shortcuts_mac.mm (right): https://codereview.chromium.org/2074643003/diff/330001/chrome/browser/global_keyboard_shortcuts_mac.mm#newcode98 chrome/browser/global_keyboard_shortcuts_mac.mm:98: // Omnibox is in focus. On 2016/11/14 22:44:49, tapted ...
4 years, 1 month ago (2016-11-15 11:43:33 UTC) #70
tapted
On 2016/11/15 11:43:33, themblsha wrote: > https://codereview.chromium.org/2074643003/diff/330001/chrome/browser/global_keyboard_shortcuts_mac.mm > File chrome/browser/global_keyboard_shortcuts_mac.mm (right): > > https://codereview.chromium.org/2074643003/diff/330001/chrome/browser/global_keyboard_shortcuts_mac.mm#newcode98 > ...
4 years, 1 month ago (2016-11-15 12:09:59 UTC) #71
tapted
On 2016/11/15 12:09:59, tapted wrote: > On 2016/11/15 11:43:33, themblsha wrote: > > > https://codereview.chromium.org/2074643003/diff/330001/chrome/browser/global_keyboard_shortcuts_mac.mm ...
4 years, 1 month ago (2016-11-15 12:18:37 UTC) #72
themblsha
Turns out there's different behaviour for different accelerators: 1. keyDown: with an accelerator that could ...
4 years, 1 month ago (2016-11-15 15:03:39 UTC) #73
tapted
On 2016/11/15 15:03:39, themblsha wrote: > Turns out there's different behaviour for different accelerators: > ...
4 years, 1 month ago (2016-11-15 22:45:28 UTC) #74
themblsha
Created a CL for proposed fix: https://codereview.chromium.org/2505943002, thanks for your suggestion!
4 years, 1 month ago (2016-11-16 13:20:47 UTC) #75
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/2074643003/350001
4 years, 1 month ago (2016-11-21 15:47:27 UTC) #78
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/339865)
4 years, 1 month ago (2016-11-21 16:12:55 UTC) #80
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/2074643003/370001
4 years, 1 month ago (2016-11-21 16:22:28 UTC) #83
commit-bot: I haz the power
Committed patchset #20 (id:370001)
4 years, 1 month ago (2016-11-21 17:11:54 UTC) #86
commit-bot: I haz the power
4 years, 1 month ago (2016-11-21 17:15:05 UTC) #88
Message was sent while issue was closed.
Patchset 20 (id:??) landed as
https://crrev.com/cb9c6b9d9a764e89cb0703e48ddcfea3129e2ad3
Cr-Commit-Position: refs/heads/master@{#433574}

Powered by Google App Engine
This is Rietveld 408576698