No need to override RequestToLockMouse in CommonWebContentsDelegate
This commit is contained in:
parent
69f93a7528
commit
159fb857f4
2 changed files with 0 additions and 10 deletions
|
@ -181,13 +181,6 @@ content::WebContents* CommonWebContentsDelegate::OpenURLFromTab(
|
||||||
return source;
|
return source;
|
||||||
}
|
}
|
||||||
|
|
||||||
void CommonWebContentsDelegate::RequestToLockMouse(
|
|
||||||
content::WebContents* web_contents,
|
|
||||||
bool user_gesture,
|
|
||||||
bool last_unlocked_by_target) {
|
|
||||||
GetWebContents()->GotResponseToLockMouseRequest(true);
|
|
||||||
}
|
|
||||||
|
|
||||||
bool CommonWebContentsDelegate::CanOverscrollContent() const {
|
bool CommonWebContentsDelegate::CanOverscrollContent() const {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
|
@ -59,9 +59,6 @@ class CommonWebContentsDelegate
|
||||||
content::WebContents* OpenURLFromTab(
|
content::WebContents* OpenURLFromTab(
|
||||||
content::WebContents* source,
|
content::WebContents* source,
|
||||||
const content::OpenURLParams& params) override;
|
const content::OpenURLParams& params) override;
|
||||||
void RequestToLockMouse(content::WebContents* web_contents,
|
|
||||||
bool user_gesture,
|
|
||||||
bool last_unlocked_by_target) override;
|
|
||||||
bool CanOverscrollContent() const override;
|
bool CanOverscrollContent() const override;
|
||||||
content::JavaScriptDialogManager* GetJavaScriptDialogManager(
|
content::JavaScriptDialogManager* GetJavaScriptDialogManager(
|
||||||
content::WebContents* source) override;
|
content::WebContents* source) override;
|
||||||
|
|
Loading…
Reference in a new issue