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

Issue 8561012: Add ShellAcceleratorController that manages global keyboard accelerators (2nd try). (Closed)

Created:
9 years, 1 month ago by mazda
Modified:
9 years, 1 month ago
CC:
chromium-reviews
Visibility:
Public.

Description

Add ShellAcceleratorController that manages global keyboard accelerators. - Create ShellAcceleratorController that manages global keyboard accelerators and also processes several accelerators as a target. - Create ShellAcceleratorFilter, which is used by DesktopEventFilter to handle accelerators. - Add a function to Shell for accessing ShellAcceleratorController. The 1st attempt (http://crrev.com/110637) broke aura_shell_unittests and this fixes it. The differences are - moving ShellAcceleratorFilter to Shell from DesktopEventFilter, and - adding the ShellAcceleratorFilter in Shell initialization code to DesktopEventFilter. BUG=97255 TEST=Manual, aura_shell_unittests succeeds. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=111100

Patch Set 1 #

Patch Set 2 : Create ShellAcceleratorFilter in Shell instead of DesktopEventFilter #

Patch Set 3 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+322 lines, -55 lines) Patch
M ui/aura/desktop.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M ui/aura/desktop.cc View 1 2 4 chunks +6 lines, -55 lines 0 comments Download
M ui/aura_shell/aura_shell.gyp View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M ui/aura_shell/shell.h View 1 2 5 chunks +11 lines, -0 lines 0 comments Download
M ui/aura_shell/shell.cc View 1 2 4 chunks +10 lines, -0 lines 0 comments Download
A ui/aura_shell/shell_accelerator_controller.h View 1 chunk +62 lines, -0 lines 0 comments Download
A ui/aura_shell/shell_accelerator_controller.cc View 1 chunk +126 lines, -0 lines 0 comments Download
A ui/aura_shell/shell_accelerator_filter.h View 1 chunk +39 lines, -0 lines 0 comments Download
A ui/aura_shell/shell_accelerator_filter.cc View 1 1 chunk +59 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
mazda
The previous change broke DesktopEventFilterTest because ShellAcceleratorFilter is used without creating the Shell instance in ...
9 years, 1 month ago (2011-11-18 11:49:59 UTC) #1
Ben Goodger (Google)
In this case I'd rather you not create the accelerator filter in the DEF, and ...
9 years, 1 month ago (2011-11-18 15:55:25 UTC) #2
mazda
I modified the CL to create ShellAcceleratorFilter in Shell instead of DesktopEventFilter and reverted the ...
9 years, 1 month ago (2011-11-21 03:57:00 UTC) #3
Ben Goodger (Google)
LGTM for those diffs. -Ben On Sun, Nov 20, 2011 at 7:57 PM, <mazda@chromium.org> wrote: ...
9 years, 1 month ago (2011-11-21 16:57:12 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mazda@chromium.org/8561012/3001
9 years, 1 month ago (2011-11-21 18:10:33 UTC) #5
commit-bot: I haz the power
Try job failure for 8561012-3001 (retry) on win_rel for step "compile" (clobber build). It's a ...
9 years, 1 month ago (2011-11-21 18:37:19 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mazda@chromium.org/8561012/9001
9 years, 1 month ago (2011-11-22 03:13:10 UTC) #7
commit-bot: I haz the power
9 years, 1 month ago (2011-11-22 05:08:31 UTC) #8
Change committed as 111100

Powered by Google App Engine
This is Rietveld 408576698