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

Unified Diff: chrome/browser/resources/policy.js

Issue 1348903007: Revert of Add source column to chrome://policy showing the origins of policies. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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
Index: chrome/browser/resources/policy.js
diff --git a/chrome/browser/resources/policy.js b/chrome/browser/resources/policy.js
index aaba4ff6e212501a0e9b9db32b1fd6648c9536bc..bec30a7caaef25080064288f05d06cc4624f7bb7 100644
--- a/chrome/browser/resources/policy.js
+++ b/chrome/browser/resources/policy.js
@@ -134,8 +134,6 @@
this.querySelector('.level').textContent =
loadTimeData.getString(value.level == 'recommended' ?
'levelRecommended' : 'levelMandatory');
- this.querySelector('.source').textContent =
- loadTimeData.getString(value.source);
this.querySelector('.value').textContent = value.value;
this.querySelector('.expanded-value').textContent = value.value;
}
@@ -521,8 +519,7 @@
var newTable = window.document.createElement('table');
var tableHead = window.document.createElement('thead');
var tableRow = window.document.createElement('tr');
- var tableHeadings = ['Scope', 'Level', 'Source', 'Name', 'Value',
- 'Status'];
+ var tableHeadings = ['Scope', 'Level', 'Name', 'Value', 'Status'];
for (var i = 0; i < tableHeadings.length; i++) {
var tableHeader = window.document.createElement('th');
tableHeader.classList.add(tableHeadings[i].toLowerCase() + '-column');
« no previous file with comments | « chrome/browser/resources/policy.html ('k') | chrome/browser/search/contextual_search_policy_handler_android_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698