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

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

Issue 11421055: Add power-user keyboard mode for ChromeOS with Search key acting as a typical Fn key. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: SkyNits Created 8 years, 1 month 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.js
diff --git a/chrome/browser/resources/options/chromeos/keyboard_overlay.js b/chrome/browser/resources/options/chromeos/keyboard_overlay.js
index f6df30d84985125f66dc54268b3efbdaf193cc3f..98fa0997ec7d03b4f4528422bbe32c76c5481f99 100644
--- a/chrome/browser/resources/options/chromeos/keyboard_overlay.js
+++ b/chrome/browser/resources/options/chromeos/keyboard_overlay.js
@@ -27,11 +27,20 @@ cr.define('options', function() {
showCapsLockOptions_: function(show) {
$('caps-lock-remapping-section').hidden = !show;
},
+
+ /**
+ * Show/hide the function key remapping section.
+ * @private
+ */
+ showFunctionKeyOptions_: function(show) {
+ $('function-key-remapping-section').hidden = !show;
+ },
};
// Forward public APIs to private implementations.
[
'showCapsLockOptions',
+ 'showFunctionKeyOptions',
].forEach(function(name) {
KeyboardOverlay[name] = function() {
var instance = KeyboardOverlay.getInstance();
« no previous file with comments | « chrome/browser/resources/options/chromeos/keyboard_overlay.html ('k') | chrome/browser/ui/ash/chrome_shell_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698