Hijack the Page.reload command

This commit is contained in:
Cheng Zhao 2016-04-12 16:35:35 +09:00
parent 3d3cc8c226
commit 11685faffa
2 changed files with 12 additions and 0 deletions

View file

@ -10,6 +10,7 @@ class InspectableWebContentsDelegate {
virtual ~InspectableWebContentsDelegate() {}
// Requested by WebContents of devtools.
virtual void DevToolsReloadPage() {}
virtual void DevToolsSaveToFile(
const std::string& url, const std::string& content, bool save_as) {}
virtual void DevToolsAppendToFile(