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 608 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
619 IPC_MESSAGE_ROUTED1(ViewMsg_Zoom, | 619 IPC_MESSAGE_ROUTED1(ViewMsg_Zoom, |
620 content::PageZoom /* function */) | 620 content::PageZoom /* function */) |
621 | 621 |
622 // Set the zoom level for a particular url that the renderer is in the | 622 // Set the zoom level for a particular url that the renderer is in the |
623 // process of loading. This will be stored, to be used if the load commits | 623 // process of loading. This will be stored, to be used if the load commits |
624 // and ignored otherwise. | 624 // and ignored otherwise. |
625 IPC_MESSAGE_ROUTED2(ViewMsg_SetZoomLevelForLoadingURL, | 625 IPC_MESSAGE_ROUTED2(ViewMsg_SetZoomLevelForLoadingURL, |
626 GURL /* url */, | 626 GURL /* url */, |
627 double /* zoom_level */) | 627 double /* zoom_level */) |
628 | 628 |
629 // Change encoding of page in the renderer. | |
630 IPC_MESSAGE_ROUTED1(ViewMsg_SetPageEncoding, | |
631 std::string /*new encoding name*/) | |
632 | |
633 // Reset encoding of page in the renderer back to default. | |
634 IPC_MESSAGE_ROUTED0(ViewMsg_ResetPageEncodingToDefault) | |
635 | |
636 // Used to tell a render view whether it should expose various bindings | 629 // Used to tell a render view whether it should expose various bindings |
637 // that allow JS content extended privileges. See BindingsPolicy for valid | 630 // that allow JS content extended privileges. See BindingsPolicy for valid |
638 // flag values. | 631 // flag values. |
639 IPC_MESSAGE_ROUTED1(ViewMsg_AllowBindings, | 632 IPC_MESSAGE_ROUTED1(ViewMsg_AllowBindings, |
640 int /* enabled_bindings_flags */) | 633 int /* enabled_bindings_flags */) |
641 | 634 |
642 // Tell the renderer to add a property to the WebUI binding object. This | 635 // Tell the renderer to add a property to the WebUI binding object. This |
643 // only works if we allowed WebUI bindings. | 636 // only works if we allowed WebUI bindings. |
644 IPC_MESSAGE_ROUTED2(ViewMsg_SetWebUIProperty, | 637 IPC_MESSAGE_ROUTED2(ViewMsg_SetWebUIProperty, |
645 std::string /* property_name */, | 638 std::string /* property_name */, |
(...skipping 530 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1176 int /* y */) | 1169 int /* y */) |
1177 | 1170 |
1178 #elif defined(OS_MACOSX) | 1171 #elif defined(OS_MACOSX) |
1179 // Receives content of a web page as plain text. | 1172 // Receives content of a web page as plain text. |
1180 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) | 1173 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) |
1181 #endif | 1174 #endif |
1182 | 1175 |
1183 // Adding a new message? Stick to the sort order above: first platform | 1176 // Adding a new message? Stick to the sort order above: first platform |
1184 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1177 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1185 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1178 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |