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 733 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
744 // SmartClipDataExtracted IPC. | 744 // SmartClipDataExtracted IPC. |
745 IPC_MESSAGE_ROUTED2(FrameMsg_ExtractSmartClipData, | 745 IPC_MESSAGE_ROUTED2(FrameMsg_ExtractSmartClipData, |
746 uint32_t /* id */, | 746 uint32_t /* id */, |
747 gfx::Rect /* rect */) | 747 gfx::Rect /* rect */) |
748 | 748 |
749 // Requests information about currently focused text input element from the | 749 // Requests information about currently focused text input element from the |
750 // renderer. | 750 // renderer. |
751 IPC_MESSAGE_ROUTED1(FrameMsg_FocusedFormFieldDataRequest, int /* request_id */) | 751 IPC_MESSAGE_ROUTED1(FrameMsg_FocusedFormFieldDataRequest, int /* request_id */) |
752 | 752 |
753 // Change the accessibility mode in the renderer process. | 753 // Change the accessibility mode in the renderer process. |
| 754 IPC_ENUM_TRAITS_VALIDATE(AccessibilityMode, |
| 755 (value >= AccessibilityMode::OFF && |
| 756 value <= AccessibilityMode::COMPLETE)) |
| 757 |
754 IPC_MESSAGE_ROUTED1(FrameMsg_SetAccessibilityMode, | 758 IPC_MESSAGE_ROUTED1(FrameMsg_SetAccessibilityMode, |
755 AccessibilityMode) | 759 AccessibilityMode) |
756 | 760 |
757 // Dispatch a load event in the iframe element containing this frame. | 761 // Dispatch a load event in the iframe element containing this frame. |
758 IPC_MESSAGE_ROUTED0(FrameMsg_DispatchLoad) | 762 IPC_MESSAGE_ROUTED0(FrameMsg_DispatchLoad) |
759 | 763 |
760 // Notifies the frame that its parent has changed the frame's sandbox flags. | 764 // Notifies the frame that its parent has changed the frame's sandbox flags. |
761 IPC_MESSAGE_ROUTED1(FrameMsg_DidUpdateSandboxFlags, blink::WebSandboxFlags) | 765 IPC_MESSAGE_ROUTED1(FrameMsg_DidUpdateSandboxFlags, blink::WebSandboxFlags) |
762 | 766 |
763 // Update a proxy's window.name property. Used when the frame's name is | 767 // Update a proxy's window.name property. Used when the frame's name is |
(...skipping 826 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1590 // nearest find result in the sending frame. | 1594 // nearest find result in the sending frame. |
1591 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, | 1595 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, |
1592 int /* nfr_request_id */, | 1596 int /* nfr_request_id */, |
1593 float /* distance */) | 1597 float /* distance */) |
1594 #endif | 1598 #endif |
1595 | 1599 |
1596 // Adding a new message? Stick to the sort order above: first platform | 1600 // Adding a new message? Stick to the sort order above: first platform |
1597 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1601 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
1598 // platform independent FrameHostMsg, then ifdefs for platform specific | 1602 // platform independent FrameHostMsg, then ifdefs for platform specific |
1599 // FrameHostMsg. | 1603 // FrameHostMsg. |
OLD | NEW |