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 573658b6f23a9a469ca6e81037b7e0ee30c11e91..2ea53676d007d862d3e0232fa4d5c4d6168fc39b 100644 |
--- a/content/public/browser/browser_plugin_guest_delegate.h |
+++ b/content/public/browser/browser_plugin_guest_delegate.h |
@@ -110,11 +110,18 @@ class CONTENT_EXPORT BrowserPluginGuestDelegate { |
const MediaStreamRequest& request, |
const MediaResponseCallback& callback); |
- // Asks the delegate if the given tab can download. |
+ // Asks the delegate if the given guest can download. |
// Invoking the |callback| synchronously is OK. |
virtual void CanDownload(const std::string& request_method, |
const GURL& url, |
const base::Callback<void(bool)>& callback); |
+ |
+ // Asks the delegate if the given guest can lock the pointer. |
+ // Invoking the |callback| synchronously is OK. |
+ virtual void RequestPointerLockPermission( |
+ bool user_gesture, |
+ bool last_unlocked_by_target, |
+ const base::Callback<void(bool)>& callback) {} |
}; |
} // namespace content |