| 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 661 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 672 | 672 |
| 673 // Sent to update part of the view. In response to this message, the host | 673 // Sent to update part of the view. In response to this message, the host |
| 674 // generates a ViewMsg_UpdateRect_ACK message. | 674 // generates a ViewMsg_UpdateRect_ACK message. |
| 675 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateRect, | 675 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateRect, |
| 676 ViewHostMsg_UpdateRect_Params) | 676 ViewHostMsg_UpdateRect_Params) |
| 677 | 677 |
| 678 IPC_MESSAGE_ROUTED0(ViewHostMsg_Focus) | 678 IPC_MESSAGE_ROUTED0(ViewHostMsg_Focus) |
| 679 | 679 |
| 680 IPC_MESSAGE_ROUTED1(ViewHostMsg_SetCursor, content::WebCursor) | 680 IPC_MESSAGE_ROUTED1(ViewHostMsg_SetCursor, content::WebCursor) |
| 681 | 681 |
| 682 // Request a non-decelerating synthetic fling animation to be latched on the |
| 683 // scroller at the start point, and whose velocity can be changed over time by |
| 684 // sending multiple AutoscrollFling gestures. Used for features like |
| 685 // middle-click autoscroll. |
| 686 IPC_MESSAGE_ROUTED1(ViewHostMsg_AutoscrollStart, gfx::PointF /* start */) |
| 687 IPC_MESSAGE_ROUTED1(ViewHostMsg_AutoscrollFling, gfx::Vector2dF /* velocity */) |
| 688 IPC_MESSAGE_ROUTED0(ViewHostMsg_AutoscrollEnd) |
| 689 |
| 682 // Get the list of proxies to use for |url|, as a semicolon delimited list | 690 // Get the list of proxies to use for |url|, as a semicolon delimited list |
| 683 // of "<TYPE> <HOST>:<PORT>" | "DIRECT". | 691 // of "<TYPE> <HOST>:<PORT>" | "DIRECT". |
| 684 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_ResolveProxy, | 692 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_ResolveProxy, |
| 685 GURL /* url */, | 693 GURL /* url */, |
| 686 bool /* result */, | 694 bool /* result */, |
| 687 std::string /* proxy list */) | 695 std::string /* proxy list */) |
| 688 | 696 |
| 689 // A renderer sends this to the browser process when it wants to create a | 697 // A renderer sends this to the browser process when it wants to create a |
| 690 // worker. The browser will create the worker process if necessary, and | 698 // worker. The browser will create the worker process if necessary, and |
| 691 // will return the route id on in the reply on success. On error returns | 699 // will return the route id on in the reply on success. On error returns |
| (...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 871 int /* y */) | 879 int /* y */) |
| 872 | 880 |
| 873 #elif defined(OS_MACOSX) | 881 #elif defined(OS_MACOSX) |
| 874 // Receives content of a web page as plain text. | 882 // Receives content of a web page as plain text. |
| 875 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) | 883 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) |
| 876 #endif | 884 #endif |
| 877 | 885 |
| 878 // Adding a new message? Stick to the sort order above: first platform | 886 // Adding a new message? Stick to the sort order above: first platform |
| 879 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 887 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 880 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 888 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |