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/process.h" | 8 #include "base/process.h" |
9 #include "base/shared_memory.h" | 9 #include "base/shared_memory.h" |
10 #include "base/string16.h" | 10 #include "base/string16.h" |
(...skipping 2139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2150 IPC_MESSAGE_ROUTED3(ViewHostMsg_LockMouse, | 2150 IPC_MESSAGE_ROUTED3(ViewHostMsg_LockMouse, |
2151 bool /* user_gesture */, | 2151 bool /* user_gesture */, |
2152 bool /* last_unlocked_by_target */, | 2152 bool /* last_unlocked_by_target */, |
2153 bool /* privileged */) | 2153 bool /* privileged */) |
2154 | 2154 |
2155 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent | 2155 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent |
2156 // whenever the mouse is unlocked (which may or may not be caused by | 2156 // whenever the mouse is unlocked (which may or may not be caused by |
2157 // ViewHostMsg_UnlockMouse). | 2157 // ViewHostMsg_UnlockMouse). |
2158 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse) | 2158 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse) |
2159 | 2159 |
| 2160 // Notifies that the initial empty document of a view has been accessed. |
| 2161 // After this, it is no longer safe to show a pending navigation's URL without |
| 2162 // making a URL spoof possible. |
| 2163 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidAccessInitialDocument) |
| 2164 |
2160 // Following message is used to communicate the values received by the | 2165 // Following message is used to communicate the values received by the |
2161 // callback binding the JS to Cpp. | 2166 // callback binding the JS to Cpp. |
2162 // An instance of browser that has an automation host listening to it can | 2167 // An instance of browser that has an automation host listening to it can |
2163 // have a javascript send a native value (string, number, boolean) to the | 2168 // have a javascript send a native value (string, number, boolean) to the |
2164 // listener in Cpp. (DomAutomationController) | 2169 // listener in Cpp. (DomAutomationController) |
2165 IPC_MESSAGE_ROUTED2(ViewHostMsg_DomOperationResponse, | 2170 IPC_MESSAGE_ROUTED2(ViewHostMsg_DomOperationResponse, |
2166 std::string /* json_string */, | 2171 std::string /* json_string */, |
2167 int /* automation_id */) | 2172 int /* automation_id */) |
2168 | 2173 |
2169 // Sent to the browser when the renderer detects it is blocked on a pepper | 2174 // Sent to the browser when the renderer detects it is blocked on a pepper |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2314 // Since the browser keeps handles to the allocated transport DIBs, this | 2319 // Since the browser keeps handles to the allocated transport DIBs, this |
2315 // message is sent to tell the browser that it may release them when the | 2320 // message is sent to tell the browser that it may release them when the |
2316 // renderer is finished with them. | 2321 // renderer is finished with them. |
2317 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, | 2322 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, |
2318 TransportDIB::Id /* DIB id */) | 2323 TransportDIB::Id /* DIB id */) |
2319 #endif | 2324 #endif |
2320 | 2325 |
2321 // Adding a new message? Stick to the sort order above: first platform | 2326 // Adding a new message? Stick to the sort order above: first platform |
2322 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 2327 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
2323 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 2328 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |