Add CefQuitMessageLoop function (issue #443).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@412 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt
2011-12-08 13:25:26 +00:00
parent 08fcdfc9d1
commit fe80635c69
7 changed files with 59 additions and 1 deletions

View File

@@ -122,6 +122,14 @@ void CefDoMessageLoopWork();
/*--cef()--*/
void CefRunMessageLoop();
///
// Quit the CEF message loop that was started by calling CefRunMessageLoop().
// This function should only be called on the main application thread and only
// if CefRunMessageLoop() was used.
///
/*--cef()--*/
void CefQuitMessageLoop();
///
// Register a new V8 extension with the specified JavaScript extension code and
// handler. Functions implemented by the handler are prototyped using the

View File

@@ -84,6 +84,13 @@ CEF_EXPORT void cef_do_message_loop_work();
///
CEF_EXPORT void cef_run_message_loop();
///
// Quit the CEF message loop that was started by calling cef_run_message_loop().
// This function should only be called on the main application thread and only
// if cef_run_message_loop() was used.
///
CEF_EXPORT void cef_quit_message_loop();
///
// Register a new V8 extension with the specified JavaScript extension code and
// handler. Functions implemented by the handler are prototyped using the