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

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: cl format Created 5 years, 5 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/gaia_header.js b/components/dom_distiller/content/common/distiller_page_notifier_service.mojom
similarity index 68%
copy from chrome/browser/resources/chromeos/login/gaia_header.js
copy to components/dom_distiller/content/common/distiller_page_notifier_service.mojom
index 69898a4e223333b0e8ab849df9582b0c38530546..c62a6ca1b947dea62050d0e8fd9e585ad2dfb6f0 100644
--- a/chrome/browser/resources/chromeos/login/gaia_header.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: 'gaia-header',
+module dom_distiller;
- properties: {
- email: String
- }
-});
+interface DistillerPageNotifierService {
+ Notify();
+};

Powered by Google App Engine
This is Rietveld 408576698