mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
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:
@ -703,6 +703,19 @@ void CEF_CALLBACK browser_send_capture_lost_event(struct _cef_browser_t* self) {
|
||||
CefBrowserCppToC::Get(self)->SendCaptureLostEvent();
|
||||
}
|
||||
|
||||
void CEF_CALLBACK browser_set_osmodal_loop(struct _cef_browser_t* self,
|
||||
int osModalLoop) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
return;
|
||||
|
||||
// Execute
|
||||
CefBrowserCppToC::Get(self)->SetOSModalLoop(
|
||||
osModalLoop?true:false);
|
||||
}
|
||||
|
||||
|
||||
// CONSTRUCTOR - Do not edit by hand.
|
||||
|
||||
@ -748,6 +761,7 @@ CefBrowserCppToC::CefBrowserCppToC(CefBrowser* cls)
|
||||
struct_.struct_.send_mouse_wheel_event = browser_send_mouse_wheel_event;
|
||||
struct_.struct_.send_focus_event = browser_send_focus_event;
|
||||
struct_.struct_.send_capture_lost_event = browser_send_capture_lost_event;
|
||||
struct_.struct_.set_osmodal_loop = browser_set_osmodal_loop;
|
||||
}
|
||||
|
||||
#ifndef NDEBUG
|
||||
|
Reference in New Issue
Block a user