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_CONTENT_BROWSER_DISTILLER_PAGE_WEB_CONTENTS_H_ | 5 #ifndef COMPONENTS_DOM_DISTILLER_CONTENT_BROWSER_DISTILLER_PAGE_WEB_CONTENTS_H_ |
6 #define COMPONENTS_DOM_DISTILLER_CONTENT_BROWSER_DISTILLER_PAGE_WEB_CONTENTS_H_ | 6 #define COMPONENTS_DOM_DISTILLER_CONTENT_BROWSER_DISTILLER_PAGE_WEB_CONTENTS_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
| 10 #include "base/macros.h" |
10 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
11 #include "components/dom_distiller/core/distiller_page.h" | 12 #include "components/dom_distiller/core/distiller_page.h" |
12 #include "content/public/browser/web_contents.h" | 13 #include "content/public/browser/web_contents.h" |
13 #include "content/public/browser/web_contents_delegate.h" | 14 #include "content/public/browser/web_contents_delegate.h" |
14 #include "content/public/browser/web_contents_observer.h" | 15 #include "content/public/browser/web_contents_observer.h" |
15 #include "url/gurl.h" | 16 #include "url/gurl.h" |
16 | 17 |
17 namespace dom_distiller { | 18 namespace dom_distiller { |
18 | 19 |
19 class SourcePageHandleWebContents : public SourcePageHandle { | 20 class SourcePageHandleWebContents : public SourcePageHandle { |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 | 114 |
114 content::BrowserContext* browser_context_; | 115 content::BrowserContext* browser_context_; |
115 gfx::Size render_view_size_; | 116 gfx::Size render_view_size_; |
116 base::WeakPtrFactory<DistillerPageWebContents> weak_factory_; | 117 base::WeakPtrFactory<DistillerPageWebContents> weak_factory_; |
117 DISALLOW_COPY_AND_ASSIGN(DistillerPageWebContents); | 118 DISALLOW_COPY_AND_ASSIGN(DistillerPageWebContents); |
118 }; | 119 }; |
119 | 120 |
120 } // namespace dom_distiller | 121 } // namespace dom_distiller |
121 | 122 |
122 #endif // COMPONENTS_DOM_DISTILLER_CONTENT_BROWSER_DISTILLER_PAGE_WEB_CONTENTS_
H_ | 123 #endif // COMPONENTS_DOM_DISTILLER_CONTENT_BROWSER_DISTILLER_PAGE_WEB_CONTENTS_
H_ |
OLD | NEW |