| 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 2195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2206 IPC_MESSAGE_ROUTED3(ViewHostMsg_LockMouse, | 2206 IPC_MESSAGE_ROUTED3(ViewHostMsg_LockMouse, |
| 2207 bool /* user_gesture */, | 2207 bool /* user_gesture */, |
| 2208 bool /* last_unlocked_by_target */, | 2208 bool /* last_unlocked_by_target */, |
| 2209 bool /* privileged */) | 2209 bool /* privileged */) |
| 2210 | 2210 |
| 2211 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent | 2211 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent |
| 2212 // whenever the mouse is unlocked (which may or may not be caused by | 2212 // whenever the mouse is unlocked (which may or may not be caused by |
| 2213 // ViewHostMsg_UnlockMouse). | 2213 // ViewHostMsg_UnlockMouse). |
| 2214 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse) | 2214 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse) |
| 2215 | 2215 |
| 2216 // Notifies that the initial empty document of a view has been accessed. | |
| 2217 // After this, it is no longer safe to show a pending navigation's URL without | |
| 2218 // making a URL spoof possible. | |
| 2219 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidAccessInitialDocument) | |
| 2220 | |
| 2221 // Following message is used to communicate the values received by the | 2216 // Following message is used to communicate the values received by the |
| 2222 // callback binding the JS to Cpp. | 2217 // callback binding the JS to Cpp. |
| 2223 // An instance of browser that has an automation host listening to it can | 2218 // An instance of browser that has an automation host listening to it can |
| 2224 // have a javascript send a native value (string, number, boolean) to the | 2219 // have a javascript send a native value (string, number, boolean) to the |
| 2225 // listener in Cpp. (DomAutomationController) | 2220 // listener in Cpp. (DomAutomationController) |
| 2226 IPC_MESSAGE_ROUTED2(ViewHostMsg_DomOperationResponse, | 2221 IPC_MESSAGE_ROUTED2(ViewHostMsg_DomOperationResponse, |
| 2227 std::string /* json_string */, | 2222 std::string /* json_string */, |
| 2228 int /* automation_id */) | 2223 int /* automation_id */) |
| 2229 | 2224 |
| 2230 // Sent to the browser when the renderer detects it is blocked on a pepper | 2225 // Sent to the browser when the renderer detects it is blocked on a pepper |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2363 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters | 2358 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters |
| 2364 // for details. | 2359 // for details. |
| 2365 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, | 2360 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, |
| 2366 LOGFONT /* font_data */, | 2361 LOGFONT /* font_data */, |
| 2367 string16 /* characters */) | 2362 string16 /* characters */) |
| 2368 #endif | 2363 #endif |
| 2369 | 2364 |
| 2370 // Adding a new message? Stick to the sort order above: first platform | 2365 // Adding a new message? Stick to the sort order above: first platform |
| 2371 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 2366 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 2372 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 2367 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |