mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Support registration of custom preferences.
Custom global and request context preferences can now be registered via CefBrowserProcessHandler::OnRegisterCustomPreferences. CefRequestContext now extends CefPreferenceManager and global preferences can be accessed via CefPreferenceManager::GetGlobalPreferenceManager.
This commit is contained in:
@@ -3431,6 +3431,19 @@ typedef enum {
|
||||
CEF_TEST_CERT_EXPIRED,
|
||||
} cef_test_cert_type_t;
|
||||
|
||||
///
|
||||
/// Preferences type passed to
|
||||
/// CefBrowserProcessHandler::OnRegisterCustomPreferences.
|
||||
///
|
||||
typedef enum {
|
||||
/// Global preferences registered a single time at application startup.
|
||||
CEF_PREFERENCES_TYPE_GLOBAL,
|
||||
|
||||
/// Request context preferences registered each time a new CefRequestContext
|
||||
/// is created.
|
||||
CEF_PREFERENCES_TYPE_REQUEST_CONTEXT,
|
||||
} cef_preferences_type_t;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user