| 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 806 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 817 // ViewHostMsg_UnlockMouse). | 817 // ViewHostMsg_UnlockMouse). |
| 818 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse) | 818 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse) |
| 819 | 819 |
| 820 // Notifies that multiple touch targets may have been pressed, and to show | 820 // Notifies that multiple touch targets may have been pressed, and to show |
| 821 // the disambiguation popup. | 821 // the disambiguation popup. |
| 822 IPC_MESSAGE_ROUTED3(ViewHostMsg_ShowDisambiguationPopup, | 822 IPC_MESSAGE_ROUTED3(ViewHostMsg_ShowDisambiguationPopup, |
| 823 gfx::Rect, /* Border of touched targets */ | 823 gfx::Rect, /* Border of touched targets */ |
| 824 gfx::Size, /* Size of zoomed image */ | 824 gfx::Size, /* Size of zoomed image */ |
| 825 cc::SharedBitmapId /* id */) | 825 cc::SharedBitmapId /* id */) |
| 826 | 826 |
| 827 // Notifies the browser that document has parsed the body. This is used by the | |
| 828 // ResourceScheduler as an indication that bandwidth contention won't block | |
| 829 // first paint. | |
| 830 IPC_MESSAGE_ROUTED0(ViewHostMsg_WillInsertBody) | |
| 831 | |
| 832 // Notification that the urls for the favicon of a site has been determined. | 827 // Notification that the urls for the favicon of a site has been determined. |
| 833 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateFaviconURL, | 828 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateFaviconURL, |
| 834 std::vector<content::FaviconURL> /* candidates */) | 829 std::vector<content::FaviconURL> /* candidates */) |
| 835 | 830 |
| 836 // Message sent from renderer to the browser when the element that is focused | 831 // Message sent from renderer to the browser when the element that is focused |
| 837 // has been touched. A bool is passed in this message which indicates if the | 832 // has been touched. A bool is passed in this message which indicates if the |
| 838 // node is editable. | 833 // node is editable. |
| 839 IPC_MESSAGE_ROUTED1(ViewHostMsg_FocusedNodeTouched, | 834 IPC_MESSAGE_ROUTED1(ViewHostMsg_FocusedNodeTouched, |
| 840 bool /* editable */) | 835 bool /* editable */) |
| 841 | 836 |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 887 int /* y */) | 882 int /* y */) |
| 888 | 883 |
| 889 #elif defined(OS_MACOSX) | 884 #elif defined(OS_MACOSX) |
| 890 // Receives content of a web page as plain text. | 885 // Receives content of a web page as plain text. |
| 891 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) | 886 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) |
| 892 #endif | 887 #endif |
| 893 | 888 |
| 894 // Adding a new message? Stick to the sort order above: first platform | 889 // Adding a new message? Stick to the sort order above: first platform |
| 895 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 890 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 896 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 891 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |