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

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: Fix test Created 3 years, 10 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 cd7cf7ddeff85ae850341975e1f07b4f3e3a3554..e9d2737690b73fb7703a72bf947e364696fa35d4 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
@@ -46,6 +46,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.
@@ -103,6 +106,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
« no previous file with comments | « chrome/browser/resources/settings/device_page/device_page.js ('k') | chrome/browser/ui/ash/chrome_shell_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698