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

Unified Diff: chrome/test/data/webui/cr_elements/cr_policy_strings.js

Issue 2696903005: Move common cr-policy-indicator behavior into CrPolicyIndicatorBehavior (Closed)
Patch Set: rename hasPolicy Created 3 years, 10 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/test/data/webui/cr_elements/cr_policy_strings.js
diff --git a/chrome/test/data/webui/cr_elements/cr_policy_strings.js b/chrome/test/data/webui/cr_elements/cr_policy_strings.js
new file mode 100644
index 0000000000000000000000000000000000000000..c9cd1eb50a8f532389a60d97a692bce6cf1443a3
--- /dev/null
+++ b/chrome/test/data/webui/cr_elements/cr_policy_strings.js
@@ -0,0 +1,12 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+/** @fileoverview Sets up strings used by policy indicator elements. */
+var CrPolicyStrings = CrPolicyStrings || {
+ controlledSettingPolicy: 'policy',
+ controlledSettingRecommendedMatches: 'matches',
+ controlledSettingRecommendedDiffers: 'differs',
+ controlledSettingShared: 'shared: $1',
+ controlledSettingOwner: 'owner: $1',
+};

Powered by Google App Engine
This is Rietveld 408576698