Add InspectableWebContents::GetDevToolsWebContents
This commit is contained in:
parent
9ab9b392d6
commit
d1e70e7826
5 changed files with 27 additions and 21 deletions
|
@ -46,6 +46,7 @@ class InspectableWebContentsImpl :
|
|||
|
||||
InspectableWebContentsView* GetView() const override;
|
||||
content::WebContents* GetWebContents() const override;
|
||||
content::WebContents* GetDevToolsWebContents() const override;
|
||||
|
||||
void SetDelegate(InspectableWebContentsDelegate* delegate) override;
|
||||
InspectableWebContentsDelegate* GetDelegate() const override;
|
||||
|
@ -64,10 +65,6 @@ class InspectableWebContentsImpl :
|
|||
gfx::Rect GetDevToolsBounds() const;
|
||||
void SaveDevToolsBounds(const gfx::Rect& bounds);
|
||||
|
||||
content::WebContents* devtools_web_contents() {
|
||||
return devtools_web_contents_.get();
|
||||
}
|
||||
|
||||
private:
|
||||
// DevToolsEmbedderMessageDispacher::Delegate
|
||||
void ActivateWindow() override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue