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

Unified Diff: chrome/test/data/webui/settings/device_page_tests.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
« no previous file with comments | « chrome/browser/ui/webui/settings/md_settings_ui.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/webui/settings/device_page_tests.js
diff --git a/chrome/test/data/webui/settings/device_page_tests.js b/chrome/test/data/webui/settings/device_page_tests.js
index b5619b792445798e1845edc3d67890c63bf5e6ee..c953240b05a07849a71cddb9c844d9b18353fbfe 100644
--- a/chrome/test/data/webui/settings/device_page_tests.js
+++ b/chrome/test/data/webui/settings/device_page_tests.js
@@ -33,6 +33,12 @@ cr.define('device_page_tests', function() {
cr.webUIListenerCallback('has-touchpad-changed', true);
},
+ /** override */
+ initializeStylus: function() {
+ // Enable stylus.
+ cr.webUIListenerCallback('has-stylus-changed', true);
+ },
+
/** @override */
handleLinkEvent: function(e) {
settings.DevicePageBrowserProxyImpl.prototype.handleLinkEvent.call(
« no previous file with comments | « chrome/browser/ui/webui/settings/md_settings_ui.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698