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

Issue 8689003: Register global accelerators and add placeholders for handling them. (Closed)

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

Description

Register global accelerators and add placeholders for handling them. I added these accelerators based on the following sources in the Chromium OS window_manager.git: - layout2/layout_manager2.cc - window_manager.cc BUG=97255 TEST=Manual Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=112522

Patch Set 1 #

Total comments: 9

Patch Set 2 : Address comments #

Total comments: 3

Patch Set 3 : Add TakeScreenshot and issue comments #

Total comments: 5

Patch Set 4 : Fix the test case of ToggleDesktopFullScreen #

Patch Set 5 : Fix typo #

Total comments: 4

Patch Set 6 : Rebase and address comments #

Total comments: 4

Patch Set 7 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+254 lines, -21 lines) Patch
M ui/aura_shell/aura_shell.gyp View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M ui/aura_shell/shell_accelerator_controller.h View 1 2 3 4 5 2 chunks +9 lines, -0 lines 0 comments Download
M ui/aura_shell/shell_accelerator_controller.cc View 1 2 3 4 5 6 5 chunks +73 lines, -21 lines 0 comments Download
A ui/aura_shell/shell_accelerator_controller_unittest.cc View 1 2 3 1 chunk +171 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
mazda
9 years, 1 month ago (2011-11-24 14:05:11 UTC) #1
Daniel Erat
http://codereview.chromium.org/8689003/diff/1/ui/aura_shell/shell_accelerator_controller.cc File ui/aura_shell/shell_accelerator_controller.cc (right): http://codereview.chromium.org/8689003/diff/1/ui/aura_shell/shell_accelerator_controller.cc#newcode30 ui/aura_shell/shell_accelerator_controller.cc:30: kToggleMaximized, many of these are related to UI that ...
9 years ago (2011-11-28 16:39:49 UTC) #2
Ben Goodger (Google)
OK... can you also add a stub of a unit test file with one example ...
9 years ago (2011-11-28 16:40:15 UTC) #3
Ben Goodger (Google)
Also what derat says is good. -Ben On Mon, Nov 28, 2011 at 8:40 AM, ...
9 years ago (2011-11-28 16:40:51 UTC) #4
mazda
Thank you for the review. I deleted accelerators that might not be implemented in aura ...
9 years ago (2011-11-29 15:19:34 UTC) #5
Daniel Erat
LGTM with a few comments http://codereview.chromium.org/8689003/diff/1/ui/aura_shell/shell_accelerator_controller.cc File ui/aura_shell/shell_accelerator_controller.cc (right): http://codereview.chromium.org/8689003/diff/1/ui/aura_shell/shell_accelerator_controller.cc#newcode30 ui/aura_shell/shell_accelerator_controller.cc:30: kToggleMaximized, On 2011/11/29 15:19:35, ...
9 years ago (2011-11-29 16:46:00 UTC) #6
mazda
> yeah, i'm okay with leaving screenshot-taking in since we'll need it. maybe > just ...
9 years ago (2011-11-30 14:56:10 UTC) #7
Ben Goodger (Google)
lgtm
9 years ago (2011-11-30 15:47:30 UTC) #8
Daniel Erat
http://codereview.chromium.org/8689003/diff/8001/ui/aura_shell/shell_accelerator_controller.cc File ui/aura_shell/shell_accelerator_controller.cc (right): http://codereview.chromium.org/8689003/diff/8001/ui/aura_shell/shell_accelerator_controller.cc#newcode24 ui/aura_shell/shell_accelerator_controller.cc:24: TOGGLE_FULL_SCREEN, On 2011/11/30 14:56:10, mazda wrote: > On 2011/11/29 ...
9 years ago (2011-11-30 16:25:31 UTC) #9
mazda
http://codereview.chromium.org/8689003/diff/13001/ui/aura_shell/shell_accelerator_controller.cc File ui/aura_shell/shell_accelerator_controller.cc (right): http://codereview.chromium.org/8689003/diff/13001/ui/aura_shell/shell_accelerator_controller.cc#newcode21 ui/aura_shell/shell_accelerator_controller.cc:21: CYCLE_FORWRARD, On 2011/11/30 16:25:31, Daniel Erat wrote: > typo: ...
9 years ago (2011-11-30 18:36:41 UTC) #10
Daniel Erat
http://codereview.chromium.org/8689003/diff/13001/ui/aura_shell/shell_accelerator_controller.cc File ui/aura_shell/shell_accelerator_controller.cc (right): http://codereview.chromium.org/8689003/diff/13001/ui/aura_shell/shell_accelerator_controller.cc#newcode47 ui/aura_shell/shell_accelerator_controller.cc:47: bool CycleBackward() { On 2011/11/30 18:36:41, mazda wrote: > ...
9 years ago (2011-11-30 20:47:36 UTC) #11
mazda
> I'd be more okay with the return values if these methods had names like ...
9 years ago (2011-12-01 06:06:19 UTC) #12
Daniel Erat
lgtm http://codereview.chromium.org/8689003/diff/21001/ui/aura_shell/shell_accelerator_controller.cc File ui/aura_shell/shell_accelerator_controller.cc (right): http://codereview.chromium.org/8689003/diff/21001/ui/aura_shell/shell_accelerator_controller.cc#newcode156 ui/aura_shell/shell_accelerator_controller.cc:156: std::map<ui::Accelerator, int>::const_iterator i = nit: i've seen 'it' ...
9 years ago (2011-12-01 18:13:38 UTC) #13
mazda
Fixed nits. Thanks! http://codereview.chromium.org/8689003/diff/21001/ui/aura_shell/shell_accelerator_controller.cc File ui/aura_shell/shell_accelerator_controller.cc (right): http://codereview.chromium.org/8689003/diff/21001/ui/aura_shell/shell_accelerator_controller.cc#newcode156 ui/aura_shell/shell_accelerator_controller.cc:156: std::map<ui::Accelerator, int>::const_iterator i = On 2011/12/01 ...
9 years ago (2011-12-01 18:29:48 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mazda@chromium.org/8689003/23002
9 years ago (2011-12-01 18:35:39 UTC) #15
commit-bot: I haz the power
9 years ago (2011-12-01 20:34:13 UTC) #16
Change committed as 112522

Powered by Google App Engine
This is Rietveld 408576698