Allow setting default zoom factor.

This commit is contained in:
Cheng Zhao 2014-06-16 18:52:04 +08:00
parent 0bc8251e1b
commit 05f079fa5b
6 changed files with 34 additions and 1 deletions

View file

@ -294,9 +294,12 @@ 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.
// Web preferences.
scoped_ptr<base::DictionaryValue> web_preferences_;
// Page's default zoom factor.
double zoom_factor_;
base::WeakPtrFactory<NativeWindow> weak_factory_;
base::WeakPtr<NativeWindow> devtools_window_;