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