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

Issue 155493002: Add key based scrolling on magnified screen for kiosk mode. (Closed)

Created:
6 years, 10 months ago by oshima
Modified:
6 years, 10 months ago
CC:
chromium-reviews, yusukes+watch_chromium.org, derat+watch_chromium.org, mazda+watch_chromium.org, kalyank, ben+ash_chromium.org
Visibility:
Public.

Description

Add key based scrolling on magnified screen for kiosk mode. * Add MagnifierKeyScroller event handler that interprets click and hold action. * kAshEnableMagnifierKeyScroller to test on desktop. * Modified EventGenerator to generate native event for key press/release. BUG=340729 TEST=MagnifierKeyScrollerTest Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=249996 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=250017

Patch Set 1 : #

Total comments: 14

Patch Set 2 : #

Total comments: 1

Patch Set 3 : #

Total comments: 1

Patch Set 4 : only allow released -> pressed change #

Patch Set 5 : new way #

Patch Set 6 : #

Total comments: 4

Patch Set 7 : #

Total comments: 4

Patch Set 8 : adressed comments, rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+442 lines, -98 lines) Patch
M ash/ash.gyp View 1 2 3 4 5 6 7 4 chunks +6 lines, -0 lines 0 comments Download
M ash/ash_switches.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M ash/ash_switches.cc View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M ash/magnifier/magnification_controller.h View 1 2 3 4 4 chunks +14 lines, -5 lines 0 comments Download
M ash/magnifier/magnification_controller.cc View 1 2 3 4 10 chunks +54 lines, -83 lines 0 comments Download
M ash/magnifier/magnification_controller_unittest.cc View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A ash/magnifier/magnifier_key_scroller.h View 1 2 3 4 5 1 chunk +67 lines, -0 lines 0 comments Download
A ash/magnifier/magnifier_key_scroller.cc View 1 2 3 4 5 6 7 1 chunk +146 lines, -0 lines 0 comments Download
A ash/magnifier/magnifier_key_scroller_unittest.cc View 1 2 3 4 5 6 1 chunk +111 lines, -0 lines 0 comments Download
M ash/shell.h View 1 2 3 4 5 6 7 2 chunks +3 lines, -0 lines 0 comments Download
M ash/shell.cc View 1 2 3 4 5 6 7 3 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/ash_init.cc View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/ash/chrome_shell_delegate_chromeos.cc View 1 2 3 4 3 chunks +14 lines, -7 lines 0 comments Download
M ui/aura/test/event_generator.cc View 1 2 3 4 5 6 2 chunks +8 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (0 generated)
oshima
6 years, 10 months ago (2014-02-06 22:53:02 UTC) #1
oshima
https://codereview.chromium.org/155493002/diff/320001/ash/magnifier/magnification_controller.h File ash/magnifier/magnification_controller.h (left): https://codereview.chromium.org/155493002/diff/320001/ash/magnifier/magnification_controller.h#oldcode48 ash/magnifier/magnification_controller.h:48: virtual void EnsurePointIsVisible(const gfx::Point& point, bool animate) = 0; ...
6 years, 10 months ago (2014-02-06 22:57:31 UTC) #2
xiyuan
https://codereview.chromium.org/155493002/diff/300001/ash/accelerators/accelerator_table.cc File ash/accelerators/accelerator_table.cc (right): https://codereview.chromium.org/155493002/diff/300001/ash/accelerators/accelerator_table.cc#newcode446 ash/accelerators/accelerator_table.cc:446: { false, ui::VKEY_NUMPAD9, ui::EF_NONE, MAGNIFY_SCREEN_STOP_SCROLL }, nit: Should we ...
6 years, 10 months ago (2014-02-06 23:35:58 UTC) #3
oshima
https://codereview.chromium.org/155493002/diff/300001/ash/accelerators/accelerator_table.cc File ash/accelerators/accelerator_table.cc (right): https://codereview.chromium.org/155493002/diff/300001/ash/accelerators/accelerator_table.cc#newcode446 ash/accelerators/accelerator_table.cc:446: { false, ui::VKEY_NUMPAD9, ui::EF_NONE, MAGNIFY_SCREEN_STOP_SCROLL }, On 2014/02/06 23:35:58, ...
6 years, 10 months ago (2014-02-07 00:49:24 UTC) #4
xiyuan
lgtm
6 years, 10 months ago (2014-02-07 01:01:03 UTC) #5
oshima
sadrul -> ui/event
6 years, 10 months ago (2014-02-07 01:40:09 UTC) #6
sadrul
https://codereview.chromium.org/155493002/diff/300002/ui/events/event.h File ui/events/event.h (right): https://codereview.chromium.org/155493002/diff/300002/ui/events/event.h#newcode53 ui/events/event.h:53: void set_type(EventType type) { type_ = type; } We ...
6 years, 10 months ago (2014-02-07 03:04:47 UTC) #7
oshima
On 2014/02/07 03:04:47, sadrul wrote: > https://codereview.chromium.org/155493002/diff/300002/ui/events/event.h > File ui/events/event.h (right): > > https://codereview.chromium.org/155493002/diff/300002/ui/events/event.h#newcode53 > ...
6 years, 10 months ago (2014-02-07 05:55:30 UTC) #8
sadrul
On 2014/02/07 05:55:30, oshima wrote: > On 2014/02/07 03:04:47, sadrul wrote: > > https://codereview.chromium.org/155493002/diff/300002/ui/events/event.h > ...
6 years, 10 months ago (2014-02-07 06:14:44 UTC) #9
xiyuan
On 2014/02/07 06:14:44, sadrul wrote: > Why do you need to convert the released event ...
6 years, 10 months ago (2014-02-07 06:39:16 UTC) #10
oshima
On 2014/02/07 06:14:44, sadrul wrote: > On 2014/02/07 05:55:30, oshima wrote: > > On 2014/02/07 ...
6 years, 10 months ago (2014-02-07 07:58:50 UTC) #11
oshima
sadrul, I changed so that we only allow ET_KEY_PRESSED to ET_KEY_RELEASED change. Let me know ...
6 years, 10 months ago (2014-02-07 17:29:16 UTC) #12
oshima
xiyuan, I'm still working on tests, but the rest is ready for review. PTAL.
6 years, 10 months ago (2014-02-08 00:48:47 UTC) #13
xiyuan
https://codereview.chromium.org/155493002/diff/810001/ash/magnifier/magnifier_key_scroller.cc File ash/magnifier/magnifier_key_scroller.cc (right): https://codereview.chromium.org/155493002/diff/810001/ash/magnifier/magnifier_key_scroller.cc#newcode47 ash/magnifier/magnifier_key_scroller.cc:47: aura::Window* target = *(tracker->windows().begin()); Check tracker->windows().empty() before doing this, ...
6 years, 10 months ago (2014-02-08 01:36:28 UTC) #14
oshima
added test. https://codereview.chromium.org/155493002/diff/810001/ash/magnifier/magnifier_key_scroller.cc File ash/magnifier/magnifier_key_scroller.cc (right): https://codereview.chromium.org/155493002/diff/810001/ash/magnifier/magnifier_key_scroller.cc#newcode47 ash/magnifier/magnifier_key_scroller.cc:47: aura::Window* target = *(tracker->windows().begin()); On 2014/02/08 01:36:28, ...
6 years, 10 months ago (2014-02-08 02:14:19 UTC) #15
oshima
sadrul, can you review ui/aura/test change? https://codereview.chromium.org/155493002/diff/890001/ash/magnifier/magnifier_key_scroller.cc File ash/magnifier/magnifier_key_scroller.cc (right): https://codereview.chromium.org/155493002/diff/890001/ash/magnifier/magnifier_key_scroller.cc#newcode56 ash/magnifier/magnifier_key_scroller.cc:56: dispatcher.set_target(target); sadrul, I'm ...
6 years, 10 months ago (2014-02-08 02:15:48 UTC) #16
xiyuan
LGTM!
6 years, 10 months ago (2014-02-08 04:09:34 UTC) #17
sadrul
https://codereview.chromium.org/155493002/diff/790013/ash/magnifier/magnifier_key_scroller.cc File ash/magnifier/magnifier_key_scroller.cc (right): https://codereview.chromium.org/155493002/diff/790013/ash/magnifier/magnifier_key_scroller.cc#newcode49 ash/magnifier/magnifier_key_scroller.cc:49: return; |tracker| leaks here, right? Why not use a ...
6 years, 10 months ago (2014-02-08 16:34:02 UTC) #18
sadrul
ui/aura/ change lgtm (Note: there are a couple of comments in ash land in the ...
6 years, 10 months ago (2014-02-08 16:41:58 UTC) #19
oshima
https://codereview.chromium.org/155493002/diff/790013/ash/magnifier/magnifier_key_scroller.cc File ash/magnifier/magnifier_key_scroller.cc (right): https://codereview.chromium.org/155493002/diff/790013/ash/magnifier/magnifier_key_scroller.cc#newcode49 ash/magnifier/magnifier_key_scroller.cc:49: return; On 2014/02/08 16:34:03, sadrul wrote: > |tracker| leaks ...
6 years, 10 months ago (2014-02-09 02:06:17 UTC) #20
oshima
The CQ bit was checked by oshima@chromium.org
6 years, 10 months ago (2014-02-09 02:07:03 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/oshima@chromium.org/155493002/1030001
6 years, 10 months ago (2014-02-09 02:07:22 UTC) #22
commit-bot: I haz the power
Change committed as 249996
6 years, 10 months ago (2014-02-09 10:53:29 UTC) #23
Vitaly Buka (NO REVIEWS)
On 2014/02/09 10:53:29, I haz the power (commit-bot) wrote: > Change committed as 249996 It ...
6 years, 10 months ago (2014-02-09 22:48:06 UTC) #24
Vitaly Buka (NO REVIEWS)
The CQ bit was checked by vitalybuka@chromium.org
6 years, 10 months ago (2014-02-09 22:48:12 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/oshima@chromium.org/155493002/1030001
6 years, 10 months ago (2014-02-09 22:48:17 UTC) #26
commit-bot: I haz the power
6 years, 10 months ago (2014-02-09 22:50:45 UTC) #27
Message was sent while issue was closed.
Change committed as 250017

Powered by Google App Engine
This is Rietveld 408576698