Add background page web contents type
This commit is contained in:
parent
ee0bab6389
commit
f29801ad2b
3 changed files with 19 additions and 5 deletions
|
@ -44,9 +44,10 @@ class WebContents : public mate::TrackableObject<WebContents>,
|
|||
public content::WebContentsObserver {
|
||||
public:
|
||||
enum Type {
|
||||
BACKGROUND_PAGE, // A DevTools extension background page.
|
||||
BROWSER_WINDOW, // Used by BrowserWindow.
|
||||
WEB_VIEW, // Used by <webview>.
|
||||
REMOTE, // Thin wrap around an existing WebContents.
|
||||
WEB_VIEW, // Used by <webview>.
|
||||
};
|
||||
|
||||
// For node.js callback function type: function(error, buffer)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue