Adjustments after upgrading to Chromium 54

This commit is contained in:
Ales Pergl 2017-01-13 09:52:45 +01:00 committed by Cheng Zhao
parent eaea039155
commit 85db1bb47d
13 changed files with 29 additions and 11 deletions

View file

@ -249,6 +249,11 @@ content::WebContents* InspectableWebContentsImpl::GetDevToolsWebContents() const
return devtools_web_contents_.get();
}
void InspectableWebContentsImpl::InspectElement(int x, int y) {
if (agent_host_.get())
agent_host_->InspectElement(this, x, y);
}
void InspectableWebContentsImpl::SetDelegate(InspectableWebContentsDelegate* delegate) {
delegate_ = delegate;
}