fixes buffer size and adds pixel size to paint event
This commit is contained in:
parent
230943d425
commit
50485a28d3
7 changed files with 20 additions and 8 deletions
|
@ -160,6 +160,7 @@ class WebContents : public mate::TrackableObject<WebContents>,
|
|||
bool IsOffScreen() const;
|
||||
void OnPaint(const gfx::Rect& dirty_rect,
|
||||
const gfx::Size& bitmap_size,
|
||||
const int pixel_size,
|
||||
void* bitmap_pixels);
|
||||
void StartPainting();
|
||||
void StopPainting();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue