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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 FrameTree* frame_tree, | 179 FrameTree* frame_tree, |
180 FrameTreeNode* frame_tree_node, | 180 FrameTreeNode* frame_tree_node, |
181 int routing_id, | 181 int routing_id, |
182 bool is_swapped_out); | 182 bool is_swapped_out); |
183 | 183 |
184 private: | 184 private: |
185 friend class TestRenderFrameHost; | 185 friend class TestRenderFrameHost; |
186 friend class TestRenderViewHost; | 186 friend class TestRenderViewHost; |
187 | 187 |
188 // IPC Message handlers. | 188 // IPC Message handlers. |
| 189 void OnAddMessageToConsole(int32 level, |
| 190 const base::string16& message, |
| 191 int32 line_no, |
| 192 const base::string16& source_id); |
189 void OnDetach(); | 193 void OnDetach(); |
190 void OnFrameFocused(); | 194 void OnFrameFocused(); |
191 void OnOpenURL(const FrameHostMsg_OpenURL_Params& params); | 195 void OnOpenURL(const FrameHostMsg_OpenURL_Params& params); |
192 void OnDidStartProvisionalLoadForFrame(int parent_routing_id, | 196 void OnDidStartProvisionalLoadForFrame(int parent_routing_id, |
193 const GURL& url); | 197 const GURL& url); |
194 void OnDidFailProvisionalLoadWithError( | 198 void OnDidFailProvisionalLoadWithError( |
195 const FrameHostMsg_DidFailProvisionalLoadWithError_Params& params); | 199 const FrameHostMsg_DidFailProvisionalLoadWithError_Params& params); |
196 void OnDidFailLoadWithError( | 200 void OnDidFailLoadWithError( |
197 const GURL& url, | 201 const GURL& url, |
198 int error_code, | 202 int error_code, |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
254 | 258 |
255 // When the last BeforeUnload message was sent. | 259 // When the last BeforeUnload message was sent. |
256 base::TimeTicks send_before_unload_start_time_; | 260 base::TimeTicks send_before_unload_start_time_; |
257 | 261 |
258 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); | 262 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); |
259 }; | 263 }; |
260 | 264 |
261 } // namespace content | 265 } // namespace content |
262 | 266 |
263 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 267 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
OLD | NEW |