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

Unified Diff: components/policy/resources/policy_templates.json

Issue 2643833002: Add a New Tab page location group policy (Closed)
Patch Set: Name change missing Created 3 years, 11 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: components/policy/resources/policy_templates.json
diff --git a/components/policy/resources/policy_templates.json b/components/policy/resources/policy_templates.json
index 7938dd09e1171600d0bbca831ceafb488c1498f0..d9f3a0db467897102173ea2b53591659d5d4b99e 100644
--- a/components/policy/resources/policy_templates.json
+++ b/components/policy/resources/policy_templates.json
@@ -139,7 +139,9 @@
# persistent IDs for all fields (but not for groups!) are needed. These are
# specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs,
# because doing so would break the deployed wire format!
-# For your editing convenience: highest ID currently used: 359
+# For your editing convenience: highest ID currently used: 360
+# And don't forget to also update the EnterprisePolicies enum of
pastarmovj 2017/01/19 14:56:21 Good idea! :)
MAD 2017/01/19 16:13:30 Acknowledged.
+# histograms.xml.
#
# Placeholders:
# The following placeholder strings are automatically substituted:
@@ -285,6 +287,37 @@
],
},
{
+ 'name': 'NewTabPage',
+ 'type': 'group',
+ 'caption': '''New Tab Page''',
+ 'desc': '''Configure the default New Tab page in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.''',
+ 'policies': [
+ {
+ 'name': 'NewTabPageLocation',
+ 'type': 'string',
+ 'schema': { 'type': 'string' },
+ 'supported_on': ['chrome.*:57-', 'chrome_os:57-'],
+ 'features': {
+ 'can_be_recommended': True,
+ 'dynamic_refresh': True,
+ 'per_profile': True,
+ },
+ 'example_value': 'https://www.chromium.org',
+ 'id': 360,
+ 'caption': '''Configure the New Tab page URL''',
+ 'tags': [],
+ 'desc': '''Configures the default New Tab page URL in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> and prevents users from changing it.
+
+ The New Tab page is the page opened when new tabs are created (including the one opened in new windowsa). The pages that open on startup are controlled by the RestoreOnStartup policies, which could be to open the New Tab page.
pastarmovj 2017/01/19 14:56:21 s/windowsa/windows/. Also I would extend a little
MAD 2017/01/19 16:13:30 Done.
+
+ The NewTabPageLocation can be set to a URL you specify here. It will also affect the Home Page if it is set to open the New Tab page, as well as the startup page if set to New Tab page.
+
+ This policy is not available on Windows instances that are not joined to an Active Directory domain.''',
pastarmovj 2017/01/19 14:56:21 Add one more sentence below or above this one. e.g
MAD 2017/01/19 16:13:30 Done.
+ 'label': '''New Tab page URL''',
+ },
+ ],
+ },
+ {
'name': 'DefaultBrowserSettingEnabled',
'type': 'main',
'schema': { 'type': 'boolean' },

Powered by Google App Engine
This is Rietveld 408576698