mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Add OnProtocolExecution callback to CefRequestHandler (issue #582).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@711 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@@ -12,14 +12,17 @@
|
||||
|
||||
#define CEF_UIT content::BrowserThread::UI
|
||||
#define CEF_IOT content::BrowserThread::IO
|
||||
#define CEF_FILET content::BrowserThread::FILE
|
||||
|
||||
#define CEF_CURRENTLY_ON(id) content::BrowserThread::CurrentlyOn(id)
|
||||
#define CEF_CURRENTLY_ON_UIT() CEF_CURRENTLY_ON(CEF_UIT)
|
||||
#define CEF_CURRENTLY_ON_IOT() CEF_CURRENTLY_ON(CEF_IOT)
|
||||
#define CEF_CURRENTLY_ON_FILET() CEF_CURRENTLY_ON(CEF_FILET)
|
||||
|
||||
#define CEF_REQUIRE(id) DCHECK(CEF_CURRENTLY_ON(id))
|
||||
#define CEF_REQUIRE_UIT() CEF_REQUIRE(CEF_UIT)
|
||||
#define CEF_REQUIRE_IOT() CEF_REQUIRE(CEF_IOT)
|
||||
#define CEF_REQUIRE_FILET() CEF_REQUIRE(CEF_FILET)
|
||||
|
||||
#define CEF_REQUIRE_RETURN(id, var) \
|
||||
if (!CEF_CURRENTLY_ON(id)) { \
|
||||
|
Reference in New Issue
Block a user