Setup devtools in the correct phase.
* RegisterDevToolsClientHostFor should be called right after the agent_host and the frontend host are created. * SetupDevToolsFrontendClient should be called before the devtools window is going to start navigation.
This commit is contained in:
parent
9d29c8eb7c
commit
2cd6dd791e
2 changed files with 5 additions and 1 deletions
|
@ -70,6 +70,7 @@ private:
|
|||
// content::WebContentsObserver
|
||||
|
||||
virtual void RenderViewCreated(content::RenderViewHost*) OVERRIDE;
|
||||
virtual void AboutToNavigateRenderView(content::RenderViewHost* render_view_host) OVERRIDE;
|
||||
virtual void DidFinishLoad(int64 frame_id,
|
||||
const GURL& validated_url,
|
||||
bool is_main_frame,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue