mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Add CefBrowserSettings.history_disabled option to disable history back/forward navigation (issue #419).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@393 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@@ -190,6 +190,11 @@ typedef struct _cef_browser_settings_t
|
||||
///
|
||||
bool load_drops_disabled;
|
||||
|
||||
///
|
||||
// Disable history back/forward navigation.
|
||||
///
|
||||
bool history_disabled;
|
||||
|
||||
// The below values map to WebPreferences settings.
|
||||
|
||||
///
|
||||
|
@@ -324,6 +324,7 @@ struct CefBrowserSettingsTraits {
|
||||
{
|
||||
target->drag_drop_disabled = src->drag_drop_disabled;
|
||||
target->load_drops_disabled = src->load_drops_disabled;
|
||||
target->history_disabled = src->history_disabled;
|
||||
|
||||
cef_string_set(src->standard_font_family.str,
|
||||
src->standard_font_family.length, &target->standard_font_family, copy);
|
||||
|
Reference in New Issue
Block a user