RuidSiel / chromiumembedded

Automatically exported from code.google.com/p/chromiumembedded
0 stars 1 forks source link

Provide browser dimensions in HandlePaint() callback #219

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The off-screen rendering mechanism must provide the caller with the dimensions 
of the browser window in its HandlePaint() callback. Otherwise, the caller 
won't know the current size of the provided pixel buffer if the window has been 
resized.

The problem is outlined here: 
http://www.magpcss.org/ceforum/viewtopic.php?f=6&t=276&sid=22267a2ae3a4ee0e5e52c
5ebf0dd478c&p=1019#p1013

Original issue reported on code.google.com by dreijer...@gmail.com on 17 Apr 2011 at 3:50

GoogleCodeExporter commented 9 years ago
Note that the size can currently be retrieved by calling CefBrowser::GetSize() 
from within the HandlePaint() callback. The purpose of this change is to 
eliminate the extra method call.

Original comment by magreenb...@gmail.com on 18 Apr 2011 at 2:24

GoogleCodeExporter commented 9 years ago
CEF1 has entered bug-fix-only maintenance mode. See 
http://magpcss.org/ceforum/viewtopic.php?f=10&t=10647 for details. If this 
issue applies to the current version of CEF3 please create a new issue.

Original comment by magreenb...@gmail.com on 11 Oct 2013 at 1:50