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 e80bc59535a5ed2b950a322b69709aea6f503010..0aac93044af279e9d184262897c6a28a95056da2 100644 |
| --- a/components/dom_distiller/core/distiller_page.h |
| +++ b/components/dom_distiller/core/distiller_page.h |
| @@ -11,6 +11,7 @@ |
| #include "base/memory/scoped_ptr.h" |
| #include "base/memory/weak_ptr.h" |
| #include "base/values.h" |
| +#include "content/public/browser/web_contents.h" |
|
nyquist
2015/05/13 07:56:38
//components/dom_distiller/core can not and should
arjunpatel
2015/05/27 00:16:45
I believe this will be removed after the rebase.
|
| #include "third_party/dom_distiller_js/dom_distiller.pb.h" |
| #include "ui/gfx/geometry/size.h" |
| #include "url/gurl.h" |
| @@ -20,6 +21,7 @@ namespace dom_distiller { |
| class SourcePageHandle { |
| public: |
| virtual ~SourcePageHandle() {} |
| + virtual content::WebContents* GetWebContents() const = 0; |
|
nyquist
2015/05/13 07:56:39
This can't be part of the SourcePageHandle. That's
arjunpatel
2015/05/27 00:16:45
Acknowledged.
|
| }; |
| // Injects JavaScript into a page, and uses it to extract and return long-form |