summaryrefslogtreecommitdiffstats
path: root/mojo
diff options
context:
space:
mode:
authorapacible <apacible@chromium.org>2016-03-17 17:36:27 -0700
committerCommit bot <commit-bot@chromium.org>2016-03-18 00:37:32 +0000
commit48d7378cc2e2cc76c9cf0bfcd05413f8678662cb (patch)
treec7f7cb5fe514a3f0be39b28aa23c0d5999a51781 /mojo
parentb8634c4d77f7d4017bf69832ca191d09b7cf3ad3 (diff)
downloadchromium_src-48d7378cc2e2cc76c9cf0bfcd05413f8678662cb.zip
chromium_src-48d7378cc2e2cc76c9cf0bfcd05413f8678662cb.tar.gz
chromium_src-48d7378cc2e2cc76c9cf0bfcd05413f8678662cb.tar.bz2
[Media Router WebUI] Handle on dialog load focus on Mac.
This change better handles the non-user-triggered focus event that happens when the dialog loads. The behavior only appears on Mac and when the dialog initially is opened; however, it appears 100% of the time in these cases. This adds an element with the sole purpose of triggering focus on that element when the dialog is open rather than any of the other header elements. This prevents messing with the tabindex (whether elements are focusable and in what priority) of the other elements. The tabindex of this element is then updated to be unfocusable so that the user cannot accidentally tab to the element. BUG=594951 Review URL: https://codereview.chromium.org/1807803002 Cr-Commit-Position: refs/heads/master@{#381851}
Diffstat (limited to 'mojo')
0 files changed, 0 insertions, 0 deletions