| 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 562 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 573 | 573 |
| 574 // Notifies that the initial empty document of a view has been accessed. | 574 // Notifies that the initial empty document of a view has been accessed. |
| 575 // After this, it is no longer safe to show a pending navigation's URL without | 575 // After this, it is no longer safe to show a pending navigation's URL without |
| 576 // making a URL spoof possible. | 576 // making a URL spoof possible. |
| 577 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidAccessInitialDocument) | 577 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidAccessInitialDocument) |
| 578 | 578 |
| 579 // Sent when the frame sets its opener to null, disowning it for the lifetime of | 579 // Sent when the frame sets its opener to null, disowning it for the lifetime of |
| 580 // the window. Sent for top-level frames. | 580 // the window. Sent for top-level frames. |
| 581 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidDisownOpener) | 581 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidDisownOpener) |
| 582 | 582 |
| 583 // Notifies the browser that a page id was assigned. |
| 584 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidAssignPageId, |
| 585 int32 /* page_id */) |
| 586 |
| 583 // Changes the title for the page in the UI when the page is navigated or the | 587 // Changes the title for the page in the UI when the page is navigated or the |
| 584 // title changes. Sent for top-level frames. | 588 // title changes. Sent for top-level frames. |
| 585 IPC_MESSAGE_ROUTED3(FrameHostMsg_UpdateTitle, | 589 IPC_MESSAGE_ROUTED3(FrameHostMsg_UpdateTitle, |
| 586 int32 /* page_id */, | 590 int32 /* page_id */, |
| 587 base::string16 /* title */, | 591 base::string16 /* title */, |
| 588 blink::WebTextDirection /* title direction */) | 592 blink::WebTextDirection /* title direction */) |
| 589 | 593 |
| 590 // Change the encoding name of the page in UI when the page has detected | 594 // Change the encoding name of the page in UI when the page has detected |
| 591 // proper encoding name. Sent for top-level frames. | 595 // proper encoding name. Sent for top-level frames. |
| 592 IPC_MESSAGE_ROUTED1(FrameHostMsg_UpdateEncoding, | 596 IPC_MESSAGE_ROUTED1(FrameHostMsg_UpdateEncoding, |
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 769 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) | 773 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) |
| 770 | 774 |
| 771 #if defined(OS_MACOSX) || defined(OS_ANDROID) | 775 #if defined(OS_MACOSX) || defined(OS_ANDROID) |
| 772 | 776 |
| 773 // Message to show/hide a popup menu using native controls. | 777 // Message to show/hide a popup menu using native controls. |
| 774 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, | 778 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, |
| 775 FrameHostMsg_ShowPopup_Params) | 779 FrameHostMsg_ShowPopup_Params) |
| 776 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) | 780 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) |
| 777 | 781 |
| 778 #endif | 782 #endif |
| OLD | NEW |