mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium revision 248478.
- Add new CefSettings.windowless_rendering_enabled value that must be enabled when using windowless (off-screen) rendering. - Improve naming and documentation for CefWindowInfo members. - CefBeginTracing now completes asynchronously. - Rename CefEndTracingAsync to CefEndTracing. - Rename CefCompletionHandler to CefCompletionCallback. git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1592 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@@ -43,6 +43,7 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
#include "include/capi/cef_base_capi.h"
|
||||
#include "include/capi/cef_callback_capi.h"
|
||||
|
||||
|
||||
///
|
||||
@@ -68,9 +69,9 @@ typedef struct _cef_end_tracing_callback_t {
|
||||
|
||||
|
||||
///
|
||||
// Start tracing events on all processes. Tracing begins immediately locally,
|
||||
// and asynchronously on child processes as soon as they receive the
|
||||
// BeginTracing request.
|
||||
// Start tracing events on all processes. Tracing is initialized asynchronously
|
||||
// and |callback| will be executed on the UI thread after initialization is
|
||||
// complete.
|
||||
//
|
||||
// If CefBeginTracing was called previously, or if a CefEndTracingAsync call is
|
||||
// pending, CefBeginTracing will fail and return false (0).
|
||||
@@ -84,7 +85,8 @@ typedef struct _cef_end_tracing_callback_t {
|
||||
//
|
||||
// This function must be called on the browser process UI thread.
|
||||
///
|
||||
CEF_EXPORT int cef_begin_tracing(const cef_string_t* categories);
|
||||
CEF_EXPORT int cef_begin_tracing(const cef_string_t* categories,
|
||||
struct _cef_completion_callback_t* callback);
|
||||
|
||||
///
|
||||
// Stop tracing events on all processes.
|
||||
@@ -99,7 +101,7 @@ CEF_EXPORT int cef_begin_tracing(const cef_string_t* categories);
|
||||
//
|
||||
// This function must be called on the browser process UI thread.
|
||||
///
|
||||
CEF_EXPORT int cef_end_tracing_async(const cef_string_t* tracing_file,
|
||||
CEF_EXPORT int cef_end_tracing(const cef_string_t* tracing_file,
|
||||
cef_end_tracing_callback_t* callback);
|
||||
|
||||
///
|
||||
|
Reference in New Issue
Block a user