| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef COMPONENTS_DOM_DISTILLER_CORE_DISTILLER_PAGE_H_ | 5 #ifndef COMPONENTS_DOM_DISTILLER_CORE_DISTILLER_PAGE_H_ |
| 6 #define COMPONENTS_DOM_DISTILLER_CORE_DISTILLER_PAGE_H_ | 6 #define COMPONENTS_DOM_DISTILLER_CORE_DISTILLER_PAGE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/callback.h" | 10 #include "base/callback.h" |
| 11 #include "base/macros.h" |
| 11 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 12 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
| 13 #include "base/values.h" | 14 #include "base/values.h" |
| 14 #include "third_party/dom_distiller_js/dom_distiller.pb.h" | 15 #include "third_party/dom_distiller_js/dom_distiller.pb.h" |
| 15 #include "ui/gfx/geometry/size.h" | 16 #include "ui/gfx/geometry/size.h" |
| 16 #include "url/gurl.h" | 17 #include "url/gurl.h" |
| 17 | 18 |
| 18 namespace dom_distiller { | 19 namespace dom_distiller { |
| 19 | 20 |
| 20 class SourcePageHandle { | 21 class SourcePageHandle { |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 // used. | 77 // used. |
| 77 virtual scoped_ptr<DistillerPage> CreateDistillerPage( | 78 virtual scoped_ptr<DistillerPage> CreateDistillerPage( |
| 78 const gfx::Size& render_view_size) const = 0; | 79 const gfx::Size& render_view_size) const = 0; |
| 79 virtual scoped_ptr<DistillerPage> CreateDistillerPageWithHandle( | 80 virtual scoped_ptr<DistillerPage> CreateDistillerPageWithHandle( |
| 80 scoped_ptr<SourcePageHandle> handle) const = 0; | 81 scoped_ptr<SourcePageHandle> handle) const = 0; |
| 81 }; | 82 }; |
| 82 | 83 |
| 83 } // namespace dom_distiller | 84 } // namespace dom_distiller |
| 84 | 85 |
| 85 #endif // COMPONENTS_DOM_DISTILLER_CORE_DISTILLER_PAGE_H_ | 86 #endif // COMPONENTS_DOM_DISTILLER_CORE_DISTILLER_PAGE_H_ |
| OLD | NEW |