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

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

Issue 2666093002: Remove base::FundamentalValue (Closed)
Patch Set: Rebase 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/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 60ccced9108b21a614e2fad40cc9b3e2ad67e1b3..1f752da11fea9b8a87b8434a37c2d1b46f2d03b4 100644
--- a/chrome/browser/ui/webui/settings/chromeos/device_stylus_handler.cc
+++ b/chrome/browser/ui/webui/settings/chromeos/device_stylus_handler.cc
@@ -84,9 +84,9 @@ void StylusHandler::UpdateNoteTakingApps() {
}
AllowJavascript();
- CallJavascriptFunction(
- "cr.webUIListenerCallback", base::StringValue("onNoteTakingAppsUpdated"),
- apps_list, base::FundamentalValue(waiting_for_android));
+ CallJavascriptFunction("cr.webUIListenerCallback",
+ base::StringValue("onNoteTakingAppsUpdated"),
+ apps_list, base::Value(waiting_for_android));
}
void StylusHandler::RequestApps(const base::ListValue* unused_args) {
@@ -116,9 +116,9 @@ void StylusHandler::HandleInitialize(const base::ListValue* args) {
void StylusHandler::SendHasStylus() {
DCHECK(ui::InputDeviceManager::GetInstance()->AreDeviceListsComplete());
AllowJavascript();
- CallJavascriptFunction(
- "cr.webUIListenerCallback", base::StringValue("has-stylus-changed"),
- base::FundamentalValue(ash::palette_utils::HasStylusInput()));
+ CallJavascriptFunction("cr.webUIListenerCallback",
+ base::StringValue("has-stylus-changed"),
+ base::Value(ash::palette_utils::HasStylusInput()));
}
void StylusHandler::ShowPlayStoreApps(const base::ListValue* args) {

Powered by Google App Engine
This is Rietveld 408576698