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

Side by Side Diff: components/supervised_user_error_page/resources/supervised_user_block_interstitial.js

Issue 1808653003: Move the supervised user error page to a component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase to fix compile problem Created 4 years, 9 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 function sendCommand(cmd) { 5 function sendCommand(cmd) {
6 window.domAutomationController.setAutomationId(1); 6 window.domAutomationController.setAutomationId(1);
7 window.domAutomationController.send(cmd); 7 window.domAutomationController.send(cmd);
8 } 8 }
9 9
10 function makeImageSet(url1x, url2x) { 10 function makeImageSet(url1x, url2x) {
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 $('details').hidden = true; 89 $('details').hidden = true;
90 $('back-button').hidden = false; 90 $('back-button').hidden = false;
91 $('request-access-button').hidden = true; 91 $('request-access-button').hidden = true;
92 } else { 92 } else {
93 $('request-failed-message').hidden = false; 93 $('request-failed-message').hidden = false;
94 $('request-access-button').hidden = false; 94 $('request-access-button').hidden = false;
95 } 95 }
96 } 96 }
97 97
98 document.addEventListener('DOMContentLoaded', initialize); 98 document.addEventListener('DOMContentLoaded', initialize);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698