| 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_RENDER_FRAME_HOST_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
| 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 202 | 202 |
| 203 // IPC Message handlers. | 203 // IPC Message handlers. |
| 204 void OnAddMessageToConsole(int32 level, | 204 void OnAddMessageToConsole(int32 level, |
| 205 const base::string16& message, | 205 const base::string16& message, |
| 206 int32 line_no, | 206 int32 line_no, |
| 207 const base::string16& source_id); | 207 const base::string16& source_id); |
| 208 void OnDetach(); | 208 void OnDetach(); |
| 209 void OnFrameFocused(); | 209 void OnFrameFocused(); |
| 210 void OnOpenURL(const FrameHostMsg_OpenURL_Params& params); | 210 void OnOpenURL(const FrameHostMsg_OpenURL_Params& params); |
| 211 void OnDocumentOnLoadCompleted(); | 211 void OnDocumentOnLoadCompleted(); |
| 212 void OnDidStartProvisionalLoadForFrame(const GURL& url); | 212 void OnDidStartProvisionalLoadForFrame(const GURL& url, |
| 213 bool is_transition_navigation); |
| 213 void OnDidFailProvisionalLoadWithError( | 214 void OnDidFailProvisionalLoadWithError( |
| 214 const FrameHostMsg_DidFailProvisionalLoadWithError_Params& params); | 215 const FrameHostMsg_DidFailProvisionalLoadWithError_Params& params); |
| 215 void OnDidFailLoadWithError( | 216 void OnDidFailLoadWithError( |
| 216 const GURL& url, | 217 const GURL& url, |
| 217 int error_code, | 218 int error_code, |
| 218 const base::string16& error_description); | 219 const base::string16& error_description); |
| 219 void OnDidRedirectProvisionalLoad(int32 page_id, | 220 void OnDidRedirectProvisionalLoad(int32 page_id, |
| 220 const GURL& source_url, | 221 const GURL& source_url, |
| 221 const GURL& target_url); | 222 const GURL& target_url); |
| 222 void OnNavigate(const IPC::Message& msg); | 223 void OnNavigate(const IPC::Message& msg); |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 313 ServiceRegistryImpl service_registry_; | 314 ServiceRegistryImpl service_registry_; |
| 314 | 315 |
| 315 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; | 316 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; |
| 316 | 317 |
| 317 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); | 318 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); |
| 318 }; | 319 }; |
| 319 | 320 |
| 320 } // namespace content | 321 } // namespace content |
| 321 | 322 |
| 322 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 323 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
| OLD | NEW |