Put common code of OpenURLFromTab to CommonWebContentsDelegate

This commit is contained in:
Cheng Zhao 2015-06-05 17:45:17 +08:00
parent 8f9a109fa6
commit af62b7b5c9
4 changed files with 30 additions and 26 deletions

View file

@ -48,6 +48,9 @@ class CommonWebContentsDelegate
protected:
// content::WebContentsDelegate:
content::WebContents* OpenURLFromTab(
content::WebContents* source,
const content::OpenURLParams& params) override;
void RequestToLockMouse(content::WebContents* web_contents,
bool user_gesture,
bool last_unlocked_by_target) override;