Upstream version 10.38.208.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / resources / options / browser_options.html
index f225218..4e9c4ed 100644 (file)
@@ -2,7 +2,6 @@
   <header>
     <h1 i18n-content="settingsTitle"></h1>
   </header>
-  <include src="reset_profile_settings_banner.html">
   <include src="automatic_settings_reset_banner.html">
 <if expr="chromeos">
   <include src="secondary_user_banner.html">
   <include src="sync_section.html">
   <include src="startup_section.html">
 </if>
-  <section>
+  <section id="proxy-section" hidden>
+    <h3 i18n-content="sectionTitleProxy"></h3>
+    <div id="proxy-section-content"></div>
+  </section>
+
+  <section id="appearance-section">
     <h3 i18n-content="sectionTitleAppearance"></h3>
     <div class="settings-row">
 <if expr="chromeos">
       <span i18n-content="deviceGroupDescription"></span>
       <div id="touchpad-settings" class="settings-row" hidden>
         <span class="option-name" i18n-content="touchpadSpeed"></span>
-        <input id="sensitivity-range" type="range" min="1" max="5"
+        <input id="touchpad-sensitivity-range" type="range" min="1" max="5"
             pref="settings.touchpad.sensitivity2" class="touch-slider">
       </div>
       <div id="mouse-settings" class="settings-row" hidden>
         <span class="option-name" i18n-content="mouseSpeed"></span>
-        <input id="sensitivity-range" type="range" min="1" max="5"
+        <input id="mouse-sensitivity-range" type="range" min="1" max="5"
             pref="settings.mouse.sensitivity2" class="touch-slider">
       </div>
       <div id="no-pointing-devices" i18n-content="noPointingDevices"
         </div>
       </div>
   </section>
+  <section>
+    <h3 id="voice-section-title" i18n-content="sectionTitleVoice" hidden></h3>
+    <div id="voice-section-content">
+      <div id="hotword-always-on-search" hidden>
+        <div class="checkbox">
+          <span class="controlled-setting-with-label">
+            <input id="hotword-always-on-search-enable"
+                pref="hotword.always_on_search_enabled" type="checkbox">
+            <span>
+              <label for="hotword-always-on-search-enable"
+                  i18n-content="hotwordAlwaysOnSearchEnable">
+              </label>
+            </span>
+          </span>
+        </div>
+      </div>
+      <div id="audio-logging" hidden>
+        <div class="checkbox">
+          <span class="controlled-setting-with-label">
+            <input id="audio-logging-enable"
+                pref="hotword.audio_logging_enabled" type="checkbox">
+            <span>
+              <label for="audio-logging-enable"
+                  i18n-content="hotwordAudioHistoryEnable">
+              </label>
+            </span>
+          </span>
+        </div>
+      </div>
+    </div>
+  </section>
   <section id="sync-users-section" guest-visibility="hidden">
     <h3 i18n-content="sectionTitleUsers"></h3>
 <if expr="chromeos">
     </div>
   </section>
 
-  <section id="security-section" hidden>
-    <h3 i18n-content="securityTitle"></h3>
-    <div class="settings-row">
-      <span i18n-content="consumerManagementEnrollDescription"></span>
-    </div>
-    <div class="settings-row">
-      <button id="consumer-management-enroll-button"
-          i18n-content="consumerManagementEnrollButton"></button>
+  <section id="device-control-section" hidden>
+    <h3 i18n-content="deviceControlTitle"></h3>
+    <div id="consumer-management-section">
+      <div class="settings-row">
+        <span i18n-content="consumerManagementDescription"></span>
+      </div>
+      <div id="consumer-management-enroll" class="settings-row">
+        <button i18n-content="consumerManagementEnrollButton"></button>
+      </div>
+      <div id="consumer-management-unenroll" class="settings-row" hidden>
+        <button i18n-content="consumerManagementUnenrollButton"></button>
+      </div>
     </div>
   </section>
 </if>
       </div>
       <div class="checkbox" guest-visibility="disabled">
         <span class="controlled-setting-with-label">
-          <input id="dnsPrefetchingEnabled" pref="dns_prefetching.enabled"
+          <input id="networkPredictionOptions"
               metric="Options_DnsPrefetchCheckbox" type="checkbox">
           <span>
-            <label for="dnsPrefetchingEnabled"
+            <label for="networkPredictionOptions"
                 i18n-content="networkPredictionEnabledDescription">
             </label>
             <span class="controlled-setting-indicator"
-                pref="dns_prefetching.enabled">
+                pref="net.network_prediction_options">
             </span>
           </span>
         </span>
       </div>
       <div class="checkbox">
         <span class="controlled-setting-with-label">
-          <input id="safe-browsing-download-feedback-enabled"
-              metric="Options_SafeBrowsingDownloadFeedbackCheckbox"
-              pref="safebrowsing.download_feedback_enabled"
+          <input id="safe-browsing-extended-reporting-enabled"
+              metric="Options_SafeBrowsingExtendedReportingCheckbox"
+              pref="safebrowsing.extended_reporting_enabled"
               type="checkbox">
           <span>
-            <label for="safe-browsing-download-feedback-enabled"
-                i18n-content="safeBrowsingEnableDownloadFeedback">
+            <label for="safe-browsing-extended-reporting-enabled"
+                i18n-content="safeBrowsingEnableExtendedReporting">
             </label>
             <span class="controlled-setting-indicator"
-                pref="safebrowsing.download_feedback_enabled">
+                pref="safebrowsing.extended_reporting_enabled">
             </span>
           </span>
         </span>
             <span class="controlled-setting-indicator"
                 pref="user_experience_metrics.reporting_enabled">
             </span>
+            <span id="metrics-reporting-reset-restart">
+              <!-- Text filled by JavaScript -->
+              <span></span><button class=
+                  "link-button standalone-link-button"></button><span></span>
+            </span>
           </span>
 </if>
         </span>
               <label for="hotword-search-enable"
                   i18n-values=".innerHTML:hotwordSearchEnable">
               </label>
-              <span id="controlled-setting-indicator"
+              <span id="hotword-search-setting-indicator"
                   pref="hotword.search_enabled_2" dialog-pref>
               </span>
             </span>
     <h3 i18n-content="easyUnlockSectionTitle"></h3>
     <!-- Options shown when the user has not set up Easy Unlock -->
     <div id='easy-unlock-setup' hidden>
-      <button id="easy-unlock-setup-button"
-          i18n-content="easyUnlockSetupButton"></button>
-      <div>
+      <div class="controlled-setting-with-label">
+        <span i18n-content="easyUnlockSetupIntro"></span>
         <a target="_blank" i18n-content="learnMore"
             i18n-values="href:easyUnlockLearnMoreURL"></a>
       </div>
+      <button id="easy-unlock-setup-button"
+          i18n-content="easyUnlockSetupButton"></button>
     </div>
     <!-- Options shown when the user has set up Easy Unlock -->
     <div id='easy-unlock-enable' hidden>
-      <div class="checkbox">
-        <span class="controlled-setting-with-label">
-          <input id="easy-unlock-check" type="checkbox"
-              pref="easy_unlock.enabled"
-              metric="EasyUnlock_Enabled">
-          <span>
-            <label for="easy-unlock-checkbox">
-              <span i18n-content="easyUnlockCheckboxLabel"></span>
-              <a target="_blank" i18n-content="learnMore"
-                  i18n-values="href:easyUnlockLearnMoreURL"></a>
-            </label>
-            <span class="controlled-setting-indicator"
-                pref="easy_unlock.enabled">
-            </span>
-          </span>
-        </span>
-      </div>
-      <div>
-        <a target="_blank" i18n-content="easyUnlockManagement"
-            i18n-values="href:easyUnlockManagementURL"></a>
+      <div class="controlled-setting-with-label">
+        <span i18n-content="easyUnlockDescription"></span>
+        <a target="_blank" i18n-content="learnMore"
+            i18n-values="href:easyUnlockLearnMoreURL"></a>
       </div>
+      <button id="easy-unlock-turn-off-button"
+          i18n-content="easyUnlockTurnOffButton"></button>
     </div>
   </section>
   <section id="web-content-section">
     <h3 i18n-content="advancedSectionTitleContent"></h3>
     <div>
+      <div id="website-settings-section" class="settings-row" hidden>
+        <button id="website-management-button"
+            i18n-content="websitesManage"></button>
+      </div>
       <div class="settings-row">
         <label class="web-content-select-label">
           <span i18n-content="defaultFontSizeLabel"></span>
   <section id="network-section">
     <h3 i18n-content="advancedSectionTitleNetwork"></h3>
     <div>
-      <span id="proxiesLabel" class="settings-row"></span>
+      <span id="proxiesLabel"
+            class="settings-row"
+            i18n-content="proxiesLabelSystem"></span>
       <div class="settings-row">
         <button id="proxiesConfigureButton"
             i18n-content="proxiesConfigureButton"></button>
           <input id="local-discovery-notifications-enabled"
                  pref="local_discovery.notifications_enabled"
                  type="checkbox"
-                 metric="LocalDiscoveryNotificationsDisabled_Settings" />
+                 metric="LocalDiscoveryNotificationsDisabled_Settings">
           <span>
             <label for="local-discovery-notifications-enabled"
                    i18n-content="cloudPrintEnableNotificationsLabel">
     <div class="option-control-table">
       <p id="accessibility-explanation" class="settings-row">
         <span i18n-content="accessibilityExplanation"></span>
-        <a target="_blank" i18n-content="learnMore"
-            i18n-values="href:accessibilityLearnMoreURL"></a>
+        <a id="accessibility-learn-more" target="_blank"
+           i18n-content="learnMore"></a>
       </p>
       <div class="option-name">
         <div class="checkbox">
           <span class="controlled-setting-with-label">
             <input id="accessibility-should-always-show-menu"
-                pref="settings.a11y.enable_menu" type="checkbox">
+                   pref="settings.a11y.enable_menu" type="checkbox"
+                   metric="Options_AccessibilitySystemMenu">
             <span>
               <label for="accessibility-should-always-show-menu"
                   i18n-content="accessibilityAlwaysShowMenu">
         <div class="checkbox">
           <span class="controlled-setting-with-label">
             <input id="accessibility-large-cursor-check"
-                pref="settings.a11y.large_cursor_enabled" type="checkbox">
+                   pref="settings.a11y.large_cursor_enabled" type="checkbox"
+                   metric="Options_AccessibilityLargeMouseCursor">
             <span>
               <label for="accessibility-large-cursor-check"
                   i18n-content="accessibilityLargeCursor">
         <div class="checkbox">
           <span class="controlled-setting-with-label">
             <input id="accessibility-high-contrast-check"
-                pref="settings.a11y.high_contrast_enabled" type="checkbox">
+                   pref="settings.a11y.high_contrast_enabled" type="checkbox"
+                   metric="Options_AccessibilityHighContrastMode">
             <span>
               <label for="accessibility-high-contrast-check"
                   i18n-content="accessibilityHighContrast">
         <div class="checkbox">
           <span class="controlled-setting-with-label">
             <input id="accessibility-sticky-keys-check"
-                pref="settings.a11y.sticky_keys_enabled" type="checkbox">
+                   pref="settings.a11y.sticky_keys_enabled" type="checkbox"
+                   metric="Options_AccessibilityStickyKeys">
             <span>
               <label for="accessibility-sticky-keys-check"
                   i18n-content="accessibilityStickyKeys">
         <div class="checkbox">
           <span class="controlled-setting-with-label">
             <input id="accessibility-spoken-feedback-check"
-                pref="settings.accessibility" type="checkbox">
+                   pref="settings.accessibility" type="checkbox"
+                   metric="Options_AccessibilitySpokenFeedback">
             <span>
               <label for="accessibility-spoken-feedback-check"
                   i18n-content="accessibilitySpokenFeedback">
         <div class="checkbox">
           <span class="controlled-setting-with-label">
             <input id="accessibility-screen-magnifier-check"
-                pref="settings.a11y.screen_magnifier" type="checkbox">
+                   pref="settings.a11y.screen_magnifier" type="checkbox"
+                   metric="Options_AccessibilityScreenMagnifier">
             <span>
               <label for="accessibility-screen-magnifier-check"
                   i18n-content="accessibilityScreenMagnifier">
         <div class="checkbox">
           <label>
             <input id="accessibility-tap-dragging-check"
-                pref="settings.touchpad.enable_tap_dragging" type="checkbox">
+                   pref="settings.touchpad.enable_tap_dragging" type="checkbox"
+                   metric="Options_AccessibilityTapDragging">
             <span i18n-content="accessibilityTapDragging"></span>
           </label>
         </div>
         <div class="checkbox">
           <span class="controlled-setting-with-label">
             <input id="accessibility-virtual-keyboard-check"
-                pref="settings.a11y.virtual_keyboard" type="checkbox">
+                   pref="settings.a11y.virtual_keyboard" type="checkbox"
+                   metric="Options_AccessibilityOnScreenKeyboard">
             <span>
               <label for="accessibility-virtual-keyboard-check"
                   i18n-content="accessibilityVirtualKeyboard">
     </div>
   </section>
 </if>
-  <section id="reset-profile-settings-section" hidden>
+  <section id="reset-profile-settings-section">
     <h3 i18n-content="resetProfileSettingsSectionTitle"></h3>
     <div>
       <span class="settings-row" i18n-content="resetProfileSettingsDescription">
     <button id="advanced-settings-expander" class="link-button"
         i18n-content="showAdvancedSettings">
     </button>
+<if expr="chromeos">
+    <button id="version-button" class="link-button" hidden
+        i18n-content="browserVersion">
+    </button>
+</if>
   </footer>
-  </div>
+</div>