| 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" |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 const FrameHostMsg_DidCommitProvisionalLoad_Params& params); | 103 const FrameHostMsg_DidCommitProvisionalLoad_Params& params); |
| 104 | 104 |
| 105 protected: | 105 protected: |
| 106 // NotificationObserver method: | 106 // NotificationObserver method: |
| 107 virtual void Observe(int type, | 107 virtual void Observe(int type, |
| 108 const NotificationSource& source, | 108 const NotificationSource& source, |
| 109 const NotificationDetails& details) OVERRIDE; | 109 const NotificationDetails& details) OVERRIDE; |
| 110 | 110 |
| 111 // WebContentsObserver implementation: | 111 // WebContentsObserver implementation: |
| 112 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; | 112 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; |
| 113 virtual void WebContentsDestroyed(WebContents* web_contents) OVERRIDE; | 113 virtual void WebContentsDestroyed() OVERRIDE; |
| 114 virtual void NavigationEntryCommitted( | 114 virtual void NavigationEntryCommitted( |
| 115 const LoadCommittedDetails& load_details) OVERRIDE; | 115 const LoadCommittedDetails& load_details) OVERRIDE; |
| 116 | 116 |
| 117 // RenderFrameHostDelegate implementation: | 117 // RenderFrameHostDelegate implementation: |
| 118 virtual bool OnMessageReceived(RenderFrameHost* render_frame_host, | 118 virtual bool OnMessageReceived(RenderFrameHost* render_frame_host, |
| 119 const IPC::Message& message) OVERRIDE; | 119 const IPC::Message& message) OVERRIDE; |
| 120 virtual void RenderFrameCreated(RenderFrameHost* render_frame_host) OVERRIDE; | 120 virtual void RenderFrameCreated(RenderFrameHost* render_frame_host) OVERRIDE; |
| 121 | 121 |
| 122 // RenderViewHostDelegate implementation: | 122 // RenderViewHostDelegate implementation: |
| 123 virtual RenderViewHostDelegateView* GetDelegateView() OVERRIDE; | 123 virtual RenderViewHostDelegateView* GetDelegateView() OVERRIDE; |
| (...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 287 base::WeakPtrFactory<InterstitialPageImpl> weak_ptr_factory_; | 287 base::WeakPtrFactory<InterstitialPageImpl> weak_ptr_factory_; |
| 288 | 288 |
| 289 scoped_refptr<SessionStorageNamespace> session_storage_namespace_; | 289 scoped_refptr<SessionStorageNamespace> session_storage_namespace_; |
| 290 | 290 |
| 291 DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl); | 291 DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl); |
| 292 }; | 292 }; |
| 293 | 293 |
| 294 } // namespace content | 294 } // namespace content |
| 295 | 295 |
| 296 #endif // CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_ | 296 #endif // CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_ |
| OLD | NEW |