Add "preload" option for BrowserWindow

This commit is contained in:
Cheng Zhao 2014-11-12 15:04:03 +08:00
parent 14d01544d4
commit 9f29f66768
4 changed files with 16 additions and 2 deletions

View file

@ -67,7 +67,7 @@ const char kEnablePlugins[] = "enable-plugins";
const char kGuestInstanceID[] = "guest-instance-id";
// Script that will be loaded by guest WebContents before other scripts.
const char kPreloadScript[] = "preload-script";
const char kPreloadScript[] = "preload";
// Web runtime features.
const char kExperimentalFeatures[] = "experimental-features";