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 1628 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1639 IPC_MESSAGE_ROUTED3(ViewHostMsg_LockMouse, | 1639 IPC_MESSAGE_ROUTED3(ViewHostMsg_LockMouse, |
1640 bool /* user_gesture */, | 1640 bool /* user_gesture */, |
1641 bool /* last_unlocked_by_target */, | 1641 bool /* last_unlocked_by_target */, |
1642 bool /* privileged */) | 1642 bool /* privileged */) |
1643 | 1643 |
1644 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent | 1644 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent |
1645 // whenever the mouse is unlocked (which may or may not be caused by | 1645 // whenever the mouse is unlocked (which may or may not be caused by |
1646 // ViewHostMsg_UnlockMouse). | 1646 // ViewHostMsg_UnlockMouse). |
1647 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse) | 1647 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse) |
1648 | 1648 |
1649 // Notifies that the initial empty document of a view has been accessed. | |
1650 // After this, it is no longer safe to show a pending navigation's URL without | |
1651 // making a URL spoof possible. | |
1652 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidAccessInitialDocument) | |
1653 | |
1654 // Notifies that multiple touch targets may have been pressed, and to show | 1649 // Notifies that multiple touch targets may have been pressed, and to show |
1655 // the disambiguation popup. | 1650 // the disambiguation popup. |
1656 IPC_MESSAGE_ROUTED3(ViewHostMsg_ShowDisambiguationPopup, | 1651 IPC_MESSAGE_ROUTED3(ViewHostMsg_ShowDisambiguationPopup, |
1657 gfx::Rect, /* Border of touched targets */ | 1652 gfx::Rect, /* Border of touched targets */ |
1658 gfx::Size, /* Size of zoomed image */ | 1653 gfx::Size, /* Size of zoomed image */ |
1659 cc::SharedBitmapId /* id */) | 1654 cc::SharedBitmapId /* id */) |
1660 | 1655 |
1661 // Sent by the renderer process to check whether client 3D APIs | 1656 // Sent by the renderer process to check whether client 3D APIs |
1662 // (Pepper 3D, WebGL) are explicitly blocked. | 1657 // (Pepper 3D, WebGL) are explicitly blocked. |
1663 IPC_SYNC_MESSAGE_CONTROL3_1(ViewHostMsg_Are3DAPIsBlocked, | 1658 IPC_SYNC_MESSAGE_CONTROL3_1(ViewHostMsg_Are3DAPIsBlocked, |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1819 // synchronously (see crbug.com/120597). This IPC message sends the character | 1814 // synchronously (see crbug.com/120597). This IPC message sends the character |
1820 // bounds after every composition change to always have correct bound info. | 1815 // bounds after every composition change to always have correct bound info. |
1821 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 1816 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
1822 gfx::Range /* composition range */, | 1817 gfx::Range /* composition range */, |
1823 std::vector<gfx::Rect> /* character bounds */) | 1818 std::vector<gfx::Rect> /* character bounds */) |
1824 #endif | 1819 #endif |
1825 | 1820 |
1826 // Adding a new message? Stick to the sort order above: first platform | 1821 // Adding a new message? Stick to the sort order above: first platform |
1827 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1822 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1828 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1823 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |