| 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 "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
| (...skipping 2042 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2053 GURL /* frame's url */, | 2053 GURL /* frame's url */, |
| 2054 std::string /* data buffer */, | 2054 std::string /* data buffer */, |
| 2055 int32 /* complete status */) | 2055 int32 /* complete status */) |
| 2056 | 2056 |
| 2057 // Notifies the browser of an event occurring in the media pipeline. | 2057 // Notifies the browser of an event occurring in the media pipeline. |
| 2058 IPC_MESSAGE_CONTROL1(ViewHostMsg_MediaLogEvent, | 2058 IPC_MESSAGE_CONTROL1(ViewHostMsg_MediaLogEvent, |
| 2059 media::MediaLogEvent /* event */) | 2059 media::MediaLogEvent /* event */) |
| 2060 | 2060 |
| 2061 // Requests to lock the mouse. Will result in a ViewMsg_LockMouse_ACK message | 2061 // Requests to lock the mouse. Will result in a ViewMsg_LockMouse_ACK message |
| 2062 // being sent back. | 2062 // being sent back. |
| 2063 IPC_MESSAGE_ROUTED1(ViewHostMsg_LockMouse, | 2063 // |privileged| is used by Pepper Flash. If this flag is set to true, we won't |
| 2064 bool /* user_gesture */) | 2064 // pop up a bubble to ask for user permission or take mouse lock content into |
| 2065 // account. |
| 2066 IPC_MESSAGE_ROUTED2(ViewHostMsg_LockMouse, |
| 2067 bool /* user_gesture */, |
| 2068 bool /* privileged */) |
| 2065 | 2069 |
| 2066 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent | 2070 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent |
| 2067 // whenever the mouse is unlocked (which may or may not be caused by | 2071 // whenever the mouse is unlocked (which may or may not be caused by |
| 2068 // ViewHostMsg_UnlockMouse). | 2072 // ViewHostMsg_UnlockMouse). |
| 2069 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse) | 2073 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse) |
| 2070 | 2074 |
| 2071 // Following message is used to communicate the values received by the | 2075 // Following message is used to communicate the values received by the |
| 2072 // callback binding the JS to Cpp. | 2076 // callback binding the JS to Cpp. |
| 2073 // An instance of browser that has an automation host listening to it can | 2077 // An instance of browser that has an automation host listening to it can |
| 2074 // have a javascript send a native value (string, number, boolean) to the | 2078 // have a javascript send a native value (string, number, boolean) to the |
| 2075 // listener in Cpp. (DomAutomationController) | 2079 // listener in Cpp. (DomAutomationController) |
| 2076 IPC_MESSAGE_ROUTED2(ViewHostMsg_DomOperationResponse, | 2080 IPC_MESSAGE_ROUTED2(ViewHostMsg_DomOperationResponse, |
| 2077 std::string /* json_string */, | 2081 std::string /* json_string */, |
| 2078 int /* automation_id */) | 2082 int /* automation_id */) |
| 2079 | 2083 |
| 2080 // Sent to the browser when the renderer detects it is blocked on a pepper | 2084 // Sent to the browser when the renderer detects it is blocked on a pepper |
| 2081 // plugin message for too long. This is also sent when it becomes unhung | 2085 // plugin message for too long. This is also sent when it becomes unhung |
| 2082 // (according to the value of is_hung). The browser can give the user the | 2086 // (according to the value of is_hung). The browser can give the user the |
| 2083 // option of killing the plugin. | 2087 // option of killing the plugin. |
| 2084 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung, | 2088 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung, |
| 2085 int /* plugin_child_id */, | 2089 int /* plugin_child_id */, |
| 2086 FilePath /* path */, | 2090 FilePath /* path */, |
| 2087 bool /* is_hung */) | 2091 bool /* is_hung */) |
| 2088 | 2092 |
| 2089 // Screen was rotated. Dispatched to the onorientationchange javascript API. | 2093 // Screen was rotated. Dispatched to the onorientationchange javascript API. |
| 2090 IPC_MESSAGE_ROUTED1(ViewMsg_OrientationChangeEvent, | 2094 IPC_MESSAGE_ROUTED1(ViewMsg_OrientationChangeEvent, |
| 2091 int /* orientation */) | 2095 int /* orientation */) |
| OLD | NEW |