inspectable_web_contents.cc 537 B

12345678910111213141516171819
  1. #include "brightray/browser/inspectable_web_contents.h"
  2. #include "brightray/browser/inspectable_web_contents_impl.h"
  3. namespace brightray {
  4. InspectableWebContents* InspectableWebContents::Create(
  5. const content::WebContents::CreateParams& create_params) {
  6. auto* contents = content::WebContents::Create(create_params);
  7. return Create(contents);
  8. }
  9. InspectableWebContents* InspectableWebContents::Create(
  10. content::WebContents* web_contents) {
  11. return new InspectableWebContentsImpl(web_contents);
  12. }
  13. } // namespace brightray