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

Issue 2559663002: Support focus highlight in Android window (Closed)

Created:
4 years ago by yawano
Modified:
3 years, 9 months ago
CC:
chromium-reviews, elijahtaylor+arcwatch_chromium.org, qsr+mojo_chromium.org, oshima+watch_chromium.org, droger+watchlist_chromium.org, viettrungluu+watch_chromium.org, aboxhall+watch_chromium.org, blundell+watchlist_chromium.org, hidehiko+watch_chromium.org, sdefresne+watchlist_chromium.org, nektar+watch_chromium.org, yuzo+watch_chromium.org, abarth-chromium, Aaron Boodman, je_julie, lhchavez+watch_chromium.org, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, yzshen+watch_chromium.org, darin (slow to review), davemoore+watch_chromium.org, yusukes+watch_chromium.org, sky
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Support focus highlight in Android window BUG=b/31788292 TEST=Enable focus highlight in Chrome accessibility settings, and see it works in Android window. Review-Url: https://codereview.chromium.org/2559663002 Cr-Commit-Position: refs/heads/master@{#445916} Committed: https://chromium.googlesource.com/chromium/src/+/ca05a1afa26a0fbb45063b3975f575805dbf4ab2

Patch Set 1 #

Total comments: 2

Patch Set 2 : Move focus_highlight from components/arc to c/b/chromeos/arc #

Total comments: 18

Patch Set 3 : Rebase #

Total comments: 2

Patch Set 4 : Rebase #

Patch Set 5 : Rename to AccessibilityHelper. #

Patch Set 6 : Address comments. #

Patch Set 7 : Fix a nit. #

Total comments: 7

Patch Set 8 : Address comment. #

Patch Set 9 #

Patch Set 10 : Rebase again. #

Patch Set 11 : Change interface and address comments. #

Total comments: 4

Patch Set 12 : Fix comments and style. #

Total comments: 18

Patch Set 13 : Address comments. #

Patch Set 14 : Remove unnecessary include. #

Patch Set 15 : Remove blank lines around forward declaration. #

Total comments: 12

Patch Set 16 : Send bounds in screen. #

Patch Set 17 : Address comments. #

Patch Set 18 : Move a comment. #

Patch Set 19 : Fix a comment. #

Total comments: 6

Patch Set 20 : Address comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+215 lines, -8 lines) Patch
M chrome/browser/chromeos/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/accessibility/accessibility_highlight_manager.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/accessibility/accessibility_highlight_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/accessibility/accessibility_manager.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/accessibility/accessibility_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +5 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/arc/accessibility/arc_accessibility_helper_bridge.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +44 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/arc/accessibility/arc_accessibility_helper_bridge.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +63 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/arc/arc_service_launcher.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/arc/intent_helper/arc_settings_service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 6 chunks +19 lines, -6 lines 0 comments Download
M components/arc/BUILD.gn View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M components/arc/arc_bridge_host_impl.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M components/arc/arc_bridge_host_impl.cc View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M components/arc/arc_bridge_service.h View 1 2 3 4 3 chunks +5 lines, -0 lines 0 comments Download
A components/arc/common/accessibility_helper.mojom View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +37 lines, -0 lines 0 comments Download
M components/arc/common/arc_bridge.mojom View 1 2 3 4 2 chunks +7 lines, -2 lines 0 comments Download

Messages

Total messages: 62 (13 generated)
yawano
PTAL sky@: components/arc/focus_highlight/DEPS: adding dependency from components/arc/focus_highlight to ui/aura dmazzoni@: - files under chrome/browser/chromeos/accessibility - ...
4 years ago (2016-12-07 07:46:47 UTC) #2
kinaba
I have no time to take a look today (sorry), but one thing. https://codereview.chromium.org/2559663002/diff/1/components/arc/focus_highlight/DEPS File ...
4 years ago (2016-12-07 07:54:34 UTC) #3
yawano
Moving sky@ from reviewer to CC as we no longer add dependency to ui/aura in ...
4 years ago (2016-12-07 09:18:31 UTC) #5
stevemonjohn
it is very helpful website.The chrome browser easy to browsing.thank you for sharing this information.This ...
4 years ago (2016-12-07 09:20:09 UTC) #6
Luis Héctor Chávez
drive-by https://codereview.chromium.org/2559663002/diff/20001/chrome/browser/chromeos/arc/focus_highlight/arc_focus_highlight_bridge.cc File chrome/browser/chromeos/arc/focus_highlight/arc_focus_highlight_bridge.cc (right): https://codereview.chromium.org/2559663002/diff/20001/chrome/browser/chromeos/arc/focus_highlight/arc_focus_highlight_bridge.cc#newcode32 chrome/browser/chromeos/arc/focus_highlight/arc_focus_highlight_bridge.cc:32: void ArcFocusHighlightBridge::OnInstanceClosed() {} You don't seem to need ...
4 years ago (2016-12-07 17:58:57 UTC) #8
dmazzoni
lgtm for chrome/browser/chromeos/accessibility
4 years ago (2016-12-07 20:23:52 UTC) #9
kinaba
https://codereview.chromium.org/2559663002/diff/20001/chrome/browser/chromeos/arc/focus_highlight/arc_focus_highlight_bridge.cc File chrome/browser/chromeos/arc/focus_highlight/arc_focus_highlight_bridge.cc (right): https://codereview.chromium.org/2559663002/diff/20001/chrome/browser/chromeos/arc/focus_highlight/arc_focus_highlight_bridge.cc#newcode52 chrome/browser/chromeos/arc/focus_highlight/arc_focus_highlight_bridge.cc:52: bounds_in_screen.Offset(window_bounds.x(), window_bounds.y()); Does this work as expected on Samus ...
4 years ago (2016-12-08 04:07:44 UTC) #10
yawano
https://codereview.chromium.org/2559663002/diff/20001/components/arc/common/focus_highlight.mojom File components/arc/common/focus_highlight.mojom (right): https://codereview.chromium.org/2559663002/diff/20001/components/arc/common/focus_highlight.mojom#newcode17 components/arc/common/focus_highlight.mojom:17: interface FocusHighlightInstance { No, I don't come up with ...
4 years ago (2016-12-08 09:08:38 UTC) #11
hidehiko
yet another drive-by. https://codereview.chromium.org/2559663002/diff/20001/chrome/browser/chromeos/arc/focus_highlight/arc_focus_highlight_bridge.h File chrome/browser/chromeos/arc/focus_highlight/arc_focus_highlight_bridge.h (right): https://codereview.chromium.org/2559663002/diff/20001/chrome/browser/chromeos/arc/focus_highlight/arc_focus_highlight_bridge.h#newcode31 chrome/browser/chromeos/arc/focus_highlight/arc_focus_highlight_bridge.h:31: void OnViewFocused(const gfx::Rect& rect) override; nit: ...
4 years ago (2016-12-08 14:54:59 UTC) #13
Luis Héctor Chávez
https://codereview.chromium.org/2559663002/diff/20001/components/arc/common/focus_highlight.mojom File components/arc/common/focus_highlight.mojom (right): https://codereview.chromium.org/2559663002/diff/20001/components/arc/common/focus_highlight.mojom#newcode17 components/arc/common/focus_highlight.mojom:17: interface FocusHighlightInstance { On 2016/12/08 09:08:38, yawano wrote: > ...
4 years ago (2016-12-08 17:16:41 UTC) #14
yawano
https://codereview.chromium.org/2559663002/diff/20001/components/arc/common/focus_highlight.mojom File components/arc/common/focus_highlight.mojom (right): https://codereview.chromium.org/2559663002/diff/20001/components/arc/common/focus_highlight.mojom#newcode17 components/arc/common/focus_highlight.mojom:17: interface FocusHighlightInstance { One thing might be braille output ...
4 years ago (2016-12-09 09:21:58 UTC) #15
Luis Héctor Chávez
https://codereview.chromium.org/2559663002/diff/20001/components/arc/common/focus_highlight.mojom File components/arc/common/focus_highlight.mojom (right): https://codereview.chromium.org/2559663002/diff/20001/components/arc/common/focus_highlight.mojom#newcode17 components/arc/common/focus_highlight.mojom:17: interface FocusHighlightInstance { On 2016/12/09 09:21:58, yawano wrote: > ...
4 years ago (2016-12-09 16:25:33 UTC) #16
hidehiko
https://codereview.chromium.org/2559663002/diff/40001/components/arc/arc_bridge_host_impl.cc File components/arc/arc_bridge_host_impl.cc (right): https://codereview.chromium.org/2559663002/diff/40001/components/arc/arc_bridge_host_impl.cc#newcode135 components/arc/arc_bridge_host_impl.cc:135: OnInstanceReady(ArcBridgeService::Get()->focus_highlight(), ArcBridgeService::Get() is being removed very soon. So please ...
4 years ago (2016-12-12 01:58:30 UTC) #17
yawano
Thank you for the review! PTAL. https://codereview.chromium.org/2559663002/diff/20001/chrome/browser/chromeos/arc/focus_highlight/arc_focus_highlight_bridge.cc File chrome/browser/chromeos/arc/focus_highlight/arc_focus_highlight_bridge.cc (right): https://codereview.chromium.org/2559663002/diff/20001/chrome/browser/chromeos/arc/focus_highlight/arc_focus_highlight_bridge.cc#newcode32 chrome/browser/chromeos/arc/focus_highlight/arc_focus_highlight_bridge.cc:32: void ArcFocusHighlightBridge::OnInstanceClosed() {} ...
3 years, 11 months ago (2017-01-11 10:31:33 UTC) #18
David Tseng
https://codereview.chromium.org/2559663002/diff/120001/chrome/browser/chromeos/accessibility/accessibility_highlight_manager.cc File chrome/browser/chromeos/accessibility/accessibility_highlight_manager.cc (right): https://codereview.chromium.org/2559663002/diff/120001/chrome/browser/chromeos/accessibility/accessibility_highlight_manager.cc#newcode12 chrome/browser/chromeos/accessibility/accessibility_highlight_manager.cc:12: #include "ui/gfx/geometry/rect.h" nit: remove; already included in header https://codereview.chromium.org/2559663002/diff/120001/components/arc/common/accessibility_helper.mojom ...
3 years, 11 months ago (2017-01-11 19:26:54 UTC) #20
David Tseng
https://codereview.chromium.org/2559663002/diff/120001/components/arc/common/accessibility_helper.mojom File components/arc/common/accessibility_helper.mojom (right): https://codereview.chromium.org/2559663002/diff/120001/components/arc/common/accessibility_helper.mojom#newcode13 components/arc/common/accessibility_helper.mojom:13: OnViewFocused@0(ScreenRect rect); On 2017/01/11 19:26:53, David Tseng wrote: > ...
3 years, 11 months ago (2017-01-11 19:34:55 UTC) #21
yawano
https://codereview.chromium.org/2559663002/diff/120001/components/arc/common/accessibility_helper.mojom File components/arc/common/accessibility_helper.mojom (right): https://codereview.chromium.org/2559663002/diff/120001/components/arc/common/accessibility_helper.mojom#newcode13 components/arc/common/accessibility_helper.mojom:13: OnViewFocused@0(ScreenRect rect); Sorry, why we need to send it ...
3 years, 11 months ago (2017-01-17 02:29:21 UTC) #22
David Tseng
https://codereview.chromium.org/2559663002/diff/120001/components/arc/common/accessibility_helper.mojom File components/arc/common/accessibility_helper.mojom (right): https://codereview.chromium.org/2559663002/diff/120001/components/arc/common/accessibility_helper.mojom#newcode13 components/arc/common/accessibility_helper.mojom:13: OnViewFocused@0(ScreenRect rect); On 2017/01/17 02:29:21, yawano wrote: > Sorry, ...
3 years, 11 months ago (2017-01-17 18:46:32 UTC) #23
yawano
Uploaded a new patch set, and we've changed a lot from the previous review especially ...
3 years, 11 months ago (2017-01-18 01:33:38 UTC) #24
David Tseng
https://codereview.chromium.org/2559663002/diff/120001/components/arc/common/accessibility_helper.mojom File components/arc/common/accessibility_helper.mojom (right): https://codereview.chromium.org/2559663002/diff/120001/components/arc/common/accessibility_helper.mojom#newcode13 components/arc/common/accessibility_helper.mojom:13: OnViewFocused@0(ScreenRect rect); On 2017/01/18 01:33:38, yawano wrote: > I ...
3 years, 11 months ago (2017-01-18 18:54:09 UTC) #25
kinaba
lgtm https://codereview.chromium.org/2559663002/diff/200001/chrome/browser/chromeos/arc/accessibility_helper/arc_accessibility_helper_bridge.h File chrome/browser/chromeos/arc/accessibility_helper/arc_accessibility_helper_bridge.h (right): https://codereview.chromium.org/2559663002/diff/200001/chrome/browser/chromeos/arc/accessibility_helper/arc_accessibility_helper_bridge.h#newcode1 chrome/browser/chromeos/arc/accessibility_helper/arc_accessibility_helper_bridge.h:1: // Copyright 2016 The Chromium Authors. All rights ...
3 years, 11 months ago (2017-01-19 03:50:03 UTC) #26
yawano
https://codereview.chromium.org/2559663002/diff/200001/chrome/browser/chromeos/arc/accessibility_helper/arc_accessibility_helper_bridge.h File chrome/browser/chromeos/arc/accessibility_helper/arc_accessibility_helper_bridge.h (right): https://codereview.chromium.org/2559663002/diff/200001/chrome/browser/chromeos/arc/accessibility_helper/arc_accessibility_helper_bridge.h#newcode1 chrome/browser/chromeos/arc/accessibility_helper/arc_accessibility_helper_bridge.h:1: // Copyright 2016 The Chromium Authors. All rights reserved. ...
3 years, 11 months ago (2017-01-19 06:30:35 UTC) #27
Luis Héctor Chávez
lgtm with a few nits. https://codereview.chromium.org/2559663002/diff/220001/chrome/browser/chromeos/accessibility/accessibility_highlight_manager.cc File chrome/browser/chromeos/accessibility/accessibility_highlight_manager.cc (right): https://codereview.chromium.org/2559663002/diff/220001/chrome/browser/chromeos/accessibility/accessibility_highlight_manager.cc#newcode12 chrome/browser/chromeos/accessibility/accessibility_highlight_manager.cc:12: #include "ui/gfx/geometry/rect.h" nit: Remove ...
3 years, 11 months ago (2017-01-19 17:17:56 UTC) #28
yawano
Thank you for the review! https://codereview.chromium.org/2559663002/diff/220001/chrome/browser/chromeos/accessibility/accessibility_highlight_manager.cc File chrome/browser/chromeos/accessibility/accessibility_highlight_manager.cc (right): https://codereview.chromium.org/2559663002/diff/220001/chrome/browser/chromeos/accessibility/accessibility_highlight_manager.cc#newcode12 chrome/browser/chromeos/accessibility/accessibility_highlight_manager.cc:12: #include "ui/gfx/geometry/rect.h" On 2017/01/19 ...
3 years, 11 months ago (2017-01-20 06:52:31 UTC) #29
yawano
Uploaded a new patch set to remove blank lines around the forward declaration.
3 years, 11 months ago (2017-01-20 07:11:45 UTC) #30
hidehiko
lgtm with more minor review comments. All of mine are optional. https://codereview.chromium.org/2559663002/diff/280001/chrome/browser/chromeos/BUILD.gn File chrome/browser/chromeos/BUILD.gn (right): ...
3 years, 11 months ago (2017-01-20 13:24:15 UTC) #31
yawano
kinaba@: PTAL. Addressed comments from hidehiko@ and changed to send bounds in screen coordinate. https://codereview.chromium.org/2559663002/diff/280001/chrome/browser/chromeos/BUILD.gn ...
3 years, 11 months ago (2017-01-23 09:04:52 UTC) #32
yawano
Patch Set 19 is to fix a comment in accessibility_helper.mojom file.
3 years, 11 months ago (2017-01-23 09:08:16 UTC) #33
dmazzoni
lgtm The changes to make the mojo interface more general look great.
3 years, 11 months ago (2017-01-24 03:31:51 UTC) #34
yawano
Thank you for your review!
3 years, 11 months ago (2017-01-24 03:49:56 UTC) #35
kinaba
lgtm
3 years, 11 months ago (2017-01-24 06:27:43 UTC) #36
yawano
On 2017/01/24 06:27:43, kinaba wrote: > lgtm Thank you!
3 years, 11 months ago (2017-01-24 06:28:30 UTC) #37
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/2559663002/360001
3 years, 11 months ago (2017-01-24 06:29:12 UTC) #40
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/348398)
3 years, 11 months ago (2017-01-24 06:36:51 UTC) #42
yawano
dcheng@: PTAL components/arc/common/*.mojom files. Thank you!
3 years, 11 months ago (2017-01-24 06:50:56 UTC) #44
dcheng
https://codereview.chromium.org/2559663002/diff/360001/chrome/browser/chromeos/accessibility/accessibility_highlight_manager.h File chrome/browser/chromeos/accessibility/accessibility_highlight_manager.h (right): https://codereview.chromium.org/2559663002/diff/360001/chrome/browser/chromeos/accessibility/accessibility_highlight_manager.h#newcode44 chrome/browser/chromeos/accessibility/accessibility_highlight_manager.h:44: void OnViewFocusedInArc(const gfx::Rect& boundsInScreen); Nit: name_like_this, here and elsewhere ...
3 years, 11 months ago (2017-01-24 09:36:57 UTC) #45
yawano
Thank you for your review! PTAL. https://codereview.chromium.org/2559663002/diff/360001/chrome/browser/chromeos/accessibility/accessibility_highlight_manager.h File chrome/browser/chromeos/accessibility/accessibility_highlight_manager.h (right): https://codereview.chromium.org/2559663002/diff/360001/chrome/browser/chromeos/accessibility/accessibility_highlight_manager.h#newcode44 chrome/browser/chromeos/accessibility/accessibility_highlight_manager.h:44: void OnViewFocusedInArc(const gfx::Rect& ...
3 years, 11 months ago (2017-01-24 11:18:09 UTC) #46
dcheng
lgtm
3 years, 11 months ago (2017-01-24 16:23:18 UTC) #47
yawano
Thank you!
3 years, 11 months ago (2017-01-25 01:21:10 UTC) #48
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/2559663002/380001
3 years, 11 months ago (2017-01-25 01:21:53 UTC) #51
commit-bot: I haz the power
Committed patchset #20 (id:380001) as https://chromium.googlesource.com/chromium/src/+/ca05a1afa26a0fbb45063b3975f575805dbf4ab2
3 years, 11 months ago (2017-01-25 02:39:38 UTC) #54
johnhonay93
Here include the program is based on the overriding the data based program.this program is ...
3 years, 9 months ago (2017-03-22 06:52:49 UTC) #55
trackermaster6
The information about the array is help me to solve some errors in my website- ...
3 years, 9 months ago (2017-03-22 11:54:12 UTC) #56
johnhonay93
On 2017/03/22 06:52:49, johnhonay93 wrote: > Here include the program is based on the overriding ...
3 years, 9 months ago (2017-03-22 12:01:53 UTC) #57
bubbleray30
This is an nice site all of them can see it and use it very ...
3 years, 9 months ago (2017-03-23 04:39:02 UTC) #58
stevemonjohn
This article is related to technical field but i from medical field like this article ...
3 years, 9 months ago (2017-03-23 05:26:33 UTC) #59
stevemonjohn
On 2017/03/23 05:26:33, stevemonjohn wrote: > This article is related to technical field but i ...
3 years, 9 months ago (2017-03-23 05:29:23 UTC) #60
bubbleray92
Every field needs computer and the programming part is very very important.Computer science has great ...
3 years, 9 months ago (2017-03-23 06:00:48 UTC) #61
stuartlittlemarch
3 years, 9 months ago (2017-03-23 06:16:05 UTC) #62
Message was sent while issue was closed.
IT field is a very good and most job providing site in the World.Without
computer no one can do anything,it is a very nice article and the codereview is
a very nice site. http://keralatravelcabs.com/

Powered by Google App Engine
This is Rietveld 408576698