| 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..e80bc59535a5ed2b950a322b69709aea6f503010 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
|
| + // 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_;
|
|
|