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

Issue 900623003: extensions: focus options overlay content when shown. (Closed)

Created:
5 years, 10 months ago by Dan Beam
Modified:
5 years, 10 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, arv+watch_chromium.org, oshima+watch_chromium.org, extensions-reviews_chromium.org, hcarmona
Base URL:
https://chromium.googlesource.com/chromium/src.git@policy-icon-label
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

extensions: focus options overlay content when shown. This matches other webui dialogs' (settings) behavior by setting initial focus when a dialog is shown. To fully match we need to also restore focus when the dialog is closed, which we'll do when it's easier (i.e. when the page isn't totally rebuilt all the time). BUG=438301 R=kalman@chromium.org Committed: https://crrev.com/161a7236f84ad703669a532b78f9b7dc17e0df58 Cr-Commit-Position: refs/heads/master@{#314629}

Patch Set 1 : reverting cruft #

Total comments: 1

Patch Set 2 : merge #

Total comments: 4

Patch Set 3 : fixes #

Total comments: 1

Patch Set 4 : blur() just in case #

Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -23 lines) Patch
M chrome/browser/resources/extensions/extension_list.js View 1 2 3 1 chunk +24 lines, -7 lines 0 comments Download
M chrome/browser/resources/extensions/extension_options_overlay.js View 1 2 6 chunks +25 lines, -9 lines 0 comments Download
M chrome/browser/ui/webui/extensions/extension_settings_browsertest.js View 2 chunks +23 lines, -7 lines 0 comments Download

Messages

Total messages: 12 (4 generated)
Dan Beam
https://codereview.chromium.org/900623003/diff/20001/chrome/browser/resources/extensions/extension_list.js File chrome/browser/resources/extensions/extension_list.js (right): https://codereview.chromium.org/900623003/diff/20001/chrome/browser/resources/extensions/extension_list.js#newcode586 chrome/browser/resources/extensions/extension_list.js:586: var self = this; this is better than .bind() ...
5 years, 10 months ago (2015-02-03 17:38:47 UTC) #2
not at google - send to devlin
lgtm with the animation event --> callback change. https://codereview.chromium.org/900623003/diff/40001/chrome/browser/resources/extensions/extension_list.js File chrome/browser/resources/extensions/extension_list.js (right): https://codereview.chromium.org/900623003/diff/40001/chrome/browser/resources/extensions/extension_list.js#newcode588 chrome/browser/resources/extensions/extension_list.js:588: $('overlay').addEventListener('animationFinished', ...
5 years, 10 months ago (2015-02-03 20:52:04 UTC) #3
Dan Beam
https://codereview.chromium.org/900623003/diff/40001/chrome/browser/resources/extensions/extension_list.js File chrome/browser/resources/extensions/extension_list.js (right): https://codereview.chromium.org/900623003/diff/40001/chrome/browser/resources/extensions/extension_list.js#newcode588 chrome/browser/resources/extensions/extension_list.js:588: $('overlay').addEventListener('animationFinished', function f() { On 2015/02/03 20:52:04, kalman wrote: ...
5 years, 10 months ago (2015-02-04 17:15:39 UTC) #6
Dan Beam
https://codereview.chromium.org/900623003/diff/80001/chrome/browser/resources/extensions/extension_list.js File chrome/browser/resources/extensions/extension_list.js (right): https://codereview.chromium.org/900623003/diff/80001/chrome/browser/resources/extensions/extension_list.js#newcode599 chrome/browser/resources/extensions/extension_list.js:599: shownCallback(); kalman@: ok with this?
5 years, 10 months ago (2015-02-04 18:11:21 UTC) #7
not at google - send to devlin
lgtm
5 years, 10 months ago (2015-02-04 20:33:09 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/900623003/100001
5 years, 10 months ago (2015-02-04 20:56:17 UTC) #10
commit-bot: I haz the power
Committed patchset #4 (id:100001)
5 years, 10 months ago (2015-02-04 21:01:06 UTC) #11
commit-bot: I haz the power
5 years, 10 months ago (2015-02-04 21:03:00 UTC) #12
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/161a7236f84ad703669a532b78f9b7dc17e0df58
Cr-Commit-Position: refs/heads/master@{#314629}

Powered by Google App Engine
This is Rietveld 408576698