Merge pull request #351 from atom/custom-web-preferences

Enable custom web preferences
This commit is contained in:
Cheng Zhao 2014-05-23 23:18:06 +08:00
commit 890448d5fa
7 changed files with 69 additions and 0 deletions

View file

@ -291,6 +291,9 @@ class NativeWindow : public brightray::DefaultWebContentsDelegate,
// it should be cancelled when we can prove that the window is responsive.
base::CancelableClosure window_unresposive_closure_;
// web preferences.
scoped_ptr<base::DictionaryValue> web_preferences_;
base::WeakPtrFactory<NativeWindow> weak_factory_;
base::WeakPtr<NativeWindow> devtools_window_;