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 "base/memory/shared_memory.h" | 8 #include "base/memory/shared_memory.h" |
9 #include "base/process/process.h" | 9 #include "base/process/process.h" |
10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
(...skipping 1638 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1649 IPC_MESSAGE_ROUTED3(ViewHostMsg_LockMouse, | 1649 IPC_MESSAGE_ROUTED3(ViewHostMsg_LockMouse, |
1650 bool /* user_gesture */, | 1650 bool /* user_gesture */, |
1651 bool /* last_unlocked_by_target */, | 1651 bool /* last_unlocked_by_target */, |
1652 bool /* privileged */) | 1652 bool /* privileged */) |
1653 | 1653 |
1654 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent | 1654 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent |
1655 // whenever the mouse is unlocked (which may or may not be caused by | 1655 // whenever the mouse is unlocked (which may or may not be caused by |
1656 // ViewHostMsg_UnlockMouse). | 1656 // ViewHostMsg_UnlockMouse). |
1657 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse) | 1657 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse) |
1658 | 1658 |
1659 // Notifies that the initial empty document of a view has been accessed. | |
1660 // After this, it is no longer safe to show a pending navigation's URL without | |
1661 // making a URL spoof possible. | |
1662 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidAccessInitialDocument) | |
1663 | |
1664 // Notifies that multiple touch targets may have been pressed, and to show | 1659 // Notifies that multiple touch targets may have been pressed, and to show |
1665 // the disambiguation popup. | 1660 // the disambiguation popup. |
1666 IPC_MESSAGE_ROUTED3(ViewHostMsg_ShowDisambiguationPopup, | 1661 IPC_MESSAGE_ROUTED3(ViewHostMsg_ShowDisambiguationPopup, |
1667 gfx::Rect, /* Border of touched targets */ | 1662 gfx::Rect, /* Border of touched targets */ |
1668 gfx::Size, /* Size of zoomed image */ | 1663 gfx::Size, /* Size of zoomed image */ |
1669 cc::SharedBitmapId /* id */) | 1664 cc::SharedBitmapId /* id */) |
1670 | 1665 |
1671 // Sent by the renderer process to check whether client 3D APIs | 1666 // Sent by the renderer process to check whether client 3D APIs |
1672 // (Pepper 3D, WebGL) are explicitly blocked. | 1667 // (Pepper 3D, WebGL) are explicitly blocked. |
1673 IPC_SYNC_MESSAGE_CONTROL3_1(ViewHostMsg_Are3DAPIsBlocked, | 1668 IPC_SYNC_MESSAGE_CONTROL3_1(ViewHostMsg_Are3DAPIsBlocked, |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1829 // synchronously (see crbug.com/120597). This IPC message sends the character | 1824 // synchronously (see crbug.com/120597). This IPC message sends the character |
1830 // bounds after every composition change to always have correct bound info. | 1825 // bounds after every composition change to always have correct bound info. |
1831 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 1826 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
1832 gfx::Range /* composition range */, | 1827 gfx::Range /* composition range */, |
1833 std::vector<gfx::Rect> /* character bounds */) | 1828 std::vector<gfx::Rect> /* character bounds */) |
1834 #endif | 1829 #endif |
1835 | 1830 |
1836 // Adding a new message? Stick to the sort order above: first platform | 1831 // Adding a new message? Stick to the sort order above: first platform |
1837 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1832 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1838 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1833 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |