18 lines
536 B
C++
18 lines
536 B
C++
#include "brightray/browser/inspectable_web_contents.h"
|
|
|
|
#include "brightray/browser/inspectable_web_contents_impl.h"
|
|
|
|
namespace brightray {
|
|
|
|
InspectableWebContents* InspectableWebContents::Create(
|
|
const content::WebContents::CreateParams& create_params) {
|
|
auto contents = content::WebContents::Create(create_params);
|
|
return Create(contents);
|
|
}
|
|
|
|
InspectableWebContents* InspectableWebContents::Create(
|
|
content::WebContents* web_contents) {
|
|
return new InspectableWebContentsImpl(web_contents);
|
|
}
|
|
|
|
} // namespace brightray
|