Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(322)

Side by Side Diff: content/common/browser_plugin/browser_plugin_messages.h

Issue 19679002: <webview>: Implement dialog API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed test Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 // Sets the name of the guest window to the provided |name|. 246 // Sets the name of the guest window to the provided |name|.
247 IPC_MESSAGE_ROUTED2(BrowserPluginHostMsg_SetName, 247 IPC_MESSAGE_ROUTED2(BrowserPluginHostMsg_SetName,
248 int /* instance_id */, 248 int /* instance_id */,
249 std::string /* name */) 249 std::string /* name */)
250 250
251 // Tells the guest that its request for an API permission has been allowed or 251 // Tells the guest that its request for an API permission has been allowed or
252 // denied. 252 // denied.
253 // Note that |allow| = true does not readily mean that the guest will be granted 253 // Note that |allow| = true does not readily mean that the guest will be granted
254 // permission, since a security check in the embedder might follow. For example 254 // permission, since a security check in the embedder might follow. For example
255 // for media access permission, the guest will be granted permission only if its 255 // for media access permission, the guest will be granted permission only if its
256 // embedder also has access. 256 // embedder also has access. For certain APIs, such as the Dialog API,
257 IPC_MESSAGE_ROUTED3(BrowserPluginHostMsg_RespondPermission, 257 // additional information may be passed by the developer through |user_input|.
258 IPC_MESSAGE_ROUTED4(BrowserPluginHostMsg_RespondPermission,
258 int /* instance_id */, 259 int /* instance_id */,
259 int /* request_id */, 260 int /* request_id */,
260 bool /* allow */) 261 bool /* allow */,
262 std::string /* user_input */)
261 263
262 // Sends a PointerLock Lock ACK to the BrowserPluginGuest. 264 // Sends a PointerLock Lock ACK to the BrowserPluginGuest.
263 IPC_MESSAGE_ROUTED2(BrowserPluginHostMsg_LockMouse_ACK, 265 IPC_MESSAGE_ROUTED2(BrowserPluginHostMsg_LockMouse_ACK,
264 int /* instance_id */, 266 int /* instance_id */,
265 bool /* succeeded */) 267 bool /* succeeded */)
266 268
267 // Sends a PointerLock Unlock ACK to the BrowserPluginGuest. 269 // Sends a PointerLock Unlock ACK to the BrowserPluginGuest.
268 IPC_MESSAGE_ROUTED1(BrowserPluginHostMsg_UnlockMouse_ACK, int /* instance_id */) 270 IPC_MESSAGE_ROUTED1(BrowserPluginHostMsg_UnlockMouse_ACK, int /* instance_id */)
269 271
270 // Sent when plugin's position has changed without UpdateRect. 272 // Sent when plugin's position has changed without UpdateRect.
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 int /* instance_id */, 381 int /* instance_id */,
380 BrowserPluginPermissionType /* permission_type */, 382 BrowserPluginPermissionType /* permission_type */,
381 int /* request_id */, 383 int /* request_id */,
382 base::DictionaryValue /* request_info */) 384 base::DictionaryValue /* request_info */)
383 385
384 // Forwards a PointerLock Unlock request to the BrowserPlugin. 386 // Forwards a PointerLock Unlock request to the BrowserPlugin.
385 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_SetMouseLock, 387 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_SetMouseLock,
386 int /* instance_id */, 388 int /* instance_id */,
387 bool /* enable */) 389 bool /* enable */)
388 390
OLDNEW
« no previous file with comments | « content/common/browser_plugin/browser_plugin_message_enums.h ('k') | content/renderer/browser_plugin/browser_plugin.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698