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

Unified Diff: content/public/test/test_web_ui.h

Issue 1896463003: WebUI: Add JavaScript lifecycle-control to WebUIMessageHandler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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: content/public/test/test_web_ui.h
diff --git a/content/public/test/test_web_ui.h b/content/public/test/test_web_ui.h
index 9490d70418a9a3de779b98561f7067e03ab08ce0..eedd787821e4ea332bc0395cce8b27090e2bbbf8 100644
--- a/content/public/test/test_web_ui.h
+++ b/content/public/test/test_web_ui.h
@@ -44,6 +44,7 @@ class TestWebUI : public WebUI {
void ProcessWebUIMessage(const GURL& source_url,
const std::string& message,
const base::ListValue& args) override {}
+ bool CanCallJavascript() override;
void CallJavascriptFunction(const std::string& function_name) override;
void CallJavascriptFunction(const std::string& function_name,
const base::Value& arg1) override;

Powered by Google App Engine
This is Rietveld 408576698