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 // IPC messages for interacting with frames. | 5 // IPC messages for interacting with frames. |
6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
7 | 7 |
8 #include "content/common/content_export.h" | 8 #include "content/common/content_export.h" |
9 #include "content/common/content_param_traits.h" | 9 #include "content/common/content_param_traits.h" |
10 #include "content/common/frame_message_enums.h" | 10 #include "content/common/frame_message_enums.h" |
(...skipping 499 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
510 // elements which can be animated by the navigation destination to provide | 510 // elements which can be animated by the navigation destination to provide |
511 // a transition effect during load. | 511 // a transition effect during load. |
512 IPC_MESSAGE_ROUTED2(FrameHostMsg_DidStartProvisionalLoadForFrame, | 512 IPC_MESSAGE_ROUTED2(FrameHostMsg_DidStartProvisionalLoadForFrame, |
513 GURL /* url */, | 513 GURL /* url */, |
514 bool /* is_transition_navigation */) | 514 bool /* is_transition_navigation */) |
515 | 515 |
516 // Sent when the renderer fails a provisional load with an error. | 516 // Sent when the renderer fails a provisional load with an error. |
517 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidFailProvisionalLoadWithError, | 517 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidFailProvisionalLoadWithError, |
518 FrameHostMsg_DidFailProvisionalLoadWithError_Params) | 518 FrameHostMsg_DidFailProvisionalLoadWithError_Params) |
519 | 519 |
520 // Sent when a provisional load on the main frame redirects. | |
521 IPC_MESSAGE_ROUTED3(FrameHostMsg_DidRedirectProvisionalLoad, | |
522 int /* page_id */, | |
523 GURL /* source_url*/, | |
524 GURL /* target_url */) | |
525 | |
526 // Notifies the browser that a frame in the view has changed. This message | 520 // Notifies the browser that a frame in the view has changed. This message |
527 // has a lot of parameters and is packed/unpacked by functions defined in | 521 // has a lot of parameters and is packed/unpacked by functions defined in |
528 // render_messages.h. | 522 // render_messages.h. |
529 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidCommitProvisionalLoad, | 523 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidCommitProvisionalLoad, |
530 FrameHostMsg_DidCommitProvisionalLoad_Params) | 524 FrameHostMsg_DidCommitProvisionalLoad_Params) |
531 | 525 |
532 // Notifies the browser that a document has been loaded. | 526 // Notifies the browser that a document has been loaded. |
533 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFinishDocumentLoad) | 527 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFinishDocumentLoad) |
534 | 528 |
535 IPC_MESSAGE_ROUTED3(FrameHostMsg_DidFailLoadWithError, | 529 IPC_MESSAGE_ROUTED3(FrameHostMsg_DidFailLoadWithError, |
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
755 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) | 749 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) |
756 | 750 |
757 #if defined(OS_MACOSX) || defined(OS_ANDROID) | 751 #if defined(OS_MACOSX) || defined(OS_ANDROID) |
758 | 752 |
759 // Message to show/hide a popup menu using native controls. | 753 // Message to show/hide a popup menu using native controls. |
760 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, | 754 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, |
761 FrameHostMsg_ShowPopup_Params) | 755 FrameHostMsg_ShowPopup_Params) |
762 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) | 756 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) |
763 | 757 |
764 #endif | 758 #endif |
OLD | NEW |