| 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 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 181 friend class TestRenderViewHost; | 181 friend class TestRenderViewHost; |
| 182 | 182 |
| 183 // IPC Message handlers. | 183 // IPC Message handlers. |
| 184 void OnAddMessageToConsole(int32 level, | 184 void OnAddMessageToConsole(int32 level, |
| 185 const base::string16& message, | 185 const base::string16& message, |
| 186 int32 line_no, | 186 int32 line_no, |
| 187 const base::string16& source_id); | 187 const base::string16& source_id); |
| 188 void OnDetach(); | 188 void OnDetach(); |
| 189 void OnFrameFocused(); | 189 void OnFrameFocused(); |
| 190 void OnOpenURL(const FrameHostMsg_OpenURL_Params& params); | 190 void OnOpenURL(const FrameHostMsg_OpenURL_Params& params); |
| 191 void OnDocumentOnLoadCompleted(int32 page_id); | 191 void OnDocumentOnLoadCompleted(); |
| 192 void OnDidStartProvisionalLoadForFrame(int parent_routing_id, | 192 void OnDidStartProvisionalLoadForFrame(int parent_routing_id, |
| 193 const GURL& url); | 193 const GURL& url); |
| 194 void OnDidFailProvisionalLoadWithError( | 194 void OnDidFailProvisionalLoadWithError( |
| 195 const FrameHostMsg_DidFailProvisionalLoadWithError_Params& params); | 195 const FrameHostMsg_DidFailProvisionalLoadWithError_Params& params); |
| 196 void OnDidFailLoadWithError( | 196 void OnDidFailLoadWithError( |
| 197 const GURL& url, | 197 const GURL& url, |
| 198 int error_code, | 198 int error_code, |
| 199 const base::string16& error_description); | 199 const base::string16& error_description); |
| 200 void OnDidRedirectProvisionalLoad(int32 page_id, | 200 void OnDidRedirectProvisionalLoad(int32 page_id, |
| 201 const GURL& source_url, | 201 const GURL& source_url, |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 278 base::TimeTicks send_before_unload_start_time_; | 278 base::TimeTicks send_before_unload_start_time_; |
| 279 | 279 |
| 280 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; | 280 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; |
| 281 | 281 |
| 282 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); | 282 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); |
| 283 }; | 283 }; |
| 284 | 284 |
| 285 } // namespace content | 285 } // namespace content |
| 286 | 286 |
| 287 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 287 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
| OLD | NEW |