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 <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 | 91 |
92 // TODO(nasko): This should move to InterstitialPageNavigatorImpl, but in | 92 // TODO(nasko): This should move to InterstitialPageNavigatorImpl, but in |
93 // the meantime make it public, so it can be called directly. | 93 // the meantime make it public, so it can be called directly. |
94 void DidNavigate( | 94 void DidNavigate( |
95 RenderViewHost* render_view_host, | 95 RenderViewHost* render_view_host, |
96 const FrameHostMsg_DidCommitProvisionalLoad_Params& params); | 96 const FrameHostMsg_DidCommitProvisionalLoad_Params& params); |
97 | 97 |
98 // NavigatorDelegate implementation. | 98 // NavigatorDelegate implementation. |
99 WebContents* OpenURL(const OpenURLParams& params) override; | 99 WebContents* OpenURL(const OpenURLParams& params) override; |
100 | 100 |
| 101 #if defined(OS_ANDROID) |
| 102 base::android::ScopedJavaLocalRef<jobject> GetJavaRenderFrameHostDelegate() |
| 103 override { |
| 104 return nullptr; |
| 105 } |
| 106 #endif |
| 107 |
101 protected: | 108 protected: |
102 // NotificationObserver method: | 109 // NotificationObserver method: |
103 void Observe(int type, | 110 void Observe(int type, |
104 const NotificationSource& source, | 111 const NotificationSource& source, |
105 const NotificationDetails& details) override; | 112 const NotificationDetails& details) override; |
106 | 113 |
107 // RenderFrameHostDelegate implementation: | 114 // RenderFrameHostDelegate implementation: |
108 bool OnMessageReceived(RenderFrameHostImpl* render_frame_host, | 115 bool OnMessageReceived(RenderFrameHostImpl* render_frame_host, |
109 const IPC::Message& message) override; | 116 const IPC::Message& message) override; |
110 void RenderFrameCreated(RenderFrameHost* render_frame_host) override; | 117 void RenderFrameCreated(RenderFrameHost* render_frame_host) override; |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
298 scoped_refptr<SessionStorageNamespace> session_storage_namespace_; | 305 scoped_refptr<SessionStorageNamespace> session_storage_namespace_; |
299 | 306 |
300 base::WeakPtrFactory<InterstitialPageImpl> weak_ptr_factory_; | 307 base::WeakPtrFactory<InterstitialPageImpl> weak_ptr_factory_; |
301 | 308 |
302 DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl); | 309 DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl); |
303 }; | 310 }; |
304 | 311 |
305 } // namespace content | 312 } // namespace content |
306 | 313 |
307 #endif // CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_ | 314 #endif // CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_ |
OLD | NEW |