OLD | NEW |
---|---|
(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_ | |
OLD | NEW |