Add abhijeet.k@samsung.com to AUTHORS list.
[chromium-blink-merge.git] / components / dom_distiller / ios / distiller_page_factory_ios.h
blobae7f418d37b75e45776abe1e03163cd2763952d4
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.
5 #ifndef COMPONENTS_DOM_DISTILLER_IOS_DISTILLER_PAGE_FACTORY_IOS_H_
6 #define COMPONENTS_DOM_DISTILLER_IOS_DISTILLER_PAGE_FACTORY_IOS_H_
8 #include "base/memory/scoped_ptr.h"
9 #include "components/dom_distiller/core/distiller_page.h"
11 namespace web {
12 class BrowserState;
15 namespace dom_distiller {
17 class DistillerPageIOS;
19 // DistillerPageFactoryIOS is an iOS-specific implementation of the
20 // DistillerPageFactory interface allowing the creation of DistillerPage
21 // instances.
22 class DistillerPageFactoryIOS : public DistillerPageFactory {
23 public:
24 DistillerPageFactoryIOS(web::BrowserState* browser_state);
26 // Implementation of DistillerPageFactory:
27 scoped_ptr<DistillerPage> CreateDistillerPage(
28 const gfx::Size& view_size) const override;
29 scoped_ptr<DistillerPage> CreateDistillerPageWithHandle(
30 scoped_ptr<SourcePageHandle> handle) const override;
32 private:
33 web::BrowserState* browser_state_;
36 } // namespace dom_distiller
38 #endif // COMPONENTS_DOM_DISTILLER_IOS_DISTILLER_PAGE_FACTORY_IOS_H_