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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 RenderWidgetHostView* GetView(); | 88 RenderWidgetHostView* GetView(); |
89 | 89 |
90 bool pause_throbber() const { return pause_throbber_; } | 90 bool pause_throbber() const { return pause_throbber_; } |
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. |
| 99 WebContents* OpenURL(const OpenURLParams& params) override; |
| 100 |
98 protected: | 101 protected: |
99 // NotificationObserver method: | 102 // NotificationObserver method: |
100 void Observe(int type, | 103 void Observe(int type, |
101 const NotificationSource& source, | 104 const NotificationSource& source, |
102 const NotificationDetails& details) override; | 105 const NotificationDetails& details) override; |
103 | 106 |
104 // RenderFrameHostDelegate implementation: | 107 // RenderFrameHostDelegate implementation: |
105 bool OnMessageReceived(RenderFrameHostImpl* render_frame_host, | 108 bool OnMessageReceived(RenderFrameHostImpl* render_frame_host, |
106 const IPC::Message& message) override; | 109 const IPC::Message& message) override; |
107 void RenderFrameCreated(RenderFrameHost* render_frame_host) override; | 110 void RenderFrameCreated(RenderFrameHost* render_frame_host) override; |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
295 scoped_refptr<SessionStorageNamespace> session_storage_namespace_; | 298 scoped_refptr<SessionStorageNamespace> session_storage_namespace_; |
296 | 299 |
297 base::WeakPtrFactory<InterstitialPageImpl> weak_ptr_factory_; | 300 base::WeakPtrFactory<InterstitialPageImpl> weak_ptr_factory_; |
298 | 301 |
299 DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl); | 302 DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl); |
300 }; | 303 }; |
301 | 304 |
302 } // namespace content | 305 } // namespace content |
303 | 306 |
304 #endif // CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_ | 307 #endif // CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_ |
OLD | NEW |