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

Unified Diff: chrome/browser/resources/options/chromeos/quick_unlock_configure_overlay.js

Issue 2270173002: add stylus metrics (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Incorporate A11y review comments Created 4 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 | « chrome/browser/resources/options/chromeos/quick_unlock_configure_overlay.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/options/chromeos/quick_unlock_configure_overlay.js
diff --git a/chrome/browser/resources/options/chromeos/quick_unlock_configure_overlay.js b/chrome/browser/resources/options/chromeos/quick_unlock_configure_overlay.js
index 2d84c113d17e42bf3e8579eb7b30dc5d583f4149..5996d71dc0ab7c615b08ea648848ac7221899cff 100644
--- a/chrome/browser/resources/options/chromeos/quick_unlock_configure_overlay.js
+++ b/chrome/browser/resources/options/chromeos/quick_unlock_configure_overlay.js
@@ -27,6 +27,9 @@ cr.define('options', function() {
/** @override */
initializePage: function() {
Page.prototype.initializePage.call(this);
+ $('screen-lock-done').onclick = function() {
+ QuickUnlockConfigureOverlay.dismiss();
+ };
},
/** @override */
@@ -39,7 +42,8 @@ cr.define('options', function() {
settings.navigateTo(settings.Route.LOCK_SCREEN);
var lockScreen = document.querySelector('settings-lock-screen');
- var checkbox = lockScreen.root.querySelector('settings-checkbox');
+ var checkbox =
+ lockScreen.root.querySelector('div.settings-box.single-column');
checkbox.hidden = true;
var passwordPrompt = lockScreen.root.
« no previous file with comments | « chrome/browser/resources/options/chromeos/quick_unlock_configure_overlay.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698