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