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 RenderFrameHost* render_frame_host) OVERRIDE; | 112 RenderFrameHost* render_frame_host) OVERRIDE; |
113 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; | 113 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; |
114 virtual void WebContentsDestroyed(WebContents* web_contents) OVERRIDE; | 114 virtual void WebContentsDestroyed(WebContents* web_contents) OVERRIDE; |
115 virtual void NavigationEntryCommitted( | 115 virtual void NavigationEntryCommitted( |
116 const LoadCommittedDetails& load_details) OVERRIDE; | 116 const LoadCommittedDetails& load_details) OVERRIDE; |
117 | 117 |
118 // RenderFrameHostDelegate implementation: | 118 // RenderFrameHostDelegate implementation: |
119 virtual bool OnMessageReceived(RenderFrameHost* render_frame_host, | 119 virtual bool OnMessageReceived(RenderFrameHost* render_frame_host, |
120 const IPC::Message& message) OVERRIDE; | 120 const IPC::Message& message) OVERRIDE; |
121 virtual void RenderFrameCreated(RenderFrameHost* render_frame_host) OVERRIDE; | 121 virtual void RenderFrameCreated(RenderFrameHost* render_frame_host) OVERRIDE; |
| 122 virtual void UpdateTitle(RenderFrameHost* render_frame_host, |
| 123 int32 page_id, |
| 124 const base::string16& title, |
| 125 base::i18n::TextDirection title_direction) OVERRIDE; |
122 | 126 |
123 // RenderViewHostDelegate implementation: | 127 // RenderViewHostDelegate implementation: |
124 virtual RenderViewHostDelegateView* GetDelegateView() OVERRIDE; | 128 virtual RenderViewHostDelegateView* GetDelegateView() OVERRIDE; |
125 virtual bool OnMessageReceived(RenderViewHost* render_view_host, | 129 virtual bool OnMessageReceived(RenderViewHost* render_view_host, |
126 const IPC::Message& message) OVERRIDE; | 130 const IPC::Message& message) OVERRIDE; |
127 virtual const GURL& GetMainFrameLastCommittedURL() const OVERRIDE; | 131 virtual const GURL& GetMainFrameLastCommittedURL() const OVERRIDE; |
128 virtual void RenderViewTerminated(RenderViewHost* render_view_host, | 132 virtual void RenderViewTerminated(RenderViewHost* render_view_host, |
129 base::TerminationStatus status, | 133 base::TerminationStatus status, |
130 int error_code) OVERRIDE; | 134 int error_code) OVERRIDE; |
131 virtual void UpdateTitle(RenderViewHost* render_view_host, | |
132 int32 page_id, | |
133 const base::string16& title, | |
134 base::i18n::TextDirection title_direction) OVERRIDE; | |
135 virtual RendererPreferences GetRendererPrefs( | 135 virtual RendererPreferences GetRendererPrefs( |
136 BrowserContext* browser_context) const OVERRIDE; | 136 BrowserContext* browser_context) const OVERRIDE; |
137 virtual WebPreferences GetWebkitPrefs() OVERRIDE; | 137 virtual WebPreferences GetWebkitPrefs() OVERRIDE; |
138 virtual gfx::Rect GetRootWindowResizerRect() const OVERRIDE; | 138 virtual gfx::Rect GetRootWindowResizerRect() const OVERRIDE; |
139 virtual void CreateNewWindow( | 139 virtual void CreateNewWindow( |
140 int render_process_id, | 140 int render_process_id, |
141 int route_id, | 141 int route_id, |
142 int main_frame_route_id, | 142 int main_frame_route_id, |
143 const ViewHostMsg_CreateWindow_Params& params, | 143 const ViewHostMsg_CreateWindow_Params& params, |
144 SessionStorageNamespace* session_storage_namespace) OVERRIDE; | 144 SessionStorageNamespace* session_storage_namespace) OVERRIDE; |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
288 base::WeakPtrFactory<InterstitialPageImpl> weak_ptr_factory_; | 288 base::WeakPtrFactory<InterstitialPageImpl> weak_ptr_factory_; |
289 | 289 |
290 scoped_refptr<SessionStorageNamespace> session_storage_namespace_; | 290 scoped_refptr<SessionStorageNamespace> session_storage_namespace_; |
291 | 291 |
292 DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl); | 292 DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl); |
293 }; | 293 }; |
294 | 294 |
295 } // namespace content | 295 } // namespace content |
296 | 296 |
297 #endif // CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_ | 297 #endif // CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_ |
OLD | NEW |