Index: content/public/browser/browser_plugin_guest_delegate.h |
diff --git a/content/public/browser/browser_plugin_guest_delegate.h b/content/public/browser/browser_plugin_guest_delegate.h |
index 2ea53676d007d862d3e0232fa4d5c4d6168fc39b..efb036cd2060516ed45a73a1bd5c59090dcae781 100644 |
--- a/content/public/browser/browser_plugin_guest_delegate.h |
+++ b/content/public/browser/browser_plugin_guest_delegate.h |
@@ -18,6 +18,7 @@ |
namespace content { |
+class JavaScriptDialogManager; |
struct NativeWebKeyboardEvent; |
// Objects implement this interface to get notified about changes in the guest |
@@ -122,6 +123,10 @@ class CONTENT_EXPORT BrowserPluginGuestDelegate { |
bool user_gesture, |
bool last_unlocked_by_target, |
const base::Callback<void(bool)>& callback) {} |
+ |
+ // Returns a pointer to a service to manage JavaScript dialogs. May return |
+ // NULL in which case dialogs aren't shown. |
+ virtual JavaScriptDialogManager* GetJavaScriptDialogManager(); |
}; |
} // namespace content |