Add 'web-preferences' options in BrowserWindow.

This commit is contained in:
Cheng Zhao 2014-05-22 22:54:09 +08:00
parent 34fa0f1ff8
commit 2204e9bb15
4 changed files with 34 additions and 0 deletions

View file

@ -290,6 +290,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_;