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