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

Unified Diff: content/renderer/browser_plugin/browser_plugin.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, 5 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 side-by-side diff with in-line comments
Download patch
Index: content/renderer/browser_plugin/browser_plugin.h
diff --git a/content/renderer/browser_plugin/browser_plugin.h b/content/renderer/browser_plugin/browser_plugin.h
index b0717a8332cc00e0282c66511d0385e30da4a888..61f5a9859267fbb832a0bad89438e83e6a274506 100644
--- a/content/renderer/browser_plugin/browser_plugin.h
+++ b/content/renderer/browser_plugin/browser_plugin.h
@@ -130,7 +130,8 @@ class CONTENT_EXPORT BrowserPlugin :
gfx::Point ToLocalCoordinates(const gfx::Point& point) const;
// Called by browser plugin binding.
- void OnEmbedderDecidedPermission(int request_id, bool allow);
+ void OnEmbedderDecidedPermission(int request_id, bool allow,
+ const std::string& user_input);
// Called when a guest instance ID has been allocated by the browser process.
void OnInstanceIDAllocated(int guest_instance_id);
@@ -292,12 +293,16 @@ class CONTENT_EXPORT BrowserPlugin :
// Informs the BrowserPlugin that the guest's permission request has been
// allowed or denied by the embedder.
- void RespondPermission(int request_id, bool allow);
+ void RespondPermission(int request_id,
+ bool allow,
+ const std::string& user_input);
// If the request with id |request_id| is pending then informs the
// BrowserPlugin that the guest's permission request has been allowed or
// denied by the embedder.
- void RespondPermissionIfRequestIsPending(int request_id, bool allow);
+ void RespondPermissionIfRequestIsPending(int request_id,
+ bool allow,
+ const std::string& user_input);
// Called when the tracked object of |id| ID becomes unreachable in
// JavaScript.
« no previous file with comments | « content/common/browser_plugin/browser_plugin_messages.h ('k') | content/renderer/browser_plugin/browser_plugin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698