Windows: Improve menu responsiveness (issue #194).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@950 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt
2012-12-19 16:23:51 +00:00
parent 9accdc8b01
commit f782b4b1e0
10 changed files with 73 additions and 0 deletions

View File

@@ -297,6 +297,13 @@ typedef struct _cef_browser_t {
// Send a capture lost event to the browser.
///
void (CEF_CALLBACK *send_capture_lost_event)(struct _cef_browser_t* self);
///
// Set to true (1) before calling Windows APIs like TrackPopupMenu that enter
// a modal message loop.
///
void (CEF_CALLBACK *set_osmodal_loop)(struct _cef_browser_t* self,
int osModalLoop);
} cef_browser_t;