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

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

Issue 2644713002: cros: Use runtime stylus detection for ash palette. (Closed)
Patch Set: Add listeners to options and settings Created 3 years, 11 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 0f7ed4dbc8dfc6cc859e6ada503cfb3b4c3047db..7c76063086e94c957931a0bb9e0cad832c0e11f4 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
@@ -41,6 +41,9 @@ cr.define('settings', function() {
/** Initializes the mouse and touchpad handler. */
initializePointers: function() {},
+ /** Initializes the stylus handler. */
+ initializeStylus: function() {},
+
/**
* Override to interact with the on-tap/on-keydown event on the Learn More
* link.
@@ -78,6 +81,11 @@ cr.define('settings', function() {
chrome.send('initializePointerSettings');
},
+ /** @override */
+ initializeStylus: function() {
+ chrome.send('initializeStylusSettings');
+ },
+
/** override */
handleLinkEvent: function(e) {
// Prevent the link from activating its parent element when tapped or

Powered by Google App Engine
This is Rietveld 408576698