Add "preload" option for BrowserWindow
This commit is contained in:
parent
14d01544d4
commit
9f29f66768
4 changed files with 16 additions and 2 deletions
|
@ -318,6 +318,9 @@ class NativeWindow : public brightray::DefaultWebContentsDelegate,
|
|||
// Web preferences.
|
||||
mate::PersistentDictionary web_preferences_;
|
||||
|
||||
// The script to load before page's JavaScript starts to run.
|
||||
base::FilePath preload_script_;
|
||||
|
||||
// Page's default zoom factor.
|
||||
double zoom_factor_;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue