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

Unified Diff: components/dom_distiller/content/common/distiller_javascript_service.mojom

Issue 1265843005: Refactor feedback to use native JS object (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@js-mojo-combine
Patch Set: impl comments Created 5 years, 3 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: components/dom_distiller/content/common/distiller_javascript_service.mojom
diff --git a/components/dom_distiller/content/common/distiller_javascript_service.mojom b/components/dom_distiller/content/common/distiller_javascript_service.mojom
index cf7b7a04b9476dca9a40e5054bef086b535b426f..5316744993170f2154c23fd4c2076303c5321fb1 100644
--- a/components/dom_distiller/content/common/distiller_javascript_service.mojom
+++ b/components/dom_distiller/content/common/distiller_javascript_service.mojom
@@ -7,5 +7,10 @@ module dom_distiller;
// This service is implemented by the browser process and is used by the
// renderer when a distiller JavaScript function is called.
interface DistillerJavaScriptService {
+
+ // Handle the "distiller.echo" function.
HandleDistillerEchoCall(string message);
+
+ // Handle the "distiller.sendFeedback" function.
+ HandleDistillerFeedbackCall(bool good);
};

Powered by Google App Engine
This is Rietveld 408576698