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

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

Issue 1891643002: Reader Mode distillability uses Mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add web contents check 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: components/dom_distiller/content/common/distillability_service.mojom
diff --git a/components/dom_distiller/content/common/distillability_service.mojom b/components/dom_distiller/content/common/distillability_service.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..3b60172d2a909dd9dae75841432dceea459ba6c3
--- /dev/null
+++ b/components/dom_distiller/content/common/distillability_service.mojom
@@ -0,0 +1,11 @@
+// Copyright 2016 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 in the browser process and is used by the
+// renderer to notify the Reader Mode UI if a page is distillable.
+interface DistillabilityService {
+ NotifyIsDistillable(bool page_is_distillable, bool is_last_update);
+};
« no previous file with comments | « components/dom_distiller/content/common/BUILD.gn ('k') | components/dom_distiller/content/common/distiller_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698