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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 | 112 |
113 // RenderFrameHostDelegate implementation: | 113 // RenderFrameHostDelegate implementation: |
114 virtual bool OnMessageReceived(RenderFrameHost* render_frame_host, | 114 virtual bool OnMessageReceived(RenderFrameHost* render_frame_host, |
115 const IPC::Message& message) OVERRIDE; | 115 const IPC::Message& message) OVERRIDE; |
116 virtual void RenderFrameCreated(RenderFrameHost* render_frame_host) OVERRIDE; | 116 virtual void RenderFrameCreated(RenderFrameHost* render_frame_host) OVERRIDE; |
117 | 117 |
118 // RenderViewHostDelegate implementation: | 118 // RenderViewHostDelegate implementation: |
119 virtual RenderViewHostDelegateView* GetDelegateView() OVERRIDE; | 119 virtual RenderViewHostDelegateView* GetDelegateView() OVERRIDE; |
120 virtual bool OnMessageReceived(RenderViewHost* render_view_host, | 120 virtual bool OnMessageReceived(RenderViewHost* render_view_host, |
121 const IPC::Message& message) OVERRIDE; | 121 const IPC::Message& message) OVERRIDE; |
122 virtual const GURL& GetURL() const OVERRIDE; | 122 virtual const GURL& GetMainFrameLastCommittedURL() const OVERRIDE; |
123 virtual void RenderViewTerminated(RenderViewHost* render_view_host, | 123 virtual void RenderViewTerminated(RenderViewHost* render_view_host, |
124 base::TerminationStatus status, | 124 base::TerminationStatus status, |
125 int error_code) OVERRIDE; | 125 int error_code) OVERRIDE; |
126 virtual void UpdateTitle(RenderViewHost* render_view_host, | 126 virtual void UpdateTitle(RenderViewHost* render_view_host, |
127 int32 page_id, | 127 int32 page_id, |
128 const base::string16& title, | 128 const base::string16& title, |
129 base::i18n::TextDirection title_direction) OVERRIDE; | 129 base::i18n::TextDirection title_direction) OVERRIDE; |
130 virtual RendererPreferences GetRendererPrefs( | 130 virtual RendererPreferences GetRendererPrefs( |
131 BrowserContext* browser_context) const OVERRIDE; | 131 BrowserContext* browser_context) const OVERRIDE; |
132 virtual WebPreferences GetWebkitPrefs() OVERRIDE; | 132 virtual WebPreferences GetWebkitPrefs() OVERRIDE; |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
283 base::WeakPtrFactory<InterstitialPageImpl> weak_ptr_factory_; | 283 base::WeakPtrFactory<InterstitialPageImpl> weak_ptr_factory_; |
284 | 284 |
285 scoped_refptr<SessionStorageNamespace> session_storage_namespace_; | 285 scoped_refptr<SessionStorageNamespace> session_storage_namespace_; |
286 | 286 |
287 DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl); | 287 DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl); |
288 }; | 288 }; |
289 | 289 |
290 } // namespace content | 290 } // namespace content |
291 | 291 |
292 #endif // CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_ | 292 #endif // CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_ |
OLD | NEW |