mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
- Add an overload to `WebContents::CreateFrom` that accepts a type parameter. If type is `REMOTE`, initialization is the same as before(a thin wrapper). If not, the `api::WebContents` will be fully initialized, as if it was created by `api::WebContents::Create`. - Move common initialization code to `InitWithSessionAndOptions`.