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

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

Issue 7799022: Added JSDoc to a function missing comment. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 months 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/chromeos/login/oobe_screen_update.js
diff --git a/chrome/browser/resources/chromeos/login/oobe_screen_update.js b/chrome/browser/resources/chromeos/login/oobe_screen_update.js
index d95fd54f482c1b97d721a98fd5200fd6862d8115..c2f0b233f57124ccf374abe1765bb07cab38a4e1 100644
--- a/chrome/browser/resources/chromeos/login/oobe_screen_update.js
+++ b/chrome/browser/resources/chromeos/login/oobe_screen_update.js
@@ -47,6 +47,10 @@ cr.define('oobe', function() {
}
};
+ /**
+ * Registers Escape accelerator to cancel update and
+ * makes 'press Escape to cancel update' hint visible.
+ */
UpdateScreen.enableUpdateCancel = function() {
$('update-cancel-hint').hidden = false;
document.addEventListener('keydown', function(e) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698