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 { | |
bengr
2015/02/20 20:11:38
Add a class comment.
sdefresne
2015/02/23 11:08:57
Done.
| |
20 public: | |
21 DistillerPageFactoryIOS(web::BrowserState* browser_state); | |
22 | |
23 scoped_ptr<DistillerPage> CreateDistillerPage( | |
24 const gfx::Size& view_size) const override; | |
bengr
2015/02/20 20:11:37
Add blank line below.
sdefresne
2015/02/23 11:08:57
This is the list of method overridden from Distill
| |
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 |