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 1838 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1849 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent | 1849 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent |
1850 // whenever the mouse is unlocked (which may or may not be caused by | 1850 // whenever the mouse is unlocked (which may or may not be caused by |
1851 // ViewHostMsg_UnlockMouse). | 1851 // ViewHostMsg_UnlockMouse). |
1852 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse) | 1852 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse) |
1853 | 1853 |
1854 // Notifies that the initial empty document of a view has been accessed. | 1854 // Notifies that the initial empty document of a view has been accessed. |
1855 // After this, it is no longer safe to show a pending navigation's URL without | 1855 // After this, it is no longer safe to show a pending navigation's URL without |
1856 // making a URL spoof possible. | 1856 // making a URL spoof possible. |
1857 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidAccessInitialDocument) | 1857 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidAccessInitialDocument) |
1858 | 1858 |
1859 // Following message is used to communicate the values received by the | |
1860 // callback binding the JS to Cpp. | |
1861 // An instance of browser that has an automation host listening to it can | |
1862 // have a javascript send a native value (string, number, boolean) to the | |
1863 // listener in Cpp. (DomAutomationController) | |
1864 IPC_MESSAGE_ROUTED2(ViewHostMsg_DomOperationResponse, | |
1865 std::string /* json_string */, | |
1866 int /* automation_id */) | |
1867 | |
1868 // Notifies that multiple touch targets may have been pressed, and to show | 1859 // Notifies that multiple touch targets may have been pressed, and to show |
1869 // the disambiguation popup. | 1860 // the disambiguation popup. |
1870 IPC_MESSAGE_ROUTED3(ViewHostMsg_ShowDisambiguationPopup, | 1861 IPC_MESSAGE_ROUTED3(ViewHostMsg_ShowDisambiguationPopup, |
1871 gfx::Rect, /* Border of touched targets */ | 1862 gfx::Rect, /* Border of touched targets */ |
1872 gfx::Size, /* Size of zoomed image */ | 1863 gfx::Size, /* Size of zoomed image */ |
1873 TransportDIB::Id /* DIB of zoomed image */) | 1864 TransportDIB::Id /* DIB of zoomed image */) |
1874 | 1865 |
1875 // Sent by the renderer process to check whether client 3D APIs | 1866 // Sent by the renderer process to check whether client 3D APIs |
1876 // (Pepper 3D, WebGL) are explicitly blocked. | 1867 // (Pepper 3D, WebGL) are explicitly blocked. |
1877 IPC_SYNC_MESSAGE_CONTROL3_1(ViewHostMsg_Are3DAPIsBlocked, | 1868 IPC_SYNC_MESSAGE_CONTROL3_1(ViewHostMsg_Are3DAPIsBlocked, |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2033 // synchronously (see crbug.com/120597). This IPC message sends the character | 2024 // synchronously (see crbug.com/120597). This IPC message sends the character |
2034 // bounds after every composition change to always have correct bound info. | 2025 // bounds after every composition change to always have correct bound info. |
2035 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 2026 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
2036 gfx::Range /* composition range */, | 2027 gfx::Range /* composition range */, |
2037 std::vector<gfx::Rect> /* character bounds */) | 2028 std::vector<gfx::Rect> /* character bounds */) |
2038 #endif | 2029 #endif |
2039 | 2030 |
2040 // Adding a new message? Stick to the sort order above: first platform | 2031 // Adding a new message? Stick to the sort order above: first platform |
2041 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 2032 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
2042 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 2033 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |