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 2208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2219 IPC_MESSAGE_ROUTED3(ViewHostMsg_LockMouse, | 2219 IPC_MESSAGE_ROUTED3(ViewHostMsg_LockMouse, |
2220 bool /* user_gesture */, | 2220 bool /* user_gesture */, |
2221 bool /* last_unlocked_by_target */, | 2221 bool /* last_unlocked_by_target */, |
2222 bool /* privileged */) | 2222 bool /* privileged */) |
2223 | 2223 |
2224 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent | 2224 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent |
2225 // whenever the mouse is unlocked (which may or may not be caused by | 2225 // whenever the mouse is unlocked (which may or may not be caused by |
2226 // ViewHostMsg_UnlockMouse). | 2226 // ViewHostMsg_UnlockMouse). |
2227 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse) | 2227 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse) |
2228 | 2228 |
| 2229 // Notifies that the initial empty document of a view has been accessed. |
| 2230 // After this, it is no longer safe to show a pending navigation's URL without |
| 2231 // making a URL spoof possible. |
| 2232 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidAccessInitialDocument) |
| 2233 |
2229 // Following message is used to communicate the values received by the | 2234 // Following message is used to communicate the values received by the |
2230 // callback binding the JS to Cpp. | 2235 // callback binding the JS to Cpp. |
2231 // An instance of browser that has an automation host listening to it can | 2236 // An instance of browser that has an automation host listening to it can |
2232 // have a javascript send a native value (string, number, boolean) to the | 2237 // have a javascript send a native value (string, number, boolean) to the |
2233 // listener in Cpp. (DomAutomationController) | 2238 // listener in Cpp. (DomAutomationController) |
2234 IPC_MESSAGE_ROUTED2(ViewHostMsg_DomOperationResponse, | 2239 IPC_MESSAGE_ROUTED2(ViewHostMsg_DomOperationResponse, |
2235 std::string /* json_string */, | 2240 std::string /* json_string */, |
2236 int /* automation_id */) | 2241 int /* automation_id */) |
2237 | 2242 |
2238 // Sent to the browser when the renderer detects it is blocked on a pepper | 2243 // Sent to the browser when the renderer detects it is blocked on a pepper |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2402 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters | 2407 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters |
2403 // for details. | 2408 // for details. |
2404 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, | 2409 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, |
2405 LOGFONT /* font_data */, | 2410 LOGFONT /* font_data */, |
2406 string16 /* characters */) | 2411 string16 /* characters */) |
2407 #endif | 2412 #endif |
2408 | 2413 |
2409 // Adding a new message? Stick to the sort order above: first platform | 2414 // Adding a new message? Stick to the sort order above: first platform |
2410 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 2415 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
2411 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 2416 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |