removed some junk and added offscreen webcontents type
This commit is contained in:
parent
0dbe4bc417
commit
7b61c5c9d0
7 changed files with 205 additions and 248 deletions
|
@ -50,6 +50,7 @@ class WebContents : public mate::TrackableObject<WebContents>,
|
|||
BROWSER_WINDOW, // Used by BrowserWindow.
|
||||
REMOTE, // Thin wrap around an existing WebContents.
|
||||
WEB_VIEW, // Used by <webview>.
|
||||
OFF_SCREEN, // Used for offscreen rendering
|
||||
};
|
||||
|
||||
// For node.js callback function type: function(error, buffer)
|
||||
|
@ -156,6 +157,8 @@ class WebContents : public mate::TrackableObject<WebContents>,
|
|||
// Methods for creating <webview>.
|
||||
void SetSize(const SetSizeParams& params);
|
||||
bool IsGuest() const;
|
||||
|
||||
bool IsOffScreen() const;
|
||||
|
||||
// Callback triggered on permission response.
|
||||
void OnEnterFullscreenModeForTab(content::WebContents* source,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue