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 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
316 bool is_transition_navigation); | 316 bool is_transition_navigation); |
317 void OnDidFailProvisionalLoadWithError( | 317 void OnDidFailProvisionalLoadWithError( |
318 const FrameHostMsg_DidFailProvisionalLoadWithError_Params& params); | 318 const FrameHostMsg_DidFailProvisionalLoadWithError_Params& params); |
319 void OnDidFailLoadWithError( | 319 void OnDidFailLoadWithError( |
320 const GURL& url, | 320 const GURL& url, |
321 int error_code, | 321 int error_code, |
322 const base::string16& error_description); | 322 const base::string16& error_description); |
323 void OnDidRedirectProvisionalLoad(int32 page_id, | 323 void OnDidRedirectProvisionalLoad(int32 page_id, |
324 const GURL& source_url, | 324 const GURL& source_url, |
325 const GURL& target_url); | 325 const GURL& target_url); |
326 void OnNavigate(const IPC::Message& msg); | 326 void OnDidCommitProvisionalLoad(const IPC::Message& msg); |
327 void OnBeforeUnloadACK( | 327 void OnBeforeUnloadACK( |
328 bool proceed, | 328 bool proceed, |
329 const base::TimeTicks& renderer_before_unload_start_time, | 329 const base::TimeTicks& renderer_before_unload_start_time, |
330 const base::TimeTicks& renderer_before_unload_end_time); | 330 const base::TimeTicks& renderer_before_unload_end_time); |
331 void OnSwapOutACK(); | 331 void OnSwapOutACK(); |
332 void OnContextMenu(const ContextMenuParams& params); | 332 void OnContextMenu(const ContextMenuParams& params); |
333 void OnJavaScriptExecuteResponse(int id, const base::ListValue& result); | 333 void OnJavaScriptExecuteResponse(int id, const base::ListValue& result); |
334 void OnRunJavaScriptMessage(const base::string16& message, | 334 void OnRunJavaScriptMessage(const base::string16& message, |
335 const base::string16& default_prompt, | 335 const base::string16& default_prompt, |
336 const GURL& frame_url, | 336 const GURL& frame_url, |
337 JavaScriptMessageType type, | 337 JavaScriptMessageType type, |
338 IPC::Message* reply_msg); | 338 IPC::Message* reply_msg); |
339 void OnRunBeforeUnloadConfirm(const GURL& frame_url, | 339 void OnRunBeforeUnloadConfirm(const GURL& frame_url, |
340 const base::string16& message, | 340 const base::string16& message, |
341 bool is_reload, | 341 bool is_reload, |
342 IPC::Message* reply_msg); | 342 IPC::Message* reply_msg); |
343 void OnRequestPlatformNotificationPermission(const GURL& origin, | 343 void OnRequestPlatformNotificationPermission(const GURL& origin, |
344 int request_id); | 344 int request_id); |
345 void OnShowDesktopNotification( | 345 void OnShowDesktopNotification( |
346 int notification_id, | 346 int notification_id, |
347 const ShowDesktopNotificationHostMsgParams& params); | 347 const ShowDesktopNotificationHostMsgParams& params); |
348 void OnCancelDesktopNotification(int notification_id); | 348 void OnCancelDesktopNotification(int notification_id); |
349 void OnTextSurroundingSelectionResponse(const base::string16& content, | 349 void OnTextSurroundingSelectionResponse(const base::string16& content, |
350 size_t start_offset, | 350 size_t start_offset, |
351 size_t end_offset); | 351 size_t end_offset); |
352 void OnDidAccessInitialDocument(); | 352 void OnDidAccessInitialDocument(); |
353 void OnDidDisownOpener(); | 353 void OnDidDisownOpener(); |
| 354 void OnDidAssignPageId(int32 page_id); |
354 void OnUpdateTitle(int32 page_id, | 355 void OnUpdateTitle(int32 page_id, |
355 const base::string16& title, | 356 const base::string16& title, |
356 blink::WebTextDirection title_direction); | 357 blink::WebTextDirection title_direction); |
357 void OnUpdateEncoding(const std::string& encoding); | 358 void OnUpdateEncoding(const std::string& encoding); |
358 void OnBeginNavigation( | 359 void OnBeginNavigation( |
359 const FrameHostMsg_BeginNavigation_Params& params); | 360 const FrameHostMsg_BeginNavigation_Params& params); |
360 void OnAccessibilityEvents( | 361 void OnAccessibilityEvents( |
361 const std::vector<AccessibilityHostMsg_EventParams>& params); | 362 const std::vector<AccessibilityHostMsg_EventParams>& params); |
362 void OnAccessibilityLocationChanges( | 363 void OnAccessibilityLocationChanges( |
363 const std::vector<AccessibilityHostMsg_LocationChangeParams>& params); | 364 const std::vector<AccessibilityHostMsg_LocationChangeParams>& params); |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
448 base::Callback<void(ui::AXEvent, int)> accessibility_testing_callback_; | 449 base::Callback<void(ui::AXEvent, int)> accessibility_testing_callback_; |
449 // The most recently received accessibility tree - for testing only. | 450 // The most recently received accessibility tree - for testing only. |
450 scoped_ptr<ui::AXTree> ax_tree_for_testing_; | 451 scoped_ptr<ui::AXTree> ax_tree_for_testing_; |
451 | 452 |
452 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); | 453 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); |
453 }; | 454 }; |
454 | 455 |
455 } // namespace content | 456 } // namespace content |
456 | 457 |
457 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 458 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
OLD | NEW |