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 // Multiply-included message header, no traditional include guard. | 5 // Multiply-included message header, no traditional include guard. |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/memory/shared_memory.h" | 10 #include "base/memory/shared_memory.h" |
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
243 // Sets the name of the guest window to the provided |name|. | 243 // Sets the name of the guest window to the provided |name|. |
244 IPC_MESSAGE_ROUTED2(BrowserPluginHostMsg_SetName, | 244 IPC_MESSAGE_ROUTED2(BrowserPluginHostMsg_SetName, |
245 int /* instance_id */, | 245 int /* instance_id */, |
246 std::string /* name */) | 246 std::string /* name */) |
247 | 247 |
248 // Tells the guest that its request for an API permission has been allowed or | 248 // Tells the guest that its request for an API permission has been allowed or |
249 // denied. | 249 // denied. |
250 // Note that |allow| = true does not readily mean that the guest will be granted | 250 // Note that |allow| = true does not readily mean that the guest will be granted |
251 // permission, since a security check in the embedder might follow. For example | 251 // permission, since a security check in the embedder might follow. For example |
252 // for media access permission, the guest will be granted permission only if its | 252 // for media access permission, the guest will be granted permission only if its |
253 // embedder also has access. | 253 // embedder also has access. |
lazyboy
2013/07/19 21:43:16
Describe what |user_input| is for.
Fady Samuel
2013/07/23 15:41:10
Done.
| |
254 IPC_MESSAGE_ROUTED4(BrowserPluginHostMsg_RespondPermission, | 254 IPC_MESSAGE_ROUTED4(BrowserPluginHostMsg_RespondPermission, |
255 int /* instance_id */, | 255 int /* instance_id */, |
256 BrowserPluginPermissionType /* permission_type */, | |
257 int /* request_id */, | 256 int /* request_id */, |
258 bool /* allow */) | 257 bool /* allow */, |
258 std::string /* user_input */) | |
259 | 259 |
260 // Sends a PointerLock Lock ACK to the BrowserPluginGuest. | 260 // Sends a PointerLock Lock ACK to the BrowserPluginGuest. |
261 IPC_MESSAGE_ROUTED2(BrowserPluginHostMsg_LockMouse_ACK, | 261 IPC_MESSAGE_ROUTED2(BrowserPluginHostMsg_LockMouse_ACK, |
262 int /* instance_id */, | 262 int /* instance_id */, |
263 bool /* succeeded */) | 263 bool /* succeeded */) |
264 | 264 |
265 // Sends a PointerLock Unlock ACK to the BrowserPluginGuest. | 265 // Sends a PointerLock Unlock ACK to the BrowserPluginGuest. |
266 IPC_MESSAGE_ROUTED1(BrowserPluginHostMsg_UnlockMouse_ACK, int /* instance_id */) | 266 IPC_MESSAGE_ROUTED1(BrowserPluginHostMsg_UnlockMouse_ACK, int /* instance_id */) |
267 | 267 |
268 // Sent when plugin's position has changed without UpdateRect. | 268 // Sent when plugin's position has changed without UpdateRect. |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
374 // request to the embeddder through this message. | 374 // request to the embeddder through this message. |
375 IPC_MESSAGE_CONTROL4(BrowserPluginMsg_RequestPermission, | 375 IPC_MESSAGE_CONTROL4(BrowserPluginMsg_RequestPermission, |
376 int /* instance_id */, | 376 int /* instance_id */, |
377 BrowserPluginPermissionType /* permission_type */, | 377 BrowserPluginPermissionType /* permission_type */, |
378 int /* request_id */, | 378 int /* request_id */, |
379 base::DictionaryValue /* request_info */) | 379 base::DictionaryValue /* request_info */) |
380 | 380 |
381 // Forwards a PointerLock Unlock request to the BrowserPlugin. | 381 // Forwards a PointerLock Unlock request to the BrowserPlugin. |
382 IPC_MESSAGE_CONTROL1(BrowserPluginMsg_UnlockMouse, int /* instance_id */) | 382 IPC_MESSAGE_CONTROL1(BrowserPluginMsg_UnlockMouse, int /* instance_id */) |
383 | 383 |
OLD | NEW |