Add InspectableWebContentsDelegate.
This commit is contained in:
parent
967efaad58
commit
e3aaaf2643
5 changed files with 50 additions and 2 deletions
|
@ -5,6 +5,7 @@
|
|||
|
||||
namespace brightray {
|
||||
|
||||
class InspectableWebContentsDelegate;
|
||||
class InspectableWebContentsView;
|
||||
|
||||
class InspectableWebContents {
|
||||
|
@ -23,6 +24,9 @@ class InspectableWebContents {
|
|||
|
||||
virtual void ShowDevTools() = 0;
|
||||
virtual bool IsDevToolsViewShowing() = 0;
|
||||
|
||||
// The delegate manages its own life.
|
||||
virtual void SetDelegate(InspectableWebContentsDelegate* delegate) = 0;
|
||||
};
|
||||
|
||||
} // namespace brightray
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue