navigaton: handle history operations from renderer

This commit is contained in:
Robo 2015-12-20 01:23:47 +05:30
parent bff2861311
commit 7b03ac6d61
2 changed files with 6 additions and 0 deletions

View file

@ -421,6 +421,11 @@ bool WebContents::HandleContextMenu(const content::ContextMenuParams& params) {
return true;
}
bool WebContents::OnGoToEntryOffset(int offset) {
GoToOffset(offset);
return false;
}
void WebContents::BeforeUnloadFired(const base::TimeTicks& proceed_time) {
// Do nothing, we override this method just to avoid compilation error since
// there are two virtual functions named BeforeUnloadFired.