notify delegate when devtools is loaded
This commit is contained in:
parent
3797d4b8aa
commit
db0c931d60
2 changed files with 4 additions and 0 deletions
|
@ -368,6 +368,9 @@ void InspectableWebContentsImpl::LoadCompleted() {
|
|||
// If the devtools can dock, "SetIsDocked" will be called by devtools itself.
|
||||
if (!can_dock_)
|
||||
SetIsDocked(DispatchCallback(), false);
|
||||
|
||||
if (view_->GetDelegate())
|
||||
view_->GetDelegate()->DevToolsLoaded();
|
||||
}
|
||||
|
||||
void InspectableWebContentsImpl::SetInspectedPageBounds(const gfx::Rect& rect) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue