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

Unified Diff: chrome/browser/resources/options/certificate_manager.js

Issue 2920253003: kiosk: Tighten cert manager UI (Closed)
Patch Set: rebase, base test is removed :( Created 3 years, 6 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/chromeos/policy/proto/chrome_device_policy.proto ('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/certificate_manager.js
diff --git a/chrome/browser/resources/options/certificate_manager.js b/chrome/browser/resources/options/certificate_manager.js
index 8e9cad6115881b57a0bb073a0f989b4e1b3045c5..1447008243267a122bf79bbbb7456d7c9119a75b 100644
--- a/chrome/browser/resources/options/certificate_manager.js
+++ b/chrome/browser/resources/options/certificate_manager.js
@@ -202,6 +202,13 @@ cr.define('options', function() {
this.caTab = new CertificateManagerTab('caCertsTab', this.isKiosk_);
this.otherTab = new CertificateManagerTab('otherCertsTab', this.isKiosk_);
+ if (this.isKiosk_) {
+ // No "Servers" and "Authorities" tab in kiosk mode.
+ // See http://crbug.com/719907 for details.
+ $('server-certs-nav-tab').hidden = true;
+ $('ca-certs-nav-tab').hidden = true;
+ }
+
this.addEventListener('visibleChange', this.handleVisibleChange_);
$('certificate-confirm').onclick = function() {
« no previous file with comments | « chrome/browser/chromeos/policy/proto/chrome_device_policy.proto ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698