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 924 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
935 // ScopedPageLoadDeferrer is on the stack for SwapOut. | 935 // ScopedPageLoadDeferrer is on the stack for SwapOut. |
936 IPC_MESSAGE_ROUTED0(FrameMsg_SuppressFurtherDialogs) | 936 IPC_MESSAGE_ROUTED0(FrameMsg_SuppressFurtherDialogs) |
937 | 937 |
938 // Tells the frame to consider itself to have received a user gesture (based | 938 // Tells the frame to consider itself to have received a user gesture (based |
939 // on a user gesture processed in a different process). | 939 // on a user gesture processed in a different process). |
940 IPC_MESSAGE_ROUTED0(FrameMsg_SetHasReceivedUserGesture) | 940 IPC_MESSAGE_ROUTED0(FrameMsg_SetHasReceivedUserGesture) |
941 | 941 |
942 IPC_MESSAGE_ROUTED1(FrameMsg_RunFileChooserResponse, | 942 IPC_MESSAGE_ROUTED1(FrameMsg_RunFileChooserResponse, |
943 std::vector<content::FileChooserFileInfo>) | 943 std::vector<content::FileChooserFileInfo>) |
944 | 944 |
| 945 // Used by the main-frame renderer to propagate page scale to subframes in other |
| 946 // renderer processes. |
| 947 IPC_MESSAGE_ROUTED1(FrameHostMsg_RestorePageScaleFactorOnLoad, |
| 948 float /* page_scale */) |
| 949 |
| 950 IPC_MESSAGE_ROUTED1(FrameMsg_SetPageScaleFactor, |
| 951 double /* page_scale_factor */) |
| 952 |
945 // ----------------------------------------------------------------------------- | 953 // ----------------------------------------------------------------------------- |
946 // Messages sent from the renderer to the browser. | 954 // Messages sent from the renderer to the browser. |
947 | 955 |
948 // Blink and JavaScript error messages to log to the console | 956 // Blink and JavaScript error messages to log to the console |
949 // or debugger UI. | 957 // or debugger UI. |
950 IPC_MESSAGE_ROUTED4(FrameHostMsg_DidAddMessageToConsole, | 958 IPC_MESSAGE_ROUTED4(FrameHostMsg_DidAddMessageToConsole, |
951 int32_t, /* log level */ | 959 int32_t, /* log level */ |
952 base::string16, /* msg */ | 960 base::string16, /* msg */ |
953 int32_t, /* line number */ | 961 int32_t, /* line number */ |
954 base::string16 /* source id */) | 962 base::string16 /* source id */) |
(...skipping 599 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1554 // nearest find result in the sending frame. | 1562 // nearest find result in the sending frame. |
1555 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, | 1563 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, |
1556 int /* nfr_request_id */, | 1564 int /* nfr_request_id */, |
1557 float /* distance */) | 1565 float /* distance */) |
1558 #endif | 1566 #endif |
1559 | 1567 |
1560 // Adding a new message? Stick to the sort order above: first platform | 1568 // Adding a new message? Stick to the sort order above: first platform |
1561 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1569 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
1562 // platform independent FrameHostMsg, then ifdefs for platform specific | 1570 // platform independent FrameHostMsg, then ifdefs for platform specific |
1563 // FrameHostMsg. | 1571 // FrameHostMsg. |
OLD | NEW |