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

Issue 2573203002: Make the matching of root dialogs more strict (Closed)

Created:
4 years ago by David Tseng
Modified:
3 years, 11 months ago
Reviewers:
dmazzoni
CC:
chromium-reviews, alemate+watch_chromium.org, oshima+watch_chromium.org, aboxhall+watch_chromium.org, nektar+watch_chromium.org, yuzo+watch_chromium.org, je_julie, arv+watch_chromium.org, dtseng+watch_chromium.org, dmazzoni+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make the matching of root dialogs more strict In the views tree, dialogs as annotated today are fairly loose semantically. 1. In the Launcher, we're using dialog for bubble views. Example: window ... search text field ... window ... dialog ... dialog files app button The problem arises when trying to wrap. It is not clear if we should wrap based on the inner dialog, the outer dialog, or the outer window. Furthermore, consider the views tree for app installation window dialog ... close button ... dialog description text static text ... install button Here, we should not wrap for the inner dialog because we'll miss the buttons that come after. Thus, we need to be far more strict when detecting dialogs as root. In particular, dialogs that are not parented to windows and have siblings that are not all windows or dialogs, should not be a root. TEST=navigate both app install window and launcher. Verify that wrapping only occurs for the launcher case and not for the install window. BUG= CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2573203002 Cr-Commit-Position: refs/heads/master@{#443098} Committed: https://chromium.googlesource.com/chromium/src/+/b190dd7e0396cdc47e4444bab5618500c470c80e

Patch Set 1 #

Total comments: 1

Patch Set 2 : Make the matching of root dialogs more strict #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -1 line) Patch
M chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_predicate.js View 1 1 chunk +9 lines, -1 line 0 comments Download

Messages

Total messages: 19 (12 generated)
David Tseng
4 years ago (2016-12-14 20:11:15 UTC) #3
dmazzoni
lgtm Change description makes sense, would like to see a short comment in the code ...
4 years ago (2016-12-15 16:57:45 UTC) #4
dmazzoni
lgtm Change description makes sense, would like to see a short comment in the code ...
4 years ago (2016-12-15 16:57:47 UTC) #5
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/2573203002/20001
4 years ago (2016-12-16 22:00:04 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: closure_compilation on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL)
4 years ago (2016-12-17 00:04:12 UTC) #10
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/2573203002/20001
3 years, 11 months ago (2017-01-12 00:40:39 UTC) #16
commit-bot: I haz the power
3 years, 11 months ago (2017-01-12 01:06:01 UTC) #19
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/b190dd7e0396cdc47e4444bab561...

Powered by Google App Engine
This is Rietveld 408576698