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

Unified Diff: chrome/browser/ui/webui/chromeos/login/base_screen_handler.cc

Issue 14063018: Implemented argument wrapping for CallJS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix. Created 7 years, 8 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/chromeos/login/base_screen_handler.cc
diff --git a/chrome/browser/ui/webui/chromeos/login/base_screen_handler.cc b/chrome/browser/ui/webui/chromeos/login/base_screen_handler.cc
index fadfb0b551e3a12528ff67b9372e3e1281b770cf..a391d44ced7964ecfd7299d17ca0a4838dfb5286 100644
--- a/chrome/browser/ui/webui/chromeos/login/base_screen_handler.cc
+++ b/chrome/browser/ui/webui/chromeos/login/base_screen_handler.cc
@@ -74,32 +74,6 @@ void BaseScreenHandler::CallJS(const std::string& method) {
web_ui()->CallJavascriptFunction(method);
}
-void BaseScreenHandler::CallJS(const std::string& method,
- const base::Value& arg1) {
- web_ui()->CallJavascriptFunction(method, arg1);
-}
-
-void BaseScreenHandler::CallJS(const std::string& method,
- const base::Value& arg1,
- const base::Value& arg2) {
- web_ui()->CallJavascriptFunction(method, arg1, arg2);
-}
-
-void BaseScreenHandler::CallJS(const std::string& method,
- const base::Value& arg1,
- const base::Value& arg2,
- const base::Value& arg3) {
- web_ui()->CallJavascriptFunction(method, arg1, arg2, arg3);
-}
-
-void BaseScreenHandler::CallJS(const std::string& method,
- const base::Value& arg1,
- const base::Value& arg2,
- const base::Value& arg3,
- const base::Value& arg4) {
- web_ui()->CallJavascriptFunction(method, arg1, arg2, arg3, arg4);
-}
-
void BaseScreenHandler::ShowScreen(const char* screen_name,
const base::DictionaryValue* data) {
if (!web_ui())

Powered by Google App Engine
This is Rietveld 408576698