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:
Marshall Greenblatt
2012-08-15 15:13:11 +00:00
parent 03ced41cf2
commit 606612399c
6 changed files with 25 additions and 9 deletions

View File

@ -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,