add option to disable devtools

This commit is contained in:
minggo 2016-09-05 16:27:56 +08:00
parent 02ce727ff6
commit 0d7e7be748
5 changed files with 17 additions and 0 deletions

View file

@ -323,6 +323,9 @@ class WebContents : public mate::TrackableObject<WebContents>,
// Whether background throttling is disabled.
bool background_throttling_;
// // Whether to disable devtools.
bool disable_devtools_;
DISALLOW_COPY_AND_ASSIGN(WebContents);
};