OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 page rendering. | 5 // IPC messages for page rendering. |
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 850 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
861 uint32_t /* surface_id_namespace */) | 861 uint32_t /* surface_id_namespace */) |
862 | 862 |
863 IPC_MESSAGE_ROUTED0(ViewMsg_SelectWordAroundCaret) | 863 IPC_MESSAGE_ROUTED0(ViewMsg_SelectWordAroundCaret) |
864 | 864 |
865 // Sent by the browser to ask the renderer to redraw. | 865 // Sent by the browser to ask the renderer to redraw. |
866 // If |request_id| is not zero, it is added to the forced frame's latency info | 866 // If |request_id| is not zero, it is added to the forced frame's latency info |
867 // as ui::WINDOW_SNAPSHOT_FRAME_NUMBER_COMPONENT. | 867 // as ui::WINDOW_SNAPSHOT_FRAME_NUMBER_COMPONENT. |
868 IPC_MESSAGE_ROUTED1(ViewMsg_ForceRedraw, | 868 IPC_MESSAGE_ROUTED1(ViewMsg_ForceRedraw, |
869 int /* request_id */) | 869 int /* request_id */) |
870 | 870 |
| 871 // Let renderer know begin frame messages won't be sent even if requested. |
| 872 IPC_MESSAGE_ROUTED1(ViewMsg_SetBeginFramePaused, bool /* paused */) |
| 873 |
871 // Sent by the browser when the renderer should generate a new frame. | 874 // Sent by the browser when the renderer should generate a new frame. |
872 IPC_MESSAGE_ROUTED1(ViewMsg_BeginFrame, | 875 IPC_MESSAGE_ROUTED1(ViewMsg_BeginFrame, |
873 cc::BeginFrameArgs /* args */) | 876 cc::BeginFrameArgs /* args */) |
874 | 877 |
875 // Sent by the browser to deliver a compositor proto to the renderer. | 878 // Sent by the browser to deliver a compositor proto to the renderer. |
876 IPC_MESSAGE_ROUTED1(ViewMsg_HandleCompositorProto, | 879 IPC_MESSAGE_ROUTED1(ViewMsg_HandleCompositorProto, |
877 std::vector<uint8_t> /* proto */) | 880 std::vector<uint8_t> /* proto */) |
878 | 881 |
879 // ----------------------------------------------------------------------------- | 882 // ----------------------------------------------------------------------------- |
880 // Messages sent from the renderer to the browser. | 883 // Messages sent from the renderer to the browser. |
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1246 int /* y */) | 1249 int /* y */) |
1247 | 1250 |
1248 #elif defined(OS_MACOSX) | 1251 #elif defined(OS_MACOSX) |
1249 // Receives content of a web page as plain text. | 1252 // Receives content of a web page as plain text. |
1250 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) | 1253 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) |
1251 #endif | 1254 #endif |
1252 | 1255 |
1253 // Adding a new message? Stick to the sort order above: first platform | 1256 // Adding a new message? Stick to the sort order above: first platform |
1254 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1257 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1255 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1258 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |