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

Unified Diff: chrome/browser/resources/options/chromeos/keyboard_overlay.html

Issue 393023006: Add settings for keyboard auto-repeat to options page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 5 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/chromeos/keyboard_overlay.html
diff --git a/chrome/browser/resources/options/chromeos/keyboard_overlay.html b/chrome/browser/resources/options/chromeos/keyboard_overlay.html
index f0c7945c43f5dc7f2d32b283507b2b8480e81bd2..00449ab34b3a7fd4ea8b2aae60a2f832380fced0 100644
--- a/chrome/browser/resources/options/chromeos/keyboard_overlay.html
+++ b/chrome/browser/resources/options/chromeos/keyboard_overlay.html
@@ -94,6 +94,33 @@
i18n-content="sendFunctionKeysDescription">
</label>
</div>
+ <div class="settings-row">
+ <div class="checkbox">
+ <input id="enable-auto-repeat" type="checkbox"
+ pref="settings.language.xkb_auto_repeat_enabled_r2"
+ metric="Options_KeyboardAutoRepeat" dialog-pref>
+ <label for="enable-auto-repeat" i18n-content="enableAutoRepeat"></label>
+ </div>
+ <div id="auto-repeat-settings-section">
+ <div class="row">
+ <span class="option-name" i18n-content="autoRepeatDelay"></span>
+ <span i18n-content="autoRepeatDelayLong"></span>
+ <input id="auto-repeat-delay-range" type="range"
+ class="touch-slider"
+ pref="settings.language.xkb_auto_repeat_delay_r2" dialog-pref>
+ <span i18n-content="autoRepeatDelayShort"></span>
+ </div>
+ <div class="row">
+ <span class="option-name" i18n-content="autoRepeatRate"></span>
+ <span i18n-content="autoRepeatRateSlow"></span>
+ <input id="auto-repeat-interval-range" type="range"
+ class="touch-slider"
+ pref="settings.language.xkb_auto_repeat_interval_r2"
+ dialog-pref>
+ <span i18n-content="autoRepeatRateFast"></span>
+ </div>
+ </div>
+ </div>
<button id="keyboard-shortcuts" class="settings-row link-button"
i18n-content="showKeyboardShortcuts"></button>
<button id="languages-and-input-settings" class="settings-row link-button"

Powered by Google App Engine
This is Rietveld 408576698