Index: components/html_viewer/public/interfaces/test_html_viewer.mojom |
diff --git a/components/html_viewer/public/interfaces/test_html_viewer.mojom b/components/html_viewer/public/interfaces/test_html_viewer.mojom |
index f2a6b8d9c87acf71436943c1e1012f8b00e3970f..899a6be13b28c75c73feff21cf8f0c700ac4b3b5 100644 |
--- a/components/html_viewer/public/interfaces/test_html_viewer.mojom |
+++ b/components/html_viewer/public/interfaces/test_html_viewer.mojom |
@@ -6,4 +6,7 @@ module html_viewer; |
interface TestHTMLViewer { |
GetContentAsText() => (string contents); |
+ |
+ // Executes the specified script. The results is a JSON encoded string. |
+ ExecuteScript(string script) => (string? result); |
}; |