Merge revision 741 changes:

- Add the ability to customize the animation frame rate (issue #697).

git-svn-id: https://chromiumembedded.googlecode.com/svn/branches/963@742 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt
2012-08-15 15:16:39 +00:00
parent 34af061616
commit 4292533524
6 changed files with 25 additions and 9 deletions

View File

@@ -1607,7 +1607,9 @@ typedef struct _cef_render_handler_t
// 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
// cef_browser_tSettings.animation_frame_rate value controls the rate at which
// this function is called.
///
void (CEF_CALLBACK *on_paint)(struct _cef_render_handler_t* self,
struct _cef_browser_t* browser, enum cef_paint_element_type_t type,