mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Add the ability to customize the animation frame rate (issue #697).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@741 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@ -100,7 +100,9 @@ class CefRenderHandler : public virtual CefBase {
|
||||
// element is the view or the popup widget. |buffer| contains the pixel data
|
||||
// for the whole image. |dirtyRects| contains the set of rectangles that need
|
||||
// to be repainted. On Windows |buffer| will be width*height*4 bytes in size
|
||||
// and represents a BGRA image with an upper-left origin.
|
||||
// and represents a BGRA image with an upper-left origin. The
|
||||
// CefBrowserSettings.animation_frame_rate value controls the rate at which
|
||||
// this method is called.
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual void OnPaint(CefRefPtr<CefBrowser> browser,
|
||||
|
Reference in New Issue
Block a user