| 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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 RenderViewHost* render_view_host, | 102 RenderViewHost* render_view_host, |
| 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, |
| 113 RenderFrameHost* render_frame_host) OVERRIDE; |
| 112 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; | 114 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; |
| 113 virtual void WebContentsDestroyed(WebContents* web_contents) OVERRIDE; | 115 virtual void WebContentsDestroyed(WebContents* web_contents) OVERRIDE; |
| 114 virtual void NavigationEntryCommitted( | 116 virtual void NavigationEntryCommitted( |
| 115 const LoadCommittedDetails& load_details) OVERRIDE; | 117 const LoadCommittedDetails& load_details) OVERRIDE; |
| 116 | 118 |
| 117 // RenderFrameHostDelegate implementation: | 119 // RenderFrameHostDelegate implementation: |
| 118 virtual bool OnMessageReceived(RenderFrameHost* render_frame_host, | 120 virtual bool OnMessageReceived(RenderFrameHost* render_frame_host, |
| 119 const IPC::Message& message) OVERRIDE; | 121 const IPC::Message& message) OVERRIDE; |
| 120 virtual void RenderFrameCreated(RenderFrameHost* render_frame_host) OVERRIDE; | 122 virtual void RenderFrameCreated(RenderFrameHost* render_frame_host) OVERRIDE; |
| 121 | 123 |
| (...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 287 base::WeakPtrFactory<InterstitialPageImpl> weak_ptr_factory_; | 289 base::WeakPtrFactory<InterstitialPageImpl> weak_ptr_factory_; |
| 288 | 290 |
| 289 scoped_refptr<SessionStorageNamespace> session_storage_namespace_; | 291 scoped_refptr<SessionStorageNamespace> session_storage_namespace_; |
| 290 | 292 |
| 291 DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl); | 293 DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl); |
| 292 }; | 294 }; |
| 293 | 295 |
| 294 } // namespace content | 296 } // namespace content |
| 295 | 297 |
| 296 #endif // CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_ | 298 #endif // CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_ |
| OLD | NEW |