fixes buffer size and adds pixel size to paint event

This commit is contained in:
gellert 2016-08-03 13:28:19 +02:00
parent 230943d425
commit 50485a28d3
7 changed files with 20 additions and 8 deletions

View file

@ -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();