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

Unified Diff: chrome/browser/resources/settings/on_startup_page/startup_urls_page.html

Issue 2960773002: M60 merge: MD Settings: Allow editing startup URLs when "recommended" policy is present. (Closed)
Patch Set: 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
Index: chrome/browser/resources/settings/on_startup_page/startup_urls_page.html
diff --git a/chrome/browser/resources/settings/on_startup_page/startup_urls_page.html b/chrome/browser/resources/settings/on_startup_page/startup_urls_page.html
index 155ded00997fe08d986b55a1f4ec13e3cc07a5f7..2c915fc68626f6aded78c5a452972e37ae822ca2 100644
--- a/chrome/browser/resources/settings/on_startup_page/startup_urls_page.html
+++ b/chrome/browser/resources/settings/on_startup_page/startup_urls_page.html
@@ -37,13 +37,14 @@
<settings-startup-url-entry model="[[item]]"
tabindex$="[[tabIndex]]" iron-list-tab-index="[[tabIndex]]"
last-focused="{{lastFocused_}}"
- editable="[[!prefs.session.startup_urls.controlledBy]]">
+ editable="[[shouldAllowUrlsEdit_(
+ prefs.session.startup_urls.enforcement)]]">
</settings-startup-url-entry>
</template>
</iron-list>
</div>
- <template is="dom-if" if="[[!prefs.session.startup_urls.controlledBy]]"
- restamp>
+ <template is="dom-if" if="[[shouldAllowUrlsEdit_(
+ prefs.session.startup_urls.enforcement)]]" restamp>
<div class="list-item" id="addPage">
<a is="action-link" class="list-button" on-tap="onAddPageTap_">
$i18n{onStartupAddNewPage}

Powered by Google App Engine
This is Rietveld 408576698