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 724 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
735 | 735 |
736 // Requests the corresponding RenderFrameProxy to be deleted and removed from | 736 // Requests the corresponding RenderFrameProxy to be deleted and removed from |
737 // the frame tree. | 737 // the frame tree. |
738 IPC_MESSAGE_ROUTED0(FrameMsg_DeleteProxy) | 738 IPC_MESSAGE_ROUTED0(FrameMsg_DeleteProxy) |
739 | 739 |
740 // Request the text surrounding the selection with a |max_length|. The response | 740 // Request the text surrounding the selection with a |max_length|. The response |
741 // will be sent via FrameHostMsg_TextSurroundingSelectionResponse. | 741 // will be sent via FrameHostMsg_TextSurroundingSelectionResponse. |
742 IPC_MESSAGE_ROUTED1(FrameMsg_TextSurroundingSelectionRequest, | 742 IPC_MESSAGE_ROUTED1(FrameMsg_TextSurroundingSelectionRequest, |
743 uint32_t /* max_length */) | 743 uint32_t /* max_length */) |
744 | 744 |
| 745 // Extracts the data at the given rect, returning it through the |
| 746 // SmartClipDataExtracted IPC. |
| 747 IPC_MESSAGE_ROUTED2(FrameMsg_ExtractSmartClipData, |
| 748 int /* id */, |
| 749 gfx::Rect /* rect */) |
| 750 |
745 // Requests information about currently focused text input element from the | 751 // Requests information about currently focused text input element from the |
746 // renderer. | 752 // renderer. |
747 IPC_MESSAGE_ROUTED1(FrameMsg_FocusedFormFieldDataRequest, int /* request_id */) | 753 IPC_MESSAGE_ROUTED1(FrameMsg_FocusedFormFieldDataRequest, int /* request_id */) |
748 | 754 |
749 // Change the accessibility mode in the renderer process. | 755 // Change the accessibility mode in the renderer process. |
750 IPC_MESSAGE_ROUTED1(FrameMsg_SetAccessibilityMode, | 756 IPC_MESSAGE_ROUTED1(FrameMsg_SetAccessibilityMode, |
751 AccessibilityMode) | 757 AccessibilityMode) |
752 | 758 |
753 // Dispatch a load event in the iframe element containing this frame. | 759 // Dispatch a load event in the iframe element containing this frame. |
754 IPC_MESSAGE_ROUTED0(FrameMsg_DispatchLoad) | 760 IPC_MESSAGE_ROUTED0(FrameMsg_DispatchLoad) |
(...skipping 679 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1434 // PlzNavigate | 1440 // PlzNavigate |
1435 // Tells the browser to perform a navigation. | 1441 // Tells the browser to perform a navigation. |
1436 IPC_MESSAGE_ROUTED2(FrameHostMsg_BeginNavigation, | 1442 IPC_MESSAGE_ROUTED2(FrameHostMsg_BeginNavigation, |
1437 content::CommonNavigationParams, | 1443 content::CommonNavigationParams, |
1438 content::BeginNavigationParams) | 1444 content::BeginNavigationParams) |
1439 | 1445 |
1440 // Sent as a response to FrameMsg_VisualStateRequest. | 1446 // Sent as a response to FrameMsg_VisualStateRequest. |
1441 // The message is delivered using RenderWidget::QueueMessage. | 1447 // The message is delivered using RenderWidget::QueueMessage. |
1442 IPC_MESSAGE_ROUTED1(FrameHostMsg_VisualStateResponse, uint64_t /* id */) | 1448 IPC_MESSAGE_ROUTED1(FrameHostMsg_VisualStateResponse, uint64_t /* id */) |
1443 | 1449 |
| 1450 // Reply to the ExtractSmartClipData message. |
| 1451 IPC_MESSAGE_ROUTED3(FrameHostMsg_SmartClipDataExtracted, |
| 1452 int /* id */, |
| 1453 base::string16 /* text */, |
| 1454 base::string16 /* html */) |
| 1455 |
1444 // Puts the browser into "tab fullscreen" mode for the sending renderer. | 1456 // Puts the browser into "tab fullscreen" mode for the sending renderer. |
1445 // See the comment in chrome/browser/ui/browser.h for more details. | 1457 // See the comment in chrome/browser/ui/browser.h for more details. |
1446 IPC_MESSAGE_ROUTED1(FrameHostMsg_ToggleFullscreen, bool /* enter_fullscreen */) | 1458 IPC_MESSAGE_ROUTED1(FrameHostMsg_ToggleFullscreen, bool /* enter_fullscreen */) |
1447 | 1459 |
1448 // Dispatch a load event for this frame in the iframe element of an | 1460 // Dispatch a load event for this frame in the iframe element of an |
1449 // out-of-process parent frame. | 1461 // out-of-process parent frame. |
1450 IPC_MESSAGE_ROUTED0(FrameHostMsg_DispatchLoad) | 1462 IPC_MESSAGE_ROUTED0(FrameHostMsg_DispatchLoad) |
1451 | 1463 |
1452 // Sent to the browser from a frame proxy to post a message to the frame's | 1464 // Sent to the browser from a frame proxy to post a message to the frame's |
1453 // active renderer. | 1465 // active renderer. |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1563 // nearest find result in the sending frame. | 1575 // nearest find result in the sending frame. |
1564 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, | 1576 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, |
1565 int /* nfr_request_id */, | 1577 int /* nfr_request_id */, |
1566 float /* distance */) | 1578 float /* distance */) |
1567 #endif | 1579 #endif |
1568 | 1580 |
1569 // Adding a new message? Stick to the sort order above: first platform | 1581 // Adding a new message? Stick to the sort order above: first platform |
1570 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1582 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
1571 // platform independent FrameHostMsg, then ifdefs for platform specific | 1583 // platform independent FrameHostMsg, then ifdefs for platform specific |
1572 // FrameHostMsg. | 1584 // FrameHostMsg. |
OLD | NEW |