Add backgroundThrottling option to webPreferences
This commit is contained in:
parent
d703a87317
commit
d156846036
3 changed files with 23 additions and 5 deletions
|
@ -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);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue