method to reset agent_host
This commit is contained in:
parent
d350e73dff
commit
145c18f4c8
3 changed files with 20 additions and 0 deletions
|
@ -3,6 +3,10 @@
|
|||
|
||||
#include "content/public/browser/web_contents.h"
|
||||
|
||||
namespace content {
|
||||
class DevToolsAgentHost;
|
||||
}
|
||||
|
||||
namespace brightray {
|
||||
|
||||
class InspectableWebContentsDelegate;
|
||||
|
@ -27,6 +31,7 @@ class InspectableWebContents {
|
|||
// Close the DevTools completely instead of just hide it.
|
||||
virtual void CloseDevTools() = 0;
|
||||
virtual bool IsDevToolsViewShowing() = 0;
|
||||
virtual void AttachTo(const scoped_refptr<content::DevToolsAgentHost>&) = 0;
|
||||
|
||||
// The delegate manages its own life.
|
||||
virtual void SetDelegate(InspectableWebContentsDelegate* delegate) = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue