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

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: Header guard Created 8 years, 1 month 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 7e8839b618119fb3f4ac39100491592ac64c5d4d..15ef4571abc41f909958d37ce7657855dcad859e 100644
--- a/chrome/browser/resources/chromeos/login/oobe.js
+++ b/chrome/browser/resources/chromeos/login/oobe.js
@@ -81,23 +81,9 @@ cr.define('cr.ui', function() {
// TODO: Cleanup with old OOBE style removal.
Nikita (slow) 2012/11/29 11:17:48 nit: This TODO could be removed.
Ivan Korotkov 2012/11/29 17:42:28 It's related to #security-link, which is still the
$('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();
- });
- $('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();
+ $('installation-settings-ok-button').focus();
});
chrome.send('screenStateInitialize');

Powered by Google App Engine
This is Rietveld 408576698