| 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 802 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 813 | 813 |
| 814 // Notifies the browser of an event occurring in the media pipeline. | 814 // Notifies the browser of an event occurring in the media pipeline. |
| 815 IPC_MESSAGE_CONTROL1(ViewHostMsg_MediaLogEvents, | 815 IPC_MESSAGE_CONTROL1(ViewHostMsg_MediaLogEvents, |
| 816 std::vector<media::MediaLogEvent> /* events */) | 816 std::vector<media::MediaLogEvent> /* events */) |
| 817 | 817 |
| 818 // Requests to lock the mouse. Will result in a ViewMsg_LockMouse_ACK message | 818 // Requests to lock the mouse. Will result in a ViewMsg_LockMouse_ACK message |
| 819 // being sent back. | 819 // being sent back. |
| 820 // |privileged| is used by Pepper Flash. If this flag is set to true, we won't | 820 // |privileged| is used by Pepper Flash. If this flag is set to true, we won't |
| 821 // pop up a bubble to ask for user permission or take mouse lock content into | 821 // pop up a bubble to ask for user permission or take mouse lock content into |
| 822 // account. | 822 // account. |
| 823 IPC_MESSAGE_ROUTED3(ViewHostMsg_LockMouse, | 823 IPC_MESSAGE_ROUTED2(ViewHostMsg_LockMouse, |
| 824 bool /* user_gesture */, | 824 bool /* user_gesture */, |
| 825 bool /* last_unlocked_by_target */, | |
| 826 bool /* privileged */) | 825 bool /* privileged */) |
| 827 | 826 |
| 828 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent | 827 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent |
| 829 // whenever the mouse is unlocked (which may or may not be caused by | 828 // whenever the mouse is unlocked (which may or may not be caused by |
| 830 // ViewHostMsg_UnlockMouse). | 829 // ViewHostMsg_UnlockMouse). |
| 831 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse) | 830 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse) |
| 832 | 831 |
| 833 // Notifies that multiple touch targets may have been pressed, and to show | 832 // Notifies that multiple touch targets may have been pressed, and to show |
| 834 // the disambiguation popup. | 833 // the disambiguation popup. |
| 835 IPC_MESSAGE_ROUTED3(ViewHostMsg_ShowDisambiguationPopup, | 834 IPC_MESSAGE_ROUTED3(ViewHostMsg_ShowDisambiguationPopup, |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 885 int /* y */) | 884 int /* y */) |
| 886 | 885 |
| 887 #elif defined(OS_MACOSX) | 886 #elif defined(OS_MACOSX) |
| 888 // Receives content of a web page as plain text. | 887 // Receives content of a web page as plain text. |
| 889 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) | 888 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) |
| 890 #endif | 889 #endif |
| 891 | 890 |
| 892 // Adding a new message? Stick to the sort order above: first platform | 891 // Adding a new message? Stick to the sort order above: first platform |
| 893 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 892 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 894 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 893 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |