2017-05-18 22:58:12 +00:00
|
|
|
#include "brightray/browser/inspectable_web_contents.h"
|
2013-03-14 13:03:50 +00:00
|
|
|
|
2017-05-18 22:58:12 +00:00
|
|
|
#include "brightray/browser/inspectable_web_contents_impl.h"
|
2013-03-14 13:03:50 +00:00
|
|
|
|
|
|
|
namespace brightray {
|
|
|
|
|
2013-11-17 22:54:14 +00:00
|
|
|
InspectableWebContents* InspectableWebContents::Create(
|
|
|
|
const content::WebContents::CreateParams& create_params) {
|
2013-10-10 20:23:52 +00:00
|
|
|
auto contents = content::WebContents::Create(create_params);
|
|
|
|
return Create(contents);
|
2013-04-20 05:24:45 +00:00
|
|
|
}
|
|
|
|
|
2013-11-17 22:54:14 +00:00
|
|
|
InspectableWebContents* InspectableWebContents::Create(
|
|
|
|
content::WebContents* web_contents) {
|
2013-04-20 05:24:45 +00:00
|
|
|
return new InspectableWebContentsImpl(web_contents);
|
2013-03-14 13:03:50 +00:00
|
|
|
}
|
|
|
|
|
2013-11-17 22:54:14 +00:00
|
|
|
} // namespace brightray
|