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

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

Issue 1231083007: Expose distiller functions to JavaScript (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@refactor-content
Patch Set: Address comments Created 5 years, 4 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_page_notifier_service.mojom
diff --git a/chrome/browser/resources/chromeos/login/throbber_notice.js b/components/dom_distiller/content/common/distiller_page_notifier_service.mojom
similarity index 64%
copy from chrome/browser/resources/chromeos/login/throbber_notice.js
copy to components/dom_distiller/content/common/distiller_page_notifier_service.mojom
index 2b56e0bf0242240b2fe399d68f31d2641a75c9b9..cfdefa1534939138bc73721d4ba58ad4bf801c86 100644
--- a/chrome/browser/resources/chromeos/login/throbber_notice.js
+++ b/components/dom_distiller/content/common/distiller_page_notifier_service.mojom
@@ -2,10 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-Polymer({
- is: 'throbber-notice',
+module dom_distiller;
- properties: {
- text: String
- }
-});
+interface DistillerPageNotifierService {
+ NotifyIsDistillerPage();
+};

Powered by Google App Engine
This is Rietveld 408576698