| Index: chrome/browser/resources/chromeos/login/oobe.js
|
| diff --git a/chrome/browser/resources/chromeos/login/oobe.js b/chrome/browser/resources/chromeos/login/oobe.js
|
| index ea618f024d7f060b5881287013b1a94eb90a87f8..97daba42e5c1d40824f3fed7a3f836f5bc65903b 100644
|
| --- a/chrome/browser/resources/chromeos/login/oobe.js
|
| +++ b/chrome/browser/resources/chromeos/login/oobe.js
|
| @@ -81,28 +81,13 @@ cr.define('cr.ui', function() {
|
|
|
| // TODO: Cleanup with old OOBE style removal.
|
| $('security-link').addEventListener('click', function(event) {
|
| - chrome.send('eulaOnTpmPopupOpened');
|
| + chrome.send('eulaOnInstallationSettingsPopupOpened');
|
| $('popup-overlay').hidden = false;
|
| - $('security-ok-button').focus();
|
| - });
|
| - $('security-tpm-link').addEventListener('click', function(event) {
|
| - chrome.send('eulaOnTpmPopupOpened');
|
| - $('popup-overlay').hidden = false;
|
| - $('security-ok-button').focus();
|
| + $('installation-settings-ok-button').focus();
|
| });
|
|
|
| Oobe.initializeA11yMenu();
|
|
|
| - $('security-ok-button').addEventListener('click', function(event) {
|
| - $('popup-overlay').hidden = true;
|
| - });
|
| - // Do not allow focus leaving the overlay.
|
| - $('popup-overlay').addEventListener('focusout', function(event) {
|
| - // WebKit does not allow immediate focus return.
|
| - setTimeout(function() { $('security-ok-button').focus(); }, 0);
|
| - event.preventDefault();
|
| - });
|
| -
|
| chrome.send('screenStateInitialize');
|
| };
|
|
|
|
|