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 2037 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2048 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent | 2048 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent |
2049 // whenever the mouse is unlocked (which may or may not be caused by | 2049 // whenever the mouse is unlocked (which may or may not be caused by |
2050 // ViewHostMsg_UnlockMouse). | 2050 // ViewHostMsg_UnlockMouse). |
2051 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse) | 2051 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse) |
2052 | 2052 |
2053 // Notifies that the initial empty document of a view has been accessed. | 2053 // Notifies that the initial empty document of a view has been accessed. |
2054 // After this, it is no longer safe to show a pending navigation's URL without | 2054 // After this, it is no longer safe to show a pending navigation's URL without |
2055 // making a URL spoof possible. | 2055 // making a URL spoof possible. |
2056 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidAccessInitialDocument) | 2056 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidAccessInitialDocument) |
2057 | 2057 |
2058 // Following message is used to communicate the values received by the | |
2059 // callback binding the JS to Cpp. | |
2060 // An instance of browser that has an automation host listening to it can | |
2061 // have a javascript send a native value (string, number, boolean) to the | |
2062 // listener in Cpp. (DomAutomationController) | |
2063 IPC_MESSAGE_ROUTED2(ViewHostMsg_DomOperationResponse, | |
2064 std::string /* json_string */, | |
2065 int /* automation_id */) | |
2066 | |
2067 // Notifies that multiple touch targets may have been pressed, and to show | 2058 // Notifies that multiple touch targets may have been pressed, and to show |
2068 // the disambiguation popup. | 2059 // the disambiguation popup. |
2069 IPC_MESSAGE_ROUTED3(ViewHostMsg_ShowDisambiguationPopup, | 2060 IPC_MESSAGE_ROUTED3(ViewHostMsg_ShowDisambiguationPopup, |
2070 gfx::Rect, /* Border of touched targets */ | 2061 gfx::Rect, /* Border of touched targets */ |
2071 gfx::Size, /* Size of zoomed image */ | 2062 gfx::Size, /* Size of zoomed image */ |
2072 TransportDIB::Id /* DIB of zoomed image */) | 2063 TransportDIB::Id /* DIB of zoomed image */) |
2073 | 2064 |
2074 // Sent by the renderer process to check whether client 3D APIs | 2065 // Sent by the renderer process to check whether client 3D APIs |
2075 // (Pepper 3D, WebGL) are explicitly blocked. | 2066 // (Pepper 3D, WebGL) are explicitly blocked. |
2076 IPC_SYNC_MESSAGE_CONTROL3_1(ViewHostMsg_Are3DAPIsBlocked, | 2067 IPC_SYNC_MESSAGE_CONTROL3_1(ViewHostMsg_Are3DAPIsBlocked, |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2232 // synchronously (see crbug.com/120597). This IPC message sends the character | 2223 // synchronously (see crbug.com/120597). This IPC message sends the character |
2233 // bounds after every composition change to always have correct bound info. | 2224 // bounds after every composition change to always have correct bound info. |
2234 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 2225 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
2235 gfx::Range /* composition range */, | 2226 gfx::Range /* composition range */, |
2236 std::vector<gfx::Rect> /* character bounds */) | 2227 std::vector<gfx::Rect> /* character bounds */) |
2237 #endif | 2228 #endif |
2238 | 2229 |
2239 // Adding a new message? Stick to the sort order above: first platform | 2230 // Adding a new message? Stick to the sort order above: first platform |
2240 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 2231 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
2241 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 2232 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |