| 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 564 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 575 // Sent when the frame sets its opener to null, disowning it for the lifetime of | 575 // Sent when the frame sets its opener to null, disowning it for the lifetime of |
| 576 // the window. Sent for top-level frames. | 576 // the window. Sent for top-level frames. |
| 577 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidDisownOpener) | 577 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidDisownOpener) |
| 578 | 578 |
| 579 // Notifies the browser that a page id was assigned. | 579 // Notifies the browser that a page id was assigned. |
| 580 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidAssignPageId, | 580 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidAssignPageId, |
| 581 int32 /* page_id */) | 581 int32 /* page_id */) |
| 582 | 582 |
| 583 // Changes the title for the page in the UI when the page is navigated or the | 583 // Changes the title for the page in the UI when the page is navigated or the |
| 584 // title changes. Sent for top-level frames. | 584 // title changes. Sent for top-level frames. |
| 585 IPC_MESSAGE_ROUTED3(FrameHostMsg_UpdateTitle, | 585 IPC_MESSAGE_ROUTED2(FrameHostMsg_UpdateTitle, |
| 586 int32 /* page_id */, | |
| 587 base::string16 /* title */, | 586 base::string16 /* title */, |
| 588 blink::WebTextDirection /* title direction */) | 587 blink::WebTextDirection /* title direction */) |
| 589 | 588 |
| 590 // Change the encoding name of the page in UI when the page has detected | 589 // Change the encoding name of the page in UI when the page has detected |
| 591 // proper encoding name. Sent for top-level frames. | 590 // proper encoding name. Sent for top-level frames. |
| 592 IPC_MESSAGE_ROUTED1(FrameHostMsg_UpdateEncoding, | 591 IPC_MESSAGE_ROUTED1(FrameHostMsg_UpdateEncoding, |
| 593 std::string /* new encoding name */) | 592 std::string /* new encoding name */) |
| 594 | 593 |
| 595 // Following message is used to communicate the values received by the | 594 // Following message is used to communicate the values received by the |
| 596 // callback binding the JS to Cpp. | 595 // callback binding the JS to Cpp. |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 761 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) | 760 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) |
| 762 | 761 |
| 763 #if defined(OS_MACOSX) || defined(OS_ANDROID) | 762 #if defined(OS_MACOSX) || defined(OS_ANDROID) |
| 764 | 763 |
| 765 // Message to show/hide a popup menu using native controls. | 764 // Message to show/hide a popup menu using native controls. |
| 766 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, | 765 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, |
| 767 FrameHostMsg_ShowPopup_Params) | 766 FrameHostMsg_ShowPopup_Params) |
| 768 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) | 767 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) |
| 769 | 768 |
| 770 #endif | 769 #endif |
| OLD | NEW |