| 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 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 FrameTree* frame_tree, | 172 FrameTree* frame_tree, |
| 173 FrameTreeNode* frame_tree_node, | 173 FrameTreeNode* frame_tree_node, |
| 174 int routing_id, | 174 int routing_id, |
| 175 bool is_swapped_out); | 175 bool is_swapped_out); |
| 176 | 176 |
| 177 private: | 177 private: |
| 178 friend class TestRenderFrameHost; | 178 friend class TestRenderFrameHost; |
| 179 friend class TestRenderViewHost; | 179 friend class TestRenderViewHost; |
| 180 | 180 |
| 181 // IPC Message handlers. | 181 // IPC Message handlers. |
| 182 void OnAddMessageToConsole(int32 level, |
| 183 const base::string16& message, |
| 184 int32 line_no, |
| 185 const base::string16& source_id); |
| 182 void OnDetach(); | 186 void OnDetach(); |
| 183 void OnFrameFocused(); | 187 void OnFrameFocused(); |
| 184 void OnOpenURL(const FrameHostMsg_OpenURL_Params& params); | 188 void OnOpenURL(const FrameHostMsg_OpenURL_Params& params); |
| 185 void OnDidStartProvisionalLoadForFrame(int parent_routing_id, | 189 void OnDidStartProvisionalLoadForFrame(int parent_routing_id, |
| 186 const GURL& url); | 190 const GURL& url); |
| 187 void OnDidFailProvisionalLoadWithError( | 191 void OnDidFailProvisionalLoadWithError( |
| 188 const FrameHostMsg_DidFailProvisionalLoadWithError_Params& params); | 192 const FrameHostMsg_DidFailProvisionalLoadWithError_Params& params); |
| 189 void OnDidFailLoadWithError( | 193 void OnDidFailLoadWithError( |
| 190 const GURL& url, | 194 const GURL& url, |
| 191 int error_code, | 195 int error_code, |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 247 | 251 |
| 248 // When the last BeforeUnload message was sent. | 252 // When the last BeforeUnload message was sent. |
| 249 base::TimeTicks send_before_unload_start_time_; | 253 base::TimeTicks send_before_unload_start_time_; |
| 250 | 254 |
| 251 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); | 255 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); |
| 252 }; | 256 }; |
| 253 | 257 |
| 254 } // namespace content | 258 } // namespace content |
| 255 | 259 |
| 256 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 260 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
| OLD | NEW |