mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium revision 66afc5e5 (#540276)
This commit is contained in:
@@ -1379,38 +1379,49 @@ typedef enum {
|
||||
///
|
||||
// The main thread in the browser. This will be the same as the main
|
||||
// application thread if CefInitialize() is called with a
|
||||
// CefSettings.multi_threaded_message_loop value of false.
|
||||
// CefSettings.multi_threaded_message_loop value of false. Do not perform
|
||||
// blocking tasks on this thread. All tasks posted after
|
||||
// CefBrowserProcessHandler::OnContextInitialized() and before CefShutdown()
|
||||
// are guaranteed to run. This thread will outlive all other CEF threads.
|
||||
///
|
||||
TID_UI,
|
||||
|
||||
///
|
||||
// Used to interact with the database.
|
||||
// Used for blocking tasks (e.g. file system access) where the user won't
|
||||
// notice if the task takes an arbitrarily long time to complete. All tasks
|
||||
// posted after CefBrowserProcessHandler::OnContextInitialized() and before
|
||||
// CefShutdown() are guaranteed to run.
|
||||
///
|
||||
TID_DB,
|
||||
TID_FILE_BACKGROUND,
|
||||
TID_FILE = TID_FILE_BACKGROUND,
|
||||
|
||||
///
|
||||
// Used to interact with the file system.
|
||||
// Used for blocking tasks (e.g. file system access) that affect UI or
|
||||
// responsiveness of future user interactions. Do not use if an immediate
|
||||
// response to a user interaction is expected. All tasks posted after
|
||||
// CefBrowserProcessHandler::OnContextInitialized() and before CefShutdown()
|
||||
// are guaranteed to run.
|
||||
// Examples:
|
||||
// - Updating the UI to reflect progress on a long task.
|
||||
// - Loading data that might be shown in the UI after a future user
|
||||
// interaction.
|
||||
///
|
||||
TID_FILE,
|
||||
TID_FILE_USER_VISIBLE,
|
||||
|
||||
///
|
||||
// Used for file system operations that block user interactions.
|
||||
// Responsiveness of this thread affects users.
|
||||
// Used for blocking tasks (e.g. file system access) that affect UI
|
||||
// immediately after a user interaction. All tasks posted after
|
||||
// CefBrowserProcessHandler::OnContextInitialized() and before CefShutdown()
|
||||
// are guaranteed to run.
|
||||
// Example: Generating data shown in the UI immediately after a click.
|
||||
///
|
||||
TID_FILE_USER_BLOCKING,
|
||||
|
||||
///
|
||||
// Used to launch and terminate browser processes.
|
||||
///
|
||||
TID_PROCESS_LAUNCHER,
|
||||
|
||||
///
|
||||
// Used to handle slow HTTP cache operations.
|
||||
///
|
||||
TID_CACHE,
|
||||
|
||||
///
|
||||
// Used to process IPC and network messages.
|
||||
// Used to process IPC and network messages. Do not perform blocking tasks on
|
||||
// this thread. All tasks posted after
|
||||
// CefBrowserProcessHandler::OnContextInitialized() and before CefShutdown()
|
||||
// are guaranteed to run.
|
||||
///
|
||||
TID_IO,
|
||||
|
||||
@@ -1418,6 +1429,10 @@ typedef enum {
|
||||
|
||||
///
|
||||
// The main thread in the renderer. Used for all WebKit and V8 interaction.
|
||||
// Tasks may be posted to this thread after
|
||||
// CefRenderProcessHandler::OnRenderThreadCreated but are not guaranteed to
|
||||
// run before sub-process termination (sub-processes may be killed at any time
|
||||
// without warning).
|
||||
///
|
||||
TID_RENDERER,
|
||||
} cef_thread_id_t;
|
||||
|
Reference in New Issue
Block a user