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

Issue 2316553003: mash: Add autoclick app. (Closed)

Created:
4 years, 3 months ago by riajiang
Modified:
4 years, 3 months ago
Reviewers:
Tom Sepez, sadrul, sky
CC:
chromium-reviews, dbeam+watch-options_chromium.org, dtseng+watch_chromium.org, michaelpg+watch-options_chromium.org, sadrul, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, aboxhall+watch_chromium.org, jam, nektar+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, yuzo+watch_chromium.org, Aaron Boodman, je_julie, darin-cc_chromium.org, dmazzoni+watch_chromium.org, oshima+watch_chromium.org, kalyank, darin (slow to review), davemoore+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

mash: Add autoclick app. TODO: 1. crbug.com/628665: mus: Allow accessibility clients to generate some events. So right now this app can't actually click things after the autoclick delay time is up. 2. crbug.com/608547: Deprecate ui::Event::root_location and replace it with ui::Event::screen_location. The autoclick ring widget position is a bit off if the screen location of the event is different from its location inside window. BUG=629095 TEST=manual Committed: https://crrev.com/4b626b97740da69f18ba83cd194189fbbe02b608 Cr-Commit-Position: refs/heads/master@{#418264}

Patch Set 1 #

Total comments: 22

Patch Set 2 : int, deps etc. #

Total comments: 2

Patch Set 3 : comment #

Total comments: 2

Patch Set 4 : uint32 #

Total comments: 6

Patch Set 5 : MouseEvent; if etc. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+354 lines, -46 lines) Patch
M ash/autoclick/autoclick_controller.cc View 1 2 3 4 4 chunks +7 lines, -7 lines 0 comments Download
M ash/autoclick/common/autoclick_controller_common.h View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M ash/autoclick/common/autoclick_controller_common.cc View 1 2 3 4 4 chunks +11 lines, -11 lines 0 comments Download
M ash/autoclick/common/autoclick_controller_common_delegate.h View 1 1 chunk +4 lines, -3 lines 0 comments Download
A + ash/autoclick/mus/BUILD.gn View 3 chunks +6 lines, -5 lines 0 comments Download
A + ash/autoclick/mus/DEPS View 1 1 chunk +2 lines, -1 line 0 comments Download
A ash/autoclick/mus/autoclick_application.h View 1 2 3 1 chunk +81 lines, -0 lines 0 comments Download
A ash/autoclick/mus/autoclick_application.cc View 1 2 3 4 1 chunk +163 lines, -0 lines 0 comments Download
A + ash/autoclick/mus/main.cc View 1 chunk +2 lines, -2 lines 0 comments Download
A + ash/autoclick/mus/manifest.json View 1 chunk +2 lines, -2 lines 0 comments Download
A + ash/autoclick/mus/public/interfaces/BUILD.gn View 1 chunk +2 lines, -2 lines 0 comments Download
A + ash/autoclick/mus/public/interfaces/OWNERS View 0 chunks +-1 lines, --1 lines 0 comments Download
A ash/autoclick/mus/public/interfaces/autoclick.mojom View 1 2 3 1 chunk +11 lines, -0 lines 0 comments Download
M chrome/app/mash/BUILD.gn View 3 chunks +2 lines, -2 lines 0 comments Download
M chrome/app/mojo/chrome_manifest.json View 1 chunk +3 lines, -5 lines 0 comments Download
M chrome/browser/chromeos/BUILD.gn View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/accessibility/accessibility_manager.cc View 1 2 3 4 8 chunks +31 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/chrome_browser_main_chromeos.cc View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M chrome/test/BUILD.gn View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M mash/package/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M mash/package/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M mash/package/mash_packaged_service.h View 1 1 chunk +11 lines, -0 lines 0 comments Download
M mash/package/mash_packaged_service.cc View 1 2 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 32 (20 generated)
riajiang
PTAL. Thanks!
4 years, 3 months ago (2016-09-09 18:21:32 UTC) #8
sky
You should also update the manifest for browser_tests. I recommend adding a comment to MashPackagedService ...
4 years, 3 months ago (2016-09-09 21:42:30 UTC) #9
riajiang
On 2016/09/09 21:42:30, sky wrote: > You should also update the manifest for browser_tests. I ...
4 years, 3 months ago (2016-09-12 16:15:47 UTC) #10
sky
LGTM https://codereview.chromium.org/2316553003/diff/80001/mash/package/mash_packaged_service.cc File mash/package/mash_packaged_service.cc (right): https://codereview.chromium.org/2316553003/diff/80001/mash/package/mash_packaged_service.cc#newcode58 mash/package/mash_packaged_service.cc:58: if (name == "mojo:ash") Please add a comment ...
4 years, 3 months ago (2016-09-12 17:28:09 UTC) #11
riajiang
+tsepez@, could you take a look at the mojom? Thanks! https://codereview.chromium.org/2316553003/diff/80001/mash/package/mash_packaged_service.cc File mash/package/mash_packaged_service.cc (right): https://codereview.chromium.org/2316553003/diff/80001/mash/package/mash_packaged_service.cc#newcode58 ...
4 years, 3 months ago (2016-09-12 17:36:45 UTC) #13
Tom Sepez
Mojom LGTM. https://codereview.chromium.org/2316553003/diff/100001/ash/autoclick/mus/public/interfaces/autoclick.mojom File ash/autoclick/mus/public/interfaces/autoclick.mojom (right): https://codereview.chromium.org/2316553003/diff/100001/ash/autoclick/mus/public/interfaces/autoclick.mojom#newcode10 ash/autoclick/mus/public/interfaces/autoclick.mojom:10: SetAutoclickDelay(int32 delay_in_milliseconds); nit: can this be unsigned, ...
4 years, 3 months ago (2016-09-12 17:41:37 UTC) #14
riajiang
https://codereview.chromium.org/2316553003/diff/100001/ash/autoclick/mus/public/interfaces/autoclick.mojom File ash/autoclick/mus/public/interfaces/autoclick.mojom (right): https://codereview.chromium.org/2316553003/diff/100001/ash/autoclick/mus/public/interfaces/autoclick.mojom#newcode10 ash/autoclick/mus/public/interfaces/autoclick.mojom:10: SetAutoclickDelay(int32 delay_in_milliseconds); On 2016/09/12 17:41:37, Tom Sepez wrote: > ...
4 years, 3 months ago (2016-09-12 18:23:49 UTC) #15
sadrul
Some nits. And a request to move the ws change into a separate CL with ...
4 years, 3 months ago (2016-09-13 14:55:13 UTC) #20
riajiang
Also changed back to MouseEvent to preserve the event target. https://codereview.chromium.org/2316553003/diff/120001/chrome/browser/chromeos/accessibility/accessibility_manager.cc File chrome/browser/chromeos/accessibility/accessibility_manager.cc (right): https://codereview.chromium.org/2316553003/diff/120001/chrome/browser/chromeos/accessibility/accessibility_manager.cc#newcode878 ...
4 years, 3 months ago (2016-09-13 15:05:49 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2316553003/140001
4 years, 3 months ago (2016-09-13 16:07:53 UTC) #28
commit-bot: I haz the power
Committed patchset #5 (id:140001)
4 years, 3 months ago (2016-09-13 16:13:08 UTC) #30
commit-bot: I haz the power
4 years, 3 months ago (2016-09-13 16:15:05 UTC) #32
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/4b626b97740da69f18ba83cd194189fbbe02b608
Cr-Commit-Position: refs/heads/master@{#418264}

Powered by Google App Engine
This is Rietveld 408576698