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

Unified Diff: chrome/browser/resources/chromeos/login/oobe.js

Issue 11412067: [rlz,cros] RLZ glue for ChromeOS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 3f0b5f163090c9bb850558a142922c918d8c3025..97daba42e5c1d40824f3fed7a3f836f5bc65903b 100644
--- a/chrome/browser/resources/chromeos/login/oobe.js
+++ b/chrome/browser/resources/chromeos/login/oobe.js
@@ -81,29 +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');
};
« no previous file with comments | « chrome/browser/resources/chromeos/login/oobe.html ('k') | chrome/browser/resources/chromeos/login/oobe_screen_eula.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698