| 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 503 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 514 size_t /* max_length */) | 514 size_t /* max_length */) |
| 515 | 515 |
| 516 // Tells the renderer to insert a link to the specified stylesheet. This is | 516 // Tells the renderer to insert a link to the specified stylesheet. This is |
| 517 // needed to support navigation transitions. | 517 // needed to support navigation transitions. |
| 518 IPC_MESSAGE_ROUTED1(FrameMsg_AddStyleSheetByURL, std::string) | 518 IPC_MESSAGE_ROUTED1(FrameMsg_AddStyleSheetByURL, std::string) |
| 519 | 519 |
| 520 // Change the accessibility mode in the renderer process. | 520 // Change the accessibility mode in the renderer process. |
| 521 IPC_MESSAGE_ROUTED1(FrameMsg_SetAccessibilityMode, | 521 IPC_MESSAGE_ROUTED1(FrameMsg_SetAccessibilityMode, |
| 522 AccessibilityMode) | 522 AccessibilityMode) |
| 523 | 523 |
| 524 // Dispatch a load event in the iframe element containing this frame. |
| 525 IPC_MESSAGE_ROUTED0(FrameMsg_DispatchLoad) |
| 526 |
| 524 #if defined(OS_ANDROID) | 527 #if defined(OS_ANDROID) |
| 525 | 528 |
| 526 // External popup menus. | 529 // External popup menus. |
| 527 IPC_MESSAGE_ROUTED2(FrameMsg_SelectPopupMenuItems, | 530 IPC_MESSAGE_ROUTED2(FrameMsg_SelectPopupMenuItems, |
| 528 bool /* user canceled the popup */, | 531 bool /* user canceled the popup */, |
| 529 std::vector<int> /* selected indices */) | 532 std::vector<int> /* selected indices */) |
| 530 | 533 |
| 531 #elif defined(OS_MACOSX) | 534 #elif defined(OS_MACOSX) |
| 532 | 535 |
| 533 // External popup menus. | 536 // External popup menus. |
| (...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 854 IPC_MESSAGE_ROUTED1(FrameHostMsg_ToggleFullscreen, bool /* enter_fullscreen */) | 857 IPC_MESSAGE_ROUTED1(FrameHostMsg_ToggleFullscreen, bool /* enter_fullscreen */) |
| 855 | 858 |
| 856 // Messages to signal the presence or absence of BeforeUnload or Unload handlers | 859 // Messages to signal the presence or absence of BeforeUnload or Unload handlers |
| 857 // for a frame. |present| is true if there is at least one of the handlers for | 860 // for a frame. |present| is true if there is at least one of the handlers for |
| 858 // the frame. | 861 // the frame. |
| 859 IPC_MESSAGE_ROUTED1(FrameHostMsg_BeforeUnloadHandlersPresent, | 862 IPC_MESSAGE_ROUTED1(FrameHostMsg_BeforeUnloadHandlersPresent, |
| 860 bool /* present */) | 863 bool /* present */) |
| 861 IPC_MESSAGE_ROUTED1(FrameHostMsg_UnloadHandlersPresent, | 864 IPC_MESSAGE_ROUTED1(FrameHostMsg_UnloadHandlersPresent, |
| 862 bool /* present */) | 865 bool /* present */) |
| 863 | 866 |
| 867 // Dispatch a load event for this frame in the iframe element of an |
| 868 // out-of-process parent frame. |
| 869 IPC_MESSAGE_ROUTED0(FrameHostMsg_DispatchLoad) |
| 870 |
| 864 #if defined(OS_MACOSX) || defined(OS_ANDROID) | 871 #if defined(OS_MACOSX) || defined(OS_ANDROID) |
| 865 | 872 |
| 866 // Message to show/hide a popup menu using native controls. | 873 // Message to show/hide a popup menu using native controls. |
| 867 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, | 874 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, |
| 868 FrameHostMsg_ShowPopup_Params) | 875 FrameHostMsg_ShowPopup_Params) |
| 869 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) | 876 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) |
| 870 | 877 |
| 871 #endif | 878 #endif |
| OLD | NEW |