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

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

Issue 1231083007: Expose distiller functions to JavaScript (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@refactor-content
Patch Set: Move dependencies to correct files 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
new file mode 100644
index 0000000000000000000000000000000000000000..cf7b7a04b9476dca9a40e5054bef086b535b426f
--- /dev/null
+++ b/components/dom_distiller/content/common/distiller_javascript_service.mojom
@@ -0,0 +1,11 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+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 {
+ HandleDistillerEchoCall(string message);
+};

Powered by Google App Engine
This is Rietveld 408576698