| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 930 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 941 // ScopedPageLoadDeferrer is on the stack for SwapOut. | 941 // ScopedPageLoadDeferrer is on the stack for SwapOut. |
| 942 IPC_MESSAGE_ROUTED0(FrameMsg_SuppressFurtherDialogs) | 942 IPC_MESSAGE_ROUTED0(FrameMsg_SuppressFurtherDialogs) |
| 943 | 943 |
| 944 // Tells the frame to consider itself to have received a user gesture (based | 944 // Tells the frame to consider itself to have received a user gesture (based |
| 945 // on a user gesture processed in a different process). | 945 // on a user gesture processed in a different process). |
| 946 IPC_MESSAGE_ROUTED0(FrameMsg_SetHasReceivedUserGesture) | 946 IPC_MESSAGE_ROUTED0(FrameMsg_SetHasReceivedUserGesture) |
| 947 | 947 |
| 948 IPC_MESSAGE_ROUTED1(FrameMsg_RunFileChooserResponse, | 948 IPC_MESSAGE_ROUTED1(FrameMsg_RunFileChooserResponse, |
| 949 std::vector<content::FileChooserFileInfo>) | 949 std::vector<content::FileChooserFileInfo>) |
| 950 | 950 |
| 951 IPC_MESSAGE_ROUTED2(FrameMsg_PrintFrame, |
| 952 gfx::Rect, /* print area */ |
| 953 int /* root frame id */) |
| 954 |
| 951 // ----------------------------------------------------------------------------- | 955 // ----------------------------------------------------------------------------- |
| 952 // Messages sent from the renderer to the browser. | 956 // Messages sent from the renderer to the browser. |
| 953 | 957 |
| 954 // Blink and JavaScript error messages to log to the console | 958 // Blink and JavaScript error messages to log to the console |
| 955 // or debugger UI. | 959 // or debugger UI. |
| 956 IPC_MESSAGE_ROUTED4(FrameHostMsg_DidAddMessageToConsole, | 960 IPC_MESSAGE_ROUTED4(FrameHostMsg_DidAddMessageToConsole, |
| 957 int32_t, /* log level */ | 961 int32_t, /* log level */ |
| 958 base::string16, /* msg */ | 962 base::string16, /* msg */ |
| 959 int32_t, /* line number */ | 963 int32_t, /* line number */ |
| 960 base::string16 /* source id */) | 964 base::string16 /* source id */) |
| (...skipping 571 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1532 int /* active_match_ordinal */, | 1536 int /* active_match_ordinal */, |
| 1533 bool /* final_update */) | 1537 bool /* final_update */) |
| 1534 | 1538 |
| 1535 // Sends hittesting data needed to perform hittesting on the browser process. | 1539 // Sends hittesting data needed to perform hittesting on the browser process. |
| 1536 IPC_MESSAGE_ROUTED1(FrameHostMsg_HittestData, FrameHostMsg_HittestData_Params) | 1540 IPC_MESSAGE_ROUTED1(FrameHostMsg_HittestData, FrameHostMsg_HittestData_Params) |
| 1537 | 1541 |
| 1538 // Asks the browser to display the file chooser. The result is returned in a | 1542 // Asks the browser to display the file chooser. The result is returned in a |
| 1539 // FrameMsg_RunFileChooserResponse message. | 1543 // FrameMsg_RunFileChooserResponse message. |
| 1540 IPC_MESSAGE_ROUTED1(FrameHostMsg_RunFileChooser, content::FileChooserParams) | 1544 IPC_MESSAGE_ROUTED1(FrameHostMsg_RunFileChooser, content::FileChooserParams) |
| 1541 | 1545 |
| 1546 // Tells the parent that a child's frame, which is a remote frame, needs to |
| 1547 // be printed. |
| 1548 IPC_MESSAGE_ROUTED2(FrameHostMsg_PrintRemoteFrame, gfx::Rect /* size */, int) |
| 1549 |
| 1542 #if defined(USE_EXTERNAL_POPUP_MENU) | 1550 #if defined(USE_EXTERNAL_POPUP_MENU) |
| 1543 | 1551 |
| 1544 // Message to show/hide a popup menu using native controls. | 1552 // Message to show/hide a popup menu using native controls. |
| 1545 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, | 1553 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, |
| 1546 FrameHostMsg_ShowPopup_Params) | 1554 FrameHostMsg_ShowPopup_Params) |
| 1547 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) | 1555 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) |
| 1548 | 1556 |
| 1549 #endif | 1557 #endif |
| 1550 | 1558 |
| 1551 #if defined(OS_ANDROID) | 1559 #if defined(OS_ANDROID) |
| (...skipping 21 matching lines...) Expand all Loading... |
| 1573 // nearest find result in the sending frame. | 1581 // nearest find result in the sending frame. |
| 1574 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, | 1582 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, |
| 1575 int /* nfr_request_id */, | 1583 int /* nfr_request_id */, |
| 1576 float /* distance */) | 1584 float /* distance */) |
| 1577 #endif | 1585 #endif |
| 1578 | 1586 |
| 1579 // Adding a new message? Stick to the sort order above: first platform | 1587 // Adding a new message? Stick to the sort order above: first platform |
| 1580 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1588 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
| 1581 // platform independent FrameHostMsg, then ifdefs for platform specific | 1589 // platform independent FrameHostMsg, then ifdefs for platform specific |
| 1582 // FrameHostMsg. | 1590 // FrameHostMsg. |
| OLD | NEW |