mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Mac:
- Add HTML5 drag&drop support (issue #140). - Client application must now provide NSApplication implementing CefAppProtocol and call CefRunMessageLoop() (issue #248). git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@269 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@@ -700,6 +700,8 @@ void CefBrowserImpl::UIT_DestroyBrowser()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
UIT_GetWebViewDelegate()->RevokeDragDrop();
|
||||
#else
|
||||
// Call OnBeforeClose() here for platforms that don't support modal dialogs.
|
||||
if (client_.get()) {
|
||||
@@ -711,8 +713,6 @@ void CefBrowserImpl::UIT_DestroyBrowser()
|
||||
}
|
||||
#endif
|
||||
|
||||
UIT_GetWebViewDelegate()->RevokeDragDrop();
|
||||
|
||||
// If the current browser window is a dev tools client then disconnect from
|
||||
// the agent and destroy the client before destroying the window.
|
||||
UIT_DestroyDevToolsClient();
|
||||
|
Reference in New Issue
Block a user