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

Issue 240333007: wip: Second crack at implementing the touch exploration mode. (Closed)

Created:
6 years, 8 months ago by mfomitchev
Modified:
6 years, 6 months ago
Reviewers:
dmazzoni, sadrul
CC:
chromium-reviews, yusukes+watch_chromium.org, viettrungluu+watch_chromium.org, sievers+watch_chromium.org, yukishiino+watch_chromium.org, ben+aura_chromium.org, ben+mojo_chromium.org, miu+watch_chromium.org, jam, abarth-chromium, jbauman+watch_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, kalyank, penghuang+watch_chromium.org, piman+watch_chromium.org, ben+views_chromium.org, darin (slow to review), tfarina, Aaron Boodman, danakj+watch_chromium.org, James Su, ben+ash_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Second crack at implementing the touch exploration mode. First implementation can be found here: https://codereview.chromium.org/225143007/ The implementation has been rewwritten using EventRewriters. Also mouse cursor handling has been fixed. See https://docs.google.com/a/google.com/document/d/1uOphhlascPTfNjsI2QTdeVTp-ANEz-g2rqGli5yVv34/edit#heading=h.a67n1i6wy36k

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fixing: entering 'mouse move mode' when you have two fingers down and one of them. #

Patch Set 3 : Don't extend DisplayController::Observer - TouchExplorationController is owned by the root window (… #

Total comments: 50

Patch Set 4 : Rewriting TouchExplorationController::RewriteEvent() for clarity, implementing review feedback. #

Patch Set 5 : Adding the tests, moving the implementation to ui/chromeos. #

Patch Set 6 : Removing logging. #

Patch Set 7 : Adding some logging removed mistakenly. #

Patch Set 8 : Adding a flag to disable the touch exploration mode. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1009 lines, -4 lines) Patch
M ash/ash.gyp View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M ash/ash_switches.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M ash/ash_switches.cc View 1 2 3 4 5 6 7 1 chunk +6 lines, -0 lines 0 comments Download
M ash/default_accessibility_delegate.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M ash/root_window_controller.h View 1 2 3 4 7 chunks +30 lines, -1 line 0 comments Download
M ash/root_window_controller.cc View 1 2 3 4 5 6 7 7 chunks +48 lines, -2 lines 0 comments Download
A ash/test/root_window_controller_test_api_chromeos.h View 1 2 3 4 1 chunk +31 lines, -0 lines 0 comments Download
A ash/test/root_window_controller_test_api_chromeos.cc View 1 2 3 4 1 chunk +23 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/accessibility/touch_exploration_controller_browsertest.cc View 1 2 3 4 1 chunk +77 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/accessibility/touch_exploration_controller_unittest.cc View 1 2 3 4 1 chunk +447 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M mojo/examples/aura_demo/window_tree_host_mojo.h View 1 chunk +1 line, -0 lines 0 comments Download
M mojo/examples/aura_demo/window_tree_host_mojo.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M ui/aura/remote_window_tree_host_win.h View 1 chunk +1 line, -0 lines 0 comments Download
M ui/aura/remote_window_tree_host_win.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M ui/aura/test/event_generator.h View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M ui/aura/test/event_generator.cc View 1 2 3 4 3 chunks +15 lines, -1 line 0 comments Download
M ui/aura/window_event_dispatcher.cc View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M ui/aura/window_tree_host.h View 1 2 3 4 2 chunks +5 lines, -0 lines 0 comments Download
M ui/aura/window_tree_host_mac.h View 1 chunk +1 line, -0 lines 0 comments Download
M ui/aura/window_tree_host_mac.mm View 1 chunk +5 lines, -0 lines 0 comments Download
M ui/aura/window_tree_host_ozone.h View 1 chunk +1 line, -0 lines 0 comments Download
M ui/aura/window_tree_host_ozone.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M ui/aura/window_tree_host_win.h View 1 chunk +1 line, -0 lines 0 comments Download
M ui/aura/window_tree_host_win.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M ui/aura/window_tree_host_x11.h View 1 chunk +1 line, -0 lines 0 comments Download
M ui/aura/window_tree_host_x11.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M ui/chromeos/DEPS View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
A ui/chromeos/touch_exploration_controller.h View 1 2 3 4 1 chunk +64 lines, -0 lines 0 comments Download
A ui/chromeos/touch_exploration_controller.cc View 1 2 3 4 1 chunk +170 lines, -0 lines 0 comments Download
M ui/chromeos/ui_chromeos.gyp View 1 2 3 4 2 chunks +4 lines, -0 lines 0 comments Download
M ui/events/event_source.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M ui/events/test/events_test_utils.h View 1 2 3 4 2 chunks +17 lines, -0 lines 0 comments Download
M ui/events/test/events_test_utils.cc View 1 2 3 4 2 chunks +11 lines, -0 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_window_tree_host_win.h View 1 chunk +1 line, -0 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h View 2 chunks +2 lines, -0 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
mfomitchev
New implementation of touch exploration mode using EventRewriter. Donn't be scared by the number of ...
6 years, 8 months ago (2014-04-16 19:30:25 UTC) #1
mfomitchev
New implementation of touch exploration mode using EventRewriter. Donn't be scared by the number of ...
6 years, 8 months ago (2014-04-16 19:31:09 UTC) #2
mfomitchev
https://codereview.chromium.org/240333007/diff/1/ash/touch/touch_exploration_controller.cc File ash/touch/touch_exploration_controller.cc (right): https://codereview.chromium.org/240333007/diff/1/ash/touch/touch_exploration_controller.cc#newcode57 ash/touch/touch_exploration_controller.cc:57: cursor_client->EnableMouseEvents(); This makes mouse events go through https://codereview.chromium.org/240333007/diff/1/ash/touch/touch_exploration_controller.cc#newcode58 ash/touch/touch_exploration_controller.cc:58: ...
6 years, 8 months ago (2014-04-16 19:32:16 UTC) #3
mfomitchev
+dmazzoni FYI Minor fix
6 years, 8 months ago (2014-04-17 18:23:54 UTC) #4
Daniel Erat
https://codereview.chromium.org/240333007/diff/30001/ash/root_window_controller.cc File ash/root_window_controller.cc (right): https://codereview.chromium.org/240333007/diff/30001/ash/root_window_controller.cc#newcode735 ash/root_window_controller.cc:735: Shell::GetInstance()->system_tray_notifier()->AddAccessibilityObserver(this); remove the observer in the d'tor (probably need ...
6 years, 8 months ago (2014-04-18 00:44:07 UTC) #5
Daniel Erat
On 2014/04/18 00:44:07, Daniel Erat wrote: > https://codereview.chromium.org/240333007/diff/30001/ash/root_window_controller.cc > File ash/root_window_controller.cc (right): > > https://codereview.chromium.org/240333007/diff/30001/ash/root_window_controller.cc#newcode735 ...
6 years, 8 months ago (2014-04-18 00:45:57 UTC) #6
sadrul
https://codereview.chromium.org/240333007/diff/30001/ash/touch/touch_exploration_controller.cc File ash/touch/touch_exploration_controller.cc (right): https://codereview.chromium.org/240333007/diff/30001/ash/touch/touch_exploration_controller.cc#newcode137 ash/touch/touch_exploration_controller.cc:137: if (it != touch_ids_.begin()) { You can just do ...
6 years, 8 months ago (2014-04-22 16:46:12 UTC) #7
sadrul
https://codereview.chromium.org/240333007/diff/30001/ash/touch/touch_exploration_controller.cc File ash/touch/touch_exploration_controller.cc (right): https://codereview.chromium.org/240333007/diff/30001/ash/touch/touch_exploration_controller.cc#newcode171 ash/touch/touch_exploration_controller.cc:171: ui::EF_IS_SYNTHESIZED | flags, Should this also set EF_FROM_TOUCH?
6 years, 8 months ago (2014-04-22 16:49:22 UTC) #8
mfomitchev
> hmm, i wasn't even trying to review this change. i got added to > ...
6 years, 8 months ago (2014-04-22 16:58:27 UTC) #9
mfomitchev
> hmm, i wasn't even trying to review this change. i got added to > ...
6 years, 8 months ago (2014-04-22 16:58:30 UTC) #10
mfomitchev
https://codereview.chromium.org/240333007/diff/30001/ash/touch/touch_exploration_controller.cc File ash/touch/touch_exploration_controller.cc (right): https://codereview.chromium.org/240333007/diff/30001/ash/touch/touch_exploration_controller.cc#newcode19 ash/touch/touch_exploration_controller.cc:19: aura::Window* root_window) : On 2014/04/18 00:44:08, Daniel Erat wrote: ...
6 years, 8 months ago (2014-04-23 18:27:37 UTC) #11
mfomitchev
@dmazzoni, @sadrul: My understanding is that we only really need this working on Chrome OS, ...
6 years, 8 months ago (2014-04-24 17:47:18 UTC) #12
dmazzoni
On 2014/04/24 17:47:18, mfomitchev wrote: > @dmazzoni, @sadrul: > My understanding is that we only ...
6 years, 8 months ago (2014-04-24 18:25:00 UTC) #13
sadrul
On 2014/04/24 18:25:00, dmazzoni wrote: > On 2014/04/24 17:47:18, mfomitchev wrote: > > @dmazzoni, @sadrul: ...
6 years, 8 months ago (2014-04-24 18:33:30 UTC) #14
mfomitchev
On 2014/04/24 18:33:30, sadrul wrote: > On 2014/04/24 18:25:00, dmazzoni wrote: > > On 2014/04/24 ...
6 years, 8 months ago (2014-04-24 19:19:06 UTC) #15
dmazzoni
ui/chromeos doesn't seem to have any visibility into ash or chrome os settings like whether ...
6 years, 8 months ago (2014-04-24 19:24:20 UTC) #16
mfomitchev
On 2014/04/24 19:24:20, dmazzoni wrote: > ui/chromeos doesn't seem to have any visibility into ash ...
6 years, 8 months ago (2014-04-25 16:08:11 UTC) #17
mfomitchev
6 years, 7 months ago (2014-04-29 20:55:39 UTC) #18

          

Powered by Google App Engine
This is Rietveld 408576698