| Index: chrome/browser/guestview/webview/webview_guest.h
|
| diff --git a/chrome/browser/guestview/webview/webview_guest.h b/chrome/browser/guestview/webview/webview_guest.h
|
| index 0a076b1855557a04a5657116414cf772315f9be2..aa21e40300a7670df87ceb600edd693b11ce10dd 100644
|
| --- a/chrome/browser/guestview/webview/webview_guest.h
|
| +++ b/chrome/browser/guestview/webview/webview_guest.h
|
| @@ -87,6 +87,10 @@ class WebViewGuest : public GuestView,
|
| virtual void CanDownload(const std::string& request_method,
|
| const GURL& url,
|
| const base::Callback<void(bool)>& callback) OVERRIDE;
|
| + virtual void RequestPointerLockPermission(
|
| + bool user_gesture,
|
| + bool last_unlocked_by_target,
|
| + const base::Callback<void(bool)>& callback) OVERRIDE;
|
|
|
| // NotificationObserver implementation.
|
| virtual void Observe(int type,
|
| @@ -140,6 +144,11 @@ class WebViewGuest : public GuestView,
|
| bool allow,
|
| const std::string& user_input);
|
|
|
| + void OnWebViewPointerLockPermissionResponse(
|
| + const base::Callback<void(bool)>& callback,
|
| + bool allow,
|
| + const std::string& user_input);
|
| +
|
| enum PermissionResponseAction {
|
| DENY,
|
| ALLOW,
|
|
|