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

Unified Diff: chrome/browser/resources/options2/startup_overlay.html

Issue 9561006: Respect policy for list of startup pages (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: indentation Created 8 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/browser/resources/options2/startup_overlay.html
diff --git a/chrome/browser/resources/options2/startup_overlay.html b/chrome/browser/resources/options2/startup_overlay.html
index 4e472f5556e03d1d4cbbbb3df3302e1bf893230a..ea14d9c04af2822fa0cdf360b2238cc80800cacf 100644
--- a/chrome/browser/resources/options2/startup_overlay.html
+++ b/chrome/browser/resources/options2/startup_overlay.html
@@ -1,5 +1,10 @@
<div id="startup-overlay" class="page" hidden>
<h1 i18n-content="startupPagesOverlay"></h1>
+ <!-- This <input> element is always hidden. It needs to be here so that
+ its 'controlled-by' attribute will get set when the urls preference is
+ managed by a policy, so that the managed prefs bar will show up.
+ -->
+ <input type="text" pref="session.urls_to_restore_on_startup" hidden>
<div class="content-area">
<list id="startupPagesList"></list>
</div>
« no previous file with comments | « chrome/browser/resources/options2/browser_options.js ('k') | chrome/browser/resources/options2/startup_overlay.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698