Chromium Code Reviews| Index: components/dom_distiller/core/distiller_page.h |
| diff --git a/components/dom_distiller/core/distiller_page.h b/components/dom_distiller/core/distiller_page.h |
| index 74cf277935b81809bb979aae01e37bac2aa2a2d0..b78a68e341c2f2d388598c74828beb696089ba7d 100644 |
| --- a/components/dom_distiller/core/distiller_page.h |
| +++ b/components/dom_distiller/core/distiller_page.h |
| @@ -55,6 +55,14 @@ class DistillerPage { |
| // should be the same regardless of the DistillerPage implementation. |
| virtual void DistillPageImpl(const GURL& url, const std::string& script) = 0; |
| + // The value returned between the javascript and the DistillerPage can be |
|
nyquist
2015/03/16 20:39:03
Nit: JavaScript here and below.
noyau (Ping after 24h)
2015/03/17 10:35:39
Done.
|
| + // either a dictionary with all the content, or a stringified version. |
| + virtual bool StringifyOutput() = 0; |
| + |
| + // If true, forces the creation of a new window context to evaluate the |
| + // javascript. |
| + virtual bool CreateNewContext() = 0; |
| + |
| private: |
| bool ready_; |
| DistillerPageCallback distiller_page_callback_; |