No need to override RequestToLockMouse in CommonWebContentsDelegate

This commit is contained in:
Cheng Zhao 2016-02-01 21:05:29 +08:00
parent 69f93a7528
commit 159fb857f4
2 changed files with 0 additions and 10 deletions

View file

@ -181,13 +181,6 @@ content::WebContents* CommonWebContentsDelegate::OpenURLFromTab(
return source;
}
void CommonWebContentsDelegate::RequestToLockMouse(
content::WebContents* web_contents,
bool user_gesture,
bool last_unlocked_by_target) {
GetWebContents()->GotResponseToLockMouseRequest(true);
}
bool CommonWebContentsDelegate::CanOverscrollContent() const {
return false;
}