Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / resources / options / sync_section.html
index fdf8988..2448d8c 100644 (file)
@@ -1,8 +1,8 @@
-<if expr="not pp_ifdef('chromeos')">
+<if expr="not chromeos">
 <section id="sync-section">
   <h3 i18n-content="sectionTitleSync"></h3>
 </if>
-<if expr="pp_ifdef('chromeos')">
+<if expr="chromeos">
 <div id="sync-section">
 </if>
 
@@ -12,7 +12,7 @@
         target="_blank"></a>
   </div>
 
-<if expr="pp_ifdef('chromeos')">
+<if expr="chromeos">
   <div id="account-picture-wrapper">
     <div id="account-picture-control">
       <input type="image" id="account-picture" tabindex="0"
     </span>
   </div>
   <div id="sync-general">
-</if>  <!-- pp_ifdef('chromeos') -->
+</if>  <!-- chromeos -->
 
     <div id="sync-status" class="settings-row" hidden>
       <span id="sync-status-text"></span>
       <button id="sync-action-link" class="link-button"></button>
     </div>
 
-<if expr="pp_ifdef('chromeos')">
-    <div class="checkbox">
+<if expr="chromeos">
+    <div class="checkbox" public-account-visibility="hidden">
       <span class="controlled-setting-with-label">
         <input id="enable-screen-lock" type="checkbox"
+            metric="Options_ScreenLock"
             pref="settings.enable_screen_lock">
         <span>
           <label for="enable-screen-lock" i18n-content="enableScreenlock">
@@ -45,7 +46,7 @@
       </span>
     </div>
   </div>
-</if>  <!-- pp_ifdef('chromeos') -->
+</if>  <!-- chromeos -->
 
   <div id="sync-buttons" class="settings-row">
     <button id="start-stop-sync" hidden></button>
     <button id="customize-sync" i18n-content="customizeSync"
         pref="sync.managed" hidden>
     </button>
-<if expr="pp_ifdef('chromeos')">
+<if expr="chromeos">
     <button id="manage-accounts-button"
+        public-account-visibility="hidden"
         i18n-content="manageAccountsButtonTitle">
     </button>
-</if>  <!-- pp_ifdef('chromeos') -->
-    <div id="enable-auto-login-checkbox" class="checkbox" hidden>
-      <label>
-        <input id="enable-auto-login" pref="autologin.enabled"
-            metric="Options_Autologin" type="checkbox">
-        <span i18n-content="autologinEnabled"></span>
-      </label>
-    </div>
+</if>  <!-- chromeos -->
   </div>
 
-<if expr="not pp_ifdef('chromeos')">
+<if expr="not chromeos">
 </section>
 </if>
-<if expr="pp_ifdef('chromeos')">
+<if expr="chromeos">
 </div>
 </if>