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

Side by Side Diff: components/dom_distiller/content/renderer/distiller_page_notifier_service_impl.h

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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef COMPONENTS_DOM_DISTILLER_CONTENT_RENDERER_DISTILLER_PAGE_NOTIFIER_SERVIC E_IMPL_H_
6 #define COMPONENTS_DOM_DISTILLER_CONTENT_RENDERER_DISTILLER_PAGE_NOTIFIER_SERVIC E_IMPL_H_
7
8 #include "components/dom_distiller/content/common/distiller_page_notifier_servic e.mojom.h"
9 #include "components/dom_distiller/content/renderer/distiller_js_render_frame_ob server.h"
10 #include "components/dom_distiller/content/renderer/distiller_native_javascript. h"
11
12 namespace dom_distiller {
13
14 class DistillerJsRenderFrameObserver;
15
16 class DistillerPageNotifierServiceImpl
nyquist 2015/07/27 21:44:33 i can haz comment? What does this do? What is its
mdjones 2015/07/28 20:53:42 The service is removed when the page is done loadi
17 : public mojo::InterfaceImpl<DistillerPageNotifierService> {
18 public:
19 DistillerPageNotifierServiceImpl(DistillerJsRenderFrameObserver* observer);
20 void Notify() override;
21 ~DistillerPageNotifierServiceImpl() override;
22
23 private:
24 DistillerJsRenderFrameObserver* distiller_js_observer_;
25 };
26
27 } // namespace dom_distiller
28
29 #endif // COMPONENTS_DOM_DISTILLER_CONTENT_RENDERER_DISTILLER_PAGE_NOTIFIER_SER VICE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698