Add InspectableWebContentsDelegate.

This commit is contained in:
Cheng Zhao 2014-03-04 16:12:02 +08:00
parent 967efaad58
commit e3aaaf2643
5 changed files with 50 additions and 2 deletions

View file

@ -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