api impl + cleanups + stability improvements
This commit is contained in:
parent
2190c4dd8d
commit
6486d80f87
4 changed files with 131 additions and 23 deletions
|
@ -145,7 +145,6 @@ class WebContents : public mate::TrackableObject<WebContents>,
|
|||
// Subscribe to the frame updates.
|
||||
void BeginFrameSubscription(mate::Arguments* args);
|
||||
void EndFrameSubscription();
|
||||
void OnPaint(v8::Isolate*, const gfx::Rect&, int, int, void*);
|
||||
|
||||
// Dragging native items.
|
||||
void StartDrag(const mate::Dictionary& item, mate::Arguments* args);
|
||||
|
@ -158,7 +157,14 @@ class WebContents : public mate::TrackableObject<WebContents>,
|
|||
void SetSize(const SetSizeParams& params);
|
||||
bool IsGuest() const;
|
||||
|
||||
// Methods for offscreen rendering
|
||||
void OnPaint(v8::Isolate*, const gfx::Rect&, int, int, void*);
|
||||
bool IsOffScreen() const;
|
||||
void StartPainting();
|
||||
void StopPainting();
|
||||
bool IsPainting() const;
|
||||
void SetFrameRate(int);
|
||||
int GetFrameRate() const;
|
||||
|
||||
// Callback triggered on permission response.
|
||||
void OnEnterFullscreenModeForTab(content::WebContents* source,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue