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

Unified Diff: chrome/browser/ui/webui/settings/chromeos/device_pointer_handler.cc

Issue 2664753002: Remove base::StringValue (Closed)
Patch Set: Rebase Created 3 years, 9 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/ui/webui/settings/chromeos/device_pointer_handler.cc
diff --git a/chrome/browser/ui/webui/settings/chromeos/device_pointer_handler.cc b/chrome/browser/ui/webui/settings/chromeos/device_pointer_handler.cc
index a82f5794e473c3147dafdf34bdb2601513137fe0..7b36f47cd03c40019b23158a59ee4f147d780c1e 100644
--- a/chrome/browser/ui/webui/settings/chromeos/device_pointer_handler.cc
+++ b/chrome/browser/ui/webui/settings/chromeos/device_pointer_handler.cc
@@ -37,14 +37,13 @@ void PointerHandler::OnJavascriptDisallowed() {
void PointerHandler::TouchpadExists(bool exists) {
CallJavascriptFunction("cr.webUIListenerCallback",
- base::StringValue("has-touchpad-changed"),
+ base::Value("has-touchpad-changed"),
base::Value(exists));
}
void PointerHandler::MouseExists(bool exists) {
CallJavascriptFunction("cr.webUIListenerCallback",
- base::StringValue("has-mouse-changed"),
- base::Value(exists));
+ base::Value("has-mouse-changed"), base::Value(exists));
}
void PointerHandler::HandleInitialize(const base::ListValue* args) {

Powered by Google App Engine
This is Rietveld 408576698