| 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 CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_ |
| 6 #define CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_ | 6 #define CONTENT_BROWSER_FRAME_HOST_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 "content/browser/frame_host/frame_tree.h" | 11 #include "content/browser/frame_host/frame_tree.h" |
| 12 #include "content/browser/frame_host/navigator_delegate.h" | 12 #include "content/browser/frame_host/navigator_delegate.h" |
| 13 #include "content/browser/frame_host/render_frame_host_delegate.h" | 13 #include "content/browser/frame_host/render_frame_host_delegate.h" |
| 14 #include "content/browser/renderer_host/render_view_host_delegate.h" | 14 #include "content/browser/renderer_host/render_view_host_delegate.h" |
| 15 #include "content/browser/renderer_host/render_widget_host_delegate.h" | 15 #include "content/browser/renderer_host/render_widget_host_delegate.h" |
| 16 #include "content/public/browser/dom_operation_notification_details.h" |
| 16 #include "content/public/browser/interstitial_page.h" | 17 #include "content/public/browser/interstitial_page.h" |
| 17 #include "content/public/browser/notification_observer.h" | 18 #include "content/public/browser/notification_observer.h" |
| 18 #include "content/public/browser/notification_registrar.h" | 19 #include "content/public/browser/notification_registrar.h" |
| 19 #include "content/public/browser/web_contents_observer.h" | 20 #include "content/public/browser/web_contents_observer.h" |
| 20 #include "content/public/common/renderer_preferences.h" | 21 #include "content/public/common/renderer_preferences.h" |
| 21 #include "url/gurl.h" | 22 #include "url/gurl.h" |
| 22 | 23 |
| 23 namespace content { | 24 namespace content { |
| 24 class NavigationEntry; | 25 class NavigationEntry; |
| 25 class NavigationControllerImpl; | 26 class NavigationControllerImpl; |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 const NotificationSource& source, | 98 const NotificationSource& source, |
| 98 const NotificationDetails& details) OVERRIDE; | 99 const NotificationDetails& details) OVERRIDE; |
| 99 | 100 |
| 100 // WebContentsObserver implementation: | 101 // WebContentsObserver implementation: |
| 101 virtual void WebContentsDestroyed(WebContents* web_contents) OVERRIDE; | 102 virtual void WebContentsDestroyed(WebContents* web_contents) OVERRIDE; |
| 102 virtual void NavigationEntryCommitted( | 103 virtual void NavigationEntryCommitted( |
| 103 const LoadCommittedDetails& load_details) OVERRIDE; | 104 const LoadCommittedDetails& load_details) OVERRIDE; |
| 104 | 105 |
| 105 // RenderFrameHostDelegate implementation: | 106 // RenderFrameHostDelegate implementation: |
| 106 virtual void RenderFrameCreated(RenderFrameHost* render_frame_host) OVERRIDE; | 107 virtual void RenderFrameCreated(RenderFrameHost* render_frame_host) OVERRIDE; |
| 108 virtual void OnDomOperationResponse( |
| 109 const DomOperationNotificationDetails& details) OVERRIDE; |
| 107 | 110 |
| 108 // RenderViewHostDelegate implementation: | 111 // RenderViewHostDelegate implementation: |
| 109 virtual RenderViewHostDelegateView* GetDelegateView() OVERRIDE; | 112 virtual RenderViewHostDelegateView* GetDelegateView() OVERRIDE; |
| 110 virtual const GURL& GetURL() const OVERRIDE; | 113 virtual const GURL& GetURL() const OVERRIDE; |
| 111 virtual void RenderViewTerminated(RenderViewHost* render_view_host, | 114 virtual void RenderViewTerminated(RenderViewHost* render_view_host, |
| 112 base::TerminationStatus status, | 115 base::TerminationStatus status, |
| 113 int error_code) OVERRIDE; | 116 int error_code) OVERRIDE; |
| 114 virtual void DidNavigate( | 117 virtual void DidNavigate( |
| 115 RenderViewHost* render_view_host, | 118 RenderViewHost* render_view_host, |
| 116 const ViewHostMsg_FrameNavigate_Params& params) OVERRIDE; | 119 const ViewHostMsg_FrameNavigate_Params& params) OVERRIDE; |
| (...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 270 base::WeakPtrFactory<InterstitialPageImpl> weak_ptr_factory_; | 273 base::WeakPtrFactory<InterstitialPageImpl> weak_ptr_factory_; |
| 271 | 274 |
| 272 scoped_refptr<SessionStorageNamespace> session_storage_namespace_; | 275 scoped_refptr<SessionStorageNamespace> session_storage_namespace_; |
| 273 | 276 |
| 274 DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl); | 277 DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl); |
| 275 }; | 278 }; |
| 276 | 279 |
| 277 } // namespace content | 280 } // namespace content |
| 278 | 281 |
| 279 #endif // CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_ | 282 #endif // CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_ |
| OLD | NEW |