| 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 553 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 564 // we don't have to fetch it every time WebKit asks for it. | 564 // we don't have to fetch it every time WebKit asks for it. |
| 565 IPC_MESSAGE_ROUTED1(ViewMsg_Resize, content::ResizeParams /* params */) | 565 IPC_MESSAGE_ROUTED1(ViewMsg_Resize, content::ResizeParams /* params */) |
| 566 | 566 |
| 567 // Enables device emulation. See WebDeviceEmulationParams for description. | 567 // Enables device emulation. See WebDeviceEmulationParams for description. |
| 568 IPC_MESSAGE_ROUTED1(ViewMsg_EnableDeviceEmulation, | 568 IPC_MESSAGE_ROUTED1(ViewMsg_EnableDeviceEmulation, |
| 569 blink::WebDeviceEmulationParams /* params */) | 569 blink::WebDeviceEmulationParams /* params */) |
| 570 | 570 |
| 571 // Disables device emulation, enabled previously by EnableDeviceEmulation. | 571 // Disables device emulation, enabled previously by EnableDeviceEmulation. |
| 572 IPC_MESSAGE_ROUTED0(ViewMsg_DisableDeviceEmulation) | 572 IPC_MESSAGE_ROUTED0(ViewMsg_DisableDeviceEmulation) |
| 573 | 573 |
| 574 // Sent to inform the renderer of its screen device color profile. An empty | |
| 575 // profile tells the renderer use the default sRGB color profile. | |
| 576 IPC_MESSAGE_ROUTED1(ViewMsg_ColorProfile, | |
| 577 std::vector<char> /* color profile */) | |
| 578 | |
| 579 // Tells the render view that the resize rect has changed. | 574 // Tells the render view that the resize rect has changed. |
| 580 IPC_MESSAGE_ROUTED1(ViewMsg_ChangeResizeRect, | 575 IPC_MESSAGE_ROUTED1(ViewMsg_ChangeResizeRect, |
| 581 gfx::Rect /* resizer_rect */) | 576 gfx::Rect /* resizer_rect */) |
| 582 | 577 |
| 583 // Sent to inform the view that it was hidden. This allows it to reduce its | 578 // Sent to inform the view that it was hidden. This allows it to reduce its |
| 584 // resource utilization. | 579 // resource utilization. |
| 585 IPC_MESSAGE_ROUTED0(ViewMsg_WasHidden) | 580 IPC_MESSAGE_ROUTED0(ViewMsg_WasHidden) |
| 586 | 581 |
| 587 // Tells the render view that it is no longer hidden (see WasHidden), and the | 582 // Tells the render view that it is no longer hidden (see WasHidden), and the |
| 588 // render view is expected to respond with a full repaint if needs_repainting | 583 // render view is expected to respond with a full repaint if needs_repainting |
| (...skipping 600 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1189 int /* y */) | 1184 int /* y */) |
| 1190 | 1185 |
| 1191 #elif defined(OS_MACOSX) | 1186 #elif defined(OS_MACOSX) |
| 1192 // Receives content of a web page as plain text. | 1187 // Receives content of a web page as plain text. |
| 1193 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) | 1188 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) |
| 1194 #endif | 1189 #endif |
| 1195 | 1190 |
| 1196 // Adding a new message? Stick to the sort order above: first platform | 1191 // Adding a new message? Stick to the sort order above: first platform |
| 1197 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1192 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 1198 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1193 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |