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

Unified Diff: chrome/browser/ui/webui/settings/chromeos/device_stylus_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_stylus_handler.cc
diff --git a/chrome/browser/ui/webui/settings/chromeos/device_stylus_handler.cc b/chrome/browser/ui/webui/settings/chromeos/device_stylus_handler.cc
index 1f752da11fea9b8a87b8434a37c2d1b46f2d03b4..34546b2763cb9d2803e61927e3d9bed10dd00f03 100644
--- a/chrome/browser/ui/webui/settings/chromeos/device_stylus_handler.cc
+++ b/chrome/browser/ui/webui/settings/chromeos/device_stylus_handler.cc
@@ -85,8 +85,8 @@ void StylusHandler::UpdateNoteTakingApps() {
AllowJavascript();
CallJavascriptFunction("cr.webUIListenerCallback",
- base::StringValue("onNoteTakingAppsUpdated"),
- apps_list, base::Value(waiting_for_android));
+ base::Value("onNoteTakingAppsUpdated"), apps_list,
+ base::Value(waiting_for_android));
}
void StylusHandler::RequestApps(const base::ListValue* unused_args) {
@@ -117,7 +117,7 @@ void StylusHandler::SendHasStylus() {
DCHECK(ui::InputDeviceManager::GetInstance()->AreDeviceListsComplete());
AllowJavascript();
CallJavascriptFunction("cr.webUIListenerCallback",
- base::StringValue("has-stylus-changed"),
+ base::Value("has-stylus-changed"),
base::Value(ash::palette_utils::HasStylusInput()));
}

Powered by Google App Engine
This is Rietveld 408576698