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_IOS_DISTILLER_PAGE_FACTORY_IOS_H_ |
| 6 #define COMPONENTS_DOM_DISTILLER_IOS_DISTILLER_PAGE_FACTORY_IOS_H_ |
| 7 |
| 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "components/dom_distiller/core/distiller_page.h" |
| 10 |
| 11 namespace web { |
| 12 class BrowserState; |
| 13 } |
| 14 |
| 15 namespace dom_distiller { |
| 16 |
| 17 class DistillerPageIOS; |
| 18 |
| 19 class DistillerPageFactoryIOS : public DistillerPageFactory { |
| 20 public: |
| 21 DistillerPageFactoryIOS(web::BrowserState* browser_state); |
| 22 |
| 23 scoped_ptr<DistillerPage> CreateDistillerPage( |
| 24 const gfx::Size& view_size) const override; |
| 25 scoped_ptr<DistillerPage> CreateDistillerPageWithHandle( |
| 26 scoped_ptr<SourcePageHandle> handle) const override; |
| 27 |
| 28 private: |
| 29 web::BrowserState* browser_state_; |
| 30 }; |
| 31 |
| 32 } // namespace dom_distiller |
| 33 |
| 34 #endif // COMPONENTS_DOM_DISTILLER_IOS_DISTILLER_PAGE_FACTORY_IOS_H_ |
OLD | NEW |