diff options
Diffstat (limited to 'content/browser/webui/web_ui.h')
-rw-r--r-- | content/browser/webui/web_ui.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/content/browser/webui/web_ui.h b/content/browser/webui/web_ui.h index e44f1bd..910fc5c 100644 --- a/content/browser/webui/web_ui.h +++ b/content/browser/webui/web_ui.h @@ -157,6 +157,11 @@ class WebUI : public IPC::Channel::Listener { // Web UI system. static const TypeID kNoWebUI; + // Returns JavaScript code that, when executed, calls the function specified + // by |function_name| with the arguments specified in |arg_list|. + static string16 GetJavascriptCall(const std::string& function_name, + const std::vector<const Value*>& arg_list); + protected: void AddMessageHandler(WebUIMessageHandler* handler); |