Move cookies APIs to webContents.session.cookies namespace.

This commit is contained in:
Haojian Wu 2015-06-16 17:23:29 +08:00
parent 245dc01e33
commit 99bfc9b7f5
12 changed files with 211 additions and 112 deletions

View file

@ -239,6 +239,10 @@ class WebContents : public mate::EventEmitter,
// Returns the default size of the guestview.
gfx::Size GetDefaultSize() const;
v8::Local<v8::Value> Session(v8::Isolate* isolate);
v8::Global<v8::Value> session_;
// Stores whether the contents of the guest can be transparent.
bool guest_opaque_;