OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CONTENT_BROWSER_WEB_CONTENTS_INTERSTITIAL_PAGE_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_INTERSTITIAL_PAGE_IMPL_H_ |
6 #define CONTENT_BROWSER_WEB_CONTENTS_INTERSTITIAL_PAGE_IMPL_H_ | 6 #define CONTENT_BROWSER_WEB_CONTENTS_INTERSTITIAL_PAGE_IMPL_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
11 #include "base/process_util.h" | 11 #include "base/process_util.h" |
12 #include "content/browser/renderer_host/render_view_host_delegate.h" | 12 #include "content/browser/renderer_host/render_view_host_delegate.h" |
13 #include "content/browser/renderer_host/render_widget_host_delegate.h" | 13 #include "content/browser/renderer_host/render_widget_host_delegate.h" |
14 #include "content/public/browser/interstitial_page.h" | 14 #include "content/public/browser/interstitial_page.h" |
15 #include "content/public/browser/notification_observer.h" | 15 #include "content/public/browser/notification_observer.h" |
16 #include "content/public/browser/notification_registrar.h" | 16 #include "content/public/browser/notification_registrar.h" |
17 #include "content/public/browser/web_contents_observer.h" | 17 #include "content/public/browser/web_contents_observer.h" |
18 #include "content/public/common/renderer_preferences.h" | 18 #include "content/public/common/renderer_preferences.h" |
19 #include "googleurl/src/gurl.h" | 19 #include "url/gurl.h" |
20 | 20 |
21 namespace content { | 21 namespace content { |
22 class NavigationEntry; | 22 class NavigationEntry; |
23 class RenderViewHostImpl; | 23 class RenderViewHostImpl; |
24 class RenderWidgetHostView; | 24 class RenderWidgetHostView; |
25 class WebContentsView; | 25 class WebContentsView; |
26 class WebContentsImpl; | 26 class WebContentsImpl; |
27 | 27 |
28 enum ResourceRequestAction { | 28 enum ResourceRequestAction { |
29 BLOCK, | 29 BLOCK, |
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 scoped_ptr<InterstitialPageDelegate> delegate_; | 240 scoped_ptr<InterstitialPageDelegate> delegate_; |
241 | 241 |
242 base::WeakPtrFactory<InterstitialPageImpl> weak_ptr_factory_; | 242 base::WeakPtrFactory<InterstitialPageImpl> weak_ptr_factory_; |
243 | 243 |
244 DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl); | 244 DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl); |
245 }; | 245 }; |
246 | 246 |
247 } // namespace content | 247 } // namespace content |
248 | 248 |
249 #endif // CONTENT_BROWSER_WEB_CONTENTS_INTERSTITIAL_PAGE_IMPL_H_ | 249 #endif // CONTENT_BROWSER_WEB_CONTENTS_INTERSTITIAL_PAGE_IMPL_H_ |
OLD | NEW |