Add backgroundThrottling option to webPreferences

This commit is contained in:
Cheng Zhao 2016-04-08 15:54:33 +09:00
parent d703a87317
commit d156846036
3 changed files with 23 additions and 5 deletions

View file

@ -296,6 +296,9 @@ class WebContents : public mate::TrackableObject<WebContents>,
// Request id used for findInPage request.
uint32_t request_id_;
// Whether background throttling is disabled.
bool background_throttling_;
DISALLOW_COPY_AND_ASSIGN(WebContents);
};