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