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

Issue 2361993003: Draw underlay behind android apps using talkback (Closed)

Created:
4 years, 3 months ago by erosky
Modified:
4 years, 2 months ago
CC:
blundell+watchlist_chromium.org, chromium-reviews, droger+watchlist_chromium.org, sdefresne+watchlist_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Draw underlay behind android apps using talkback When spoken-feedback is enabled, shell_surface's shadow_underlay will fill the screen for active android windows. When in this mode, the underlay will consume all events and play an earcon to indicate that the event was located outside the android window. BUG=649524 TEST=unit-test and tested on device Committed: https://crrev.com/9f31b7767effd9ea9e17f07820b94fe895687dea Cr-Commit-Position: refs/heads/master@{#422651}

Patch Set 1 : Draw underlay behind android apps using talkback #

Total comments: 4

Patch Set 2 : fixed bug, added more to unit-test, addressed comment #

Patch Set 3 : Properly show shadow on app launch #

Total comments: 22

Patch Set 4 : Addressed some CL comments and added some comments #

Total comments: 12

Patch Set 5 : More CL comments #

Patch Set 6 : Resolved merge conflicts #

Total comments: 7

Patch Set 7 : CL comments #

Total comments: 8

Patch Set 8 : underlay always handles events #

Unified diffs Side-by-side diffs Delta from patch set Stats (+207 lines, -18 lines) Patch
M components/exo/BUILD.gn View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M components/exo/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M components/exo/shell_surface.h View 1 2 3 4 5 6 5 chunks +8 lines, -3 lines 0 comments Download
M components/exo/shell_surface.cc View 1 2 3 4 5 6 7 13 chunks +108 lines, -6 lines 0 comments Download
M components/exo/shell_surface_unittest.cc View 1 2 3 4 5 chunks +86 lines, -9 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 62 (39 generated)
erosky
corresponds to b/31440313
4 years, 3 months ago (2016-09-23 21:15:41 UTC) #12
hshi1
https://codereview.chromium.org/2361993003/diff/40001/components/exo/shell_surface.cc File components/exo/shell_surface.cc (right): https://codereview.chromium.org/2361993003/diff/40001/components/exo/shell_surface.cc#newcode112 components/exo/shell_surface.cc:112: .Intersects(gfx::Rect(shadow_underlay_->layer()->size())); This feels convoluted. It seems equivalent to the ...
4 years, 3 months ago (2016-09-23 21:29:05 UTC) #13
erosky
https://codereview.chromium.org/2361993003/diff/40001/components/exo/shell_surface.cc File components/exo/shell_surface.cc (right): https://codereview.chromium.org/2361993003/diff/40001/components/exo/shell_surface.cc#newcode112 components/exo/shell_surface.cc:112: .Intersects(gfx::Rect(shadow_underlay_->layer()->size())); On 2016/09/23 21:29:05, hshi1 wrote: > This feels ...
4 years, 3 months ago (2016-09-24 00:05:03 UTC) #15
hshi1
lgtm
4 years, 2 months ago (2016-09-27 00:31:12 UTC) #19
Mr4D (OOO till 08-26)
lgtm! Thanks for adding the unit test! https://codereview.chromium.org/2361993003/diff/80001/components/exo/shell_surface_unittest.cc File components/exo/shell_surface_unittest.cc (right): https://codereview.chromium.org/2361993003/diff/80001/components/exo/shell_surface_unittest.cc#newcode710 components/exo/shell_surface_unittest.cc:710: pt = ...
4 years, 2 months ago (2016-09-27 06:40:59 UTC) #24
reveman
Before I review the code, can you explain more why we want this specifically for ...
4 years, 2 months ago (2016-09-27 09:57:19 UTC) #25
erosky
On 2016/09/27 09:57:19, reveman wrote: > Before I review the code, can you explain more ...
4 years, 2 months ago (2016-09-27 21:22:10 UTC) #26
reveman
https://codereview.chromium.org/2361993003/diff/80001/components/exo/shell_surface.cc File components/exo/shell_surface.cc (right): https://codereview.chromium.org/2361993003/diff/80001/components/exo/shell_surface.cc#newcode94 components/exo/shell_surface.cc:94: class CustomWindowTargeter : public aura::WindowTargeter { Does this really ...
4 years, 2 months ago (2016-09-28 16:11:51 UTC) #27
erosky
I added some comments to clarify what's going on. https://codereview.chromium.org/2361993003/diff/80001/components/exo/shell_surface.cc File components/exo/shell_surface.cc (right): https://codereview.chromium.org/2361993003/diff/80001/components/exo/shell_surface.cc#newcode94 components/exo/shell_surface.cc:94: ...
4 years, 2 months ago (2016-09-28 19:21:13 UTC) #30
reveman
https://codereview.chromium.org/2361993003/diff/100001/components/exo/shell_surface.cc File components/exo/shell_surface.cc (left): https://codereview.chromium.org/2361993003/diff/100001/components/exo/shell_surface.cc#oldcode100 components/exo/shell_surface.cc:100: if (window->parent()) where did this check go? can you ...
4 years, 2 months ago (2016-09-30 05:59:10 UTC) #33
erosky
https://codereview.chromium.org/2361993003/diff/100001/components/exo/shell_surface.cc File components/exo/shell_surface.cc (left): https://codereview.chromium.org/2361993003/diff/100001/components/exo/shell_surface.cc#oldcode100 components/exo/shell_surface.cc:100: if (window->parent()) On 2016/09/30 05:59:10, reveman wrote: > where ...
4 years, 2 months ago (2016-09-30 18:38:41 UTC) #35
reveman
lgtm with some more nits https://codereview.chromium.org/2361993003/diff/140001/components/exo/shell_surface.cc File components/exo/shell_surface.cc (right): https://codereview.chromium.org/2361993003/diff/140001/components/exo/shell_surface.cc#newcode117 components/exo/shell_surface.cc:117: aura::Window::ConvertPointToTarget(window->parent(), shadow_underlay, It's confusing ...
4 years, 2 months ago (2016-09-30 20:51:10 UTC) #41
erosky
https://codereview.chromium.org/2361993003/diff/140001/components/exo/shell_surface.cc File components/exo/shell_surface.cc (right): https://codereview.chromium.org/2361993003/diff/140001/components/exo/shell_surface.cc#newcode117 components/exo/shell_surface.cc:117: aura::Window::ConvertPointToTarget(window->parent(), shadow_underlay, On 2016/09/30 20:51:10, reveman wrote: > It's ...
4 years, 2 months ago (2016-09-30 21:24:16 UTC) #44
oshima
https://codereview.chromium.org/2361993003/diff/160001/components/exo/shell_surface.cc File components/exo/shell_surface.cc (right): https://codereview.chromium.org/2361993003/diff/160001/components/exo/shell_surface.cc#newcode44 components/exo/shell_surface.cc:44: #if defined(OS_CHROMEOS) Do you need this? I believe this ...
4 years, 2 months ago (2016-10-01 02:00:10 UTC) #47
reveman
https://codereview.chromium.org/2361993003/diff/160001/components/exo/shell_surface.cc File components/exo/shell_surface.cc (right): https://codereview.chromium.org/2361993003/diff/160001/components/exo/shell_surface.cc#newcode44 components/exo/shell_surface.cc:44: #if defined(OS_CHROMEOS) On 2016/10/01 at 02:00:09, oshima wrote: > ...
4 years, 2 months ago (2016-10-01 08:12:30 UTC) #48
Mr4D (OOO till 08-26)
See my comment - but please wait for Oshima to lgtm this as well. https://codereview.chromium.org/2361993003/diff/160001/components/exo/shell_surface.cc ...
4 years, 2 months ago (2016-10-01 08:56:21 UTC) #49
erosky
https://codereview.chromium.org/2361993003/diff/160001/components/exo/shell_surface.cc File components/exo/shell_surface.cc (right): https://codereview.chromium.org/2361993003/diff/160001/components/exo/shell_surface.cc#newcode1358 components/exo/shell_surface.cc:1358: shadow_underlay_->set_ignore_events(!underlay_capture_events); On 2016/10/01 02:00:10, oshima wrote: > I think ...
4 years, 2 months ago (2016-10-03 17:44:02 UTC) #50
oshima
https://codereview.chromium.org/2361993003/diff/160001/components/exo/shell_surface.cc File components/exo/shell_surface.cc (right): https://codereview.chromium.org/2361993003/diff/160001/components/exo/shell_surface.cc#newcode1358 components/exo/shell_surface.cc:1358: shadow_underlay_->set_ignore_events(!underlay_capture_events); On 2016/10/03 17:44:02, erosky wrote: > On 2016/10/01 ...
4 years, 2 months ago (2016-10-03 19:57:01 UTC) #51
erosky
https://codereview.chromium.org/2361993003/diff/160001/components/exo/shell_surface.cc File components/exo/shell_surface.cc (right): https://codereview.chromium.org/2361993003/diff/160001/components/exo/shell_surface.cc#newcode1358 components/exo/shell_surface.cc:1358: shadow_underlay_->set_ignore_events(!underlay_capture_events); On 2016/10/03 19:57:01, oshima wrote: > On 2016/10/03 ...
4 years, 2 months ago (2016-10-03 22:35:08 UTC) #52
oshima
lgtm
4 years, 2 months ago (2016-10-03 23:36:20 UTC) #55
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/2361993003/180001
4 years, 2 months ago (2016-10-03 23:57:19 UTC) #59
commit-bot: I haz the power
Committed patchset #8 (id:180001)
4 years, 2 months ago (2016-10-04 01:10:39 UTC) #60
commit-bot: I haz the power
4 years, 2 months ago (2016-10-04 01:12:27 UTC) #62
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/9f31b7767effd9ea9e17f07820b94fe895687dea
Cr-Commit-Position: refs/heads/master@{#422651}

Powered by Google App Engine
This is Rietveld 408576698