| 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 b950df7f1bafed424dc57961cfb355003adb0998..4fd15b247f7db426f71cd84b2a53bc643e269a9c 100644
|
| --- a/components/dom_distiller/core/distiller_page.h
|
| +++ b/components/dom_distiller/core/distiller_page.h
|
| @@ -12,6 +12,7 @@
|
| #include "base/memory/weak_ptr.h"
|
| #include "base/values.h"
|
| #include "third_party/dom_distiller_js/dom_distiller.pb.h"
|
| +#include "ui/gfx/size.h"
|
| #include "url/gurl.h"
|
|
|
| namespace dom_distiller {
|
| @@ -81,7 +82,8 @@ class DistillerPageFactory {
|
| // Constructs and returns a new DistillerPage. The implementation of this
|
| // should be very cheap, since the pages can be thrown away without being
|
| // used.
|
| - virtual scoped_ptr<DistillerPage> CreateDistillerPage() const = 0;
|
| + virtual scoped_ptr<DistillerPage> CreateDistillerPage(
|
| + const gfx::Size& render_view_size) const = 0;
|
| virtual scoped_ptr<DistillerPage> CreateDistillerPageWithHandle(
|
| scoped_ptr<SourcePageHandle> handle) const = 0;
|
| };
|
|
|