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

Unified Diff: chrome/browser/resources/options/personal_options.html

Issue 3532010: Add a pref checkbox to enable/disable screen lock for ChromeOs. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: firx chromeos trybot 2, set expectations Created 10 years, 2 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/options/personal_options.html
diff --git a/chrome/browser/resources/options/personal_options.html b/chrome/browser/resources/options/personal_options.html
index 53e850e2bb1046151ebacfffd90fcbd8b9520b5e..39fb7452922cdcda70743ef64843122fb9386276 100644
--- a/chrome/browser/resources/options/personal_options.html
+++ b/chrome/browser/resources/options/personal_options.html
@@ -1,6 +1,22 @@
<div class="page hidden" id="personalPage">
<h1 i18n-content="personalPage"></h1>
+<if expr="pp_ifdef('chromeos')">
+ <section>
+ <h3 i18n-content="account"></h3>
+ <div>
+ <table class="option-control-table">
+ <tr><td>
+ <img id='account-picture' src='chrome://theme/IDR_LOGIN_DEFAULT_USER'>
+ </td><td>
+ <label><input id="enable-screen-lock"
+ pref="settings.enable_screen_lock" type="checkbox"><span
+ i18n-content="enable_screenlock"></span></label>
+ </td></tr>
+ </table>
+ </div>
+ </section>
+</if>
<section>
<h3 i18n-content="sync_section"></h3>
<div>
« no previous file with comments | « chrome/browser/resources/options/personal_options.css ('k') | chrome/browser/resources/options/personal_options.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698