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

Unified Diff: chrome/browser/resources/settings/device_page/device_page_browser_proxy.js

Issue 1961133004: MD Settings: Add remaining buttons to keyboard subpage (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: closure Created 4 years, 7 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/settings/device_page/device_page_browser_proxy.js
diff --git a/chrome/browser/resources/settings/device_page/device_page_browser_proxy.js b/chrome/browser/resources/settings/device_page/device_page_browser_proxy.js
index 058bf19b141c5f2c41bb3012348669510ff14b56..ad9077dd51feeb1ffdf82743bf413acdac350f90 100644
--- a/chrome/browser/resources/settings/device_page/device_page_browser_proxy.js
+++ b/chrome/browser/resources/settings/device_page/device_page_browser_proxy.js
@@ -14,6 +14,12 @@ cr.define('settings', function() {
* @param {!Event} e
*/
handleLinkEvent: function(e) {},
+
+ /** Initializes the keyboard WebUI handler. */
+ initializeKeyboard: function() {},
+
+ /** Shows the Ash keyboard shortcuts overlay. */
+ showKeyboardShortcutsOverlay: function() {},
};
/**
@@ -31,6 +37,16 @@ cr.define('settings', function() {
if (e.type != 'keydown' || e.keyCode == 13)
e.stopPropagation();
},
+
+ /** @override */
+ initializeKeyboard: function() {
+ chrome.send('initializeKeyboardSettings');
+ },
+
+ /** @override */
+ showKeyboardShortcutsOverlay: function() {
+ chrome.send('showKeyboardShortcutsOverlay');
+ },
};
return {

Powered by Google App Engine
This is Rietveld 408576698