Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(94)

Side by Side Diff: components/dom_distiller/ios/distiller_page_factory_ios.h

Issue 936843002: Upstream iOS implementation of dom_distiller (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@web_controller_provider
Patch Set: Add blank lines Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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 // 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);
25
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;
31
32 private:
33 web::BrowserState* browser_state_;
34 };
35
36 } // namespace dom_distiller
37
38 #endif // COMPONENTS_DOM_DISTILLER_IOS_DISTILLER_PAGE_FACTORY_IOS_H_
OLDNEW
« no previous file with comments | « components/dom_distiller/ios/OWNERS ('k') | components/dom_distiller/ios/distiller_page_factory_ios.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698