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

Issue 9538015: Allows ash accelerators in wrench menu (Closed)

Created:
8 years, 9 months ago by pkotwicz
Modified:
8 years, 9 months ago
Reviewers:
oshima, sky
CC:
chromium-reviews, dhollowa+watch_chromium.org, sadrul, yusukes+watch_chromium.org, derat+watch_chromium.org, ben+watch_chromium.org
Visibility:
Public.

Description

Translates events so that accelerators which require ET_TRANSLATED_KEY_RELEASE and ET_TRANSLATED_KEY_PRESS are triggered. Translation is always done, so nested dispatcher should not be used for any widgets which have editable content. BUG=113247 TEST=NestedDispatcherTest.AcceleratorHandled Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=124963

Patch Set 1 #

Patch Set 2 : Nicer diff #

Patch Set 3 : Nicer diff #

Total comments: 3

Patch Set 4 : Changes as requested #

Total comments: 6

Patch Set 5 : Changes as requested #

Patch Set 6 : Changes as requested #

Patch Set 7 : fixes win compile #

Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -21 lines) Patch
M ash/accelerators/accelerator_dispatcher.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M ash/accelerators/accelerator_dispatcher_linux.cc View 1 2 3 2 chunks +13 lines, -5 lines 0 comments Download
M ash/accelerators/accelerator_dispatcher_win.cc View 1 2 3 4 5 6 2 chunks +13 lines, -5 lines 0 comments Download
M ash/accelerators/nested_dispatcher_controller_unittest.cc View 1 2 3 4 5 8 chunks +53 lines, -11 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
pkotwicz
8 years, 9 months ago (2012-02-29 19:05:59 UTC) #1
oshima
lgtm with a few nits http://codereview.chromium.org/9538015/diff/4001/ash/accelerators/accelerator_dispatcher_win.cc File ash/accelerators/accelerator_dispatcher_win.cc (right): http://codereview.chromium.org/9538015/diff/4001/ash/accelerators/accelerator_dispatcher_win.cc#newcode25 ash/accelerators/accelerator_dispatcher_win.cc:25: bool AcceleratorDispatcher::Dispatch(const MSG& msg) ...
8 years, 9 months ago (2012-02-29 19:28:41 UTC) #2
pkotwicz
8 years, 9 months ago (2012-02-29 20:34:49 UTC) #3
pkotwicz
Sky for any additional nits
8 years, 9 months ago (2012-02-29 20:35:05 UTC) #4
sky
Do we really have accelerators that require translation? http://codereview.chromium.org/9538015/diff/1015/ash/accelerators/accelerator_dispatcher.h File ash/accelerators/accelerator_dispatcher.h (right): http://codereview.chromium.org/9538015/diff/1015/ash/accelerators/accelerator_dispatcher.h#newcode19 ash/accelerators/accelerator_dispatcher.h:19: // ...
8 years, 9 months ago (2012-02-29 22:04:17 UTC) #5
oshima
On 2012/02/29 22:04:17, sky wrote: > Do we really have accelerators that require translation? Yes, ...
8 years, 9 months ago (2012-02-29 22:19:50 UTC) #6
pkotwicz
http://codereview.chromium.org/9538015/diff/1015/ash/accelerators/nested_dispatcher_controller_unittest.cc File ash/accelerators/nested_dispatcher_controller_unittest.cc (right): http://codereview.chromium.org/9538015/diff/1015/ash/accelerators/nested_dispatcher_controller_unittest.cc#newcode166 ash/accelerators/nested_dispatcher_controller_unittest.cc:166: base::TimeDelta::FromMilliseconds(100)); The delay is arbitrary. However, I beleive the ...
8 years, 9 months ago (2012-03-01 23:56:37 UTC) #7
oshima
http://codereview.chromium.org/9538015/diff/1015/ash/accelerators/nested_dispatcher_controller_unittest.cc File ash/accelerators/nested_dispatcher_controller_unittest.cc (right): http://codereview.chromium.org/9538015/diff/1015/ash/accelerators/nested_dispatcher_controller_unittest.cc#newcode166 ash/accelerators/nested_dispatcher_controller_unittest.cc:166: base::TimeDelta::FromMilliseconds(100)); Sorry I missed this in first review. On ...
8 years, 9 months ago (2012-03-02 00:12:20 UTC) #8
pkotwicz
8 years, 9 months ago (2012-03-02 02:13:15 UTC) #9
oshima
lgtm
8 years, 9 months ago (2012-03-02 18:28:27 UTC) #10
pkotwicz
sky for rubberstamp
8 years, 9 months ago (2012-03-02 19:20:47 UTC) #11
sky
LGTM
8 years, 9 months ago (2012-03-02 20:39:37 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkotwicz@chromium.org/9538015/21001
8 years, 9 months ago (2012-03-05 14:59:25 UTC) #13
commit-bot: I haz the power
8 years, 9 months ago (2012-03-05 18:05:12 UTC) #14
Change committed as 124963

Powered by Google App Engine
This is Rietveld 408576698