💄
This commit is contained in:
parent
082aa61870
commit
a5e1c46674
2 changed files with 4 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
||||||
namespace brightray {
|
namespace brightray {
|
||||||
|
|
||||||
InspectableWebContents* InspectableWebContents::Create(const content::WebContents::CreateParams& create_params) {
|
InspectableWebContents* InspectableWebContents::Create(const content::WebContents::CreateParams& create_params) {
|
||||||
return new InspectableWebContentsImpl(content::WebContents::Create(create_params));
|
return Create(content::WebContents::Create(create_params));
|
||||||
}
|
}
|
||||||
|
|
||||||
InspectableWebContents* InspectableWebContents::Create(content::WebContents* web_contents) {
|
InspectableWebContents* InspectableWebContents::Create(content::WebContents* web_contents) {
|
||||||
|
|
|
@ -10,7 +10,10 @@ class InspectableWebContentsView;
|
||||||
class InspectableWebContents {
|
class InspectableWebContents {
|
||||||
public:
|
public:
|
||||||
static InspectableWebContents* Create(const content::WebContents::CreateParams&);
|
static InspectableWebContents* Create(const content::WebContents::CreateParams&);
|
||||||
|
|
||||||
|
// The returned InspectableWebContents takes ownership of the passed-in WebContents.
|
||||||
static InspectableWebContents* Create(content::WebContents*);
|
static InspectableWebContents* Create(content::WebContents*);
|
||||||
|
|
||||||
virtual ~InspectableWebContents() {}
|
virtual ~InspectableWebContents() {}
|
||||||
|
|
||||||
virtual InspectableWebContentsView* GetView() const = 0;
|
virtual InspectableWebContentsView* GetView() const = 0;
|
||||||
|
|
Loading…
Reference in a new issue