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