mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Delete Alloy bootstrap (fixes #3685)
This commit is contained in:
@ -9,42 +9,13 @@
|
||||
#include <string>
|
||||
|
||||
#include "cef/include/internal/cef_types_wrappers.h"
|
||||
#include "cef/libcef/features/features.h"
|
||||
|
||||
#if BUILDFLAG(ENABLE_ALLOY_BOOTSTRAP)
|
||||
#include "third_party/skia/include/core/SkColor.h"
|
||||
#endif
|
||||
|
||||
namespace blink::web_pref {
|
||||
struct WebPreferences;
|
||||
}
|
||||
|
||||
#if BUILDFLAG(ENABLE_ALLOY_BOOTSTRAP)
|
||||
namespace content {
|
||||
class RenderViewHost;
|
||||
class WebContents;
|
||||
} // namespace content
|
||||
|
||||
namespace user_prefs {
|
||||
class PrefRegistrySyncable;
|
||||
}
|
||||
|
||||
class CommandLinePrefStore;
|
||||
#endif // BUILDFLAG(ENABLE_ALLOY_BOOTSTRAP)
|
||||
|
||||
namespace renderer_prefs {
|
||||
|
||||
#if BUILDFLAG(ENABLE_ALLOY_BOOTSTRAP)
|
||||
// Register additional renderer-related preferences.
|
||||
void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry,
|
||||
const std::string& locale);
|
||||
|
||||
// Set default values based on CEF command-line flags for preferences that are
|
||||
// available via the PrefService. Chromium command-line flags should not exist
|
||||
// for these preferences.
|
||||
void SetCommandLinePrefDefaults(CommandLinePrefStore* prefs);
|
||||
#endif // BUILDFLAG(ENABLE_ALLOY_BOOTSTRAP)
|
||||
|
||||
// Set default values based on CEF command-line flags for preferences that are
|
||||
// not available via the PrefService. Chromium command-line flags should not
|
||||
// exist for these preferences.
|
||||
@ -54,17 +25,6 @@ void SetDefaultPrefs(blink::web_pref::WebPreferences& web);
|
||||
void SetCefPrefs(const CefBrowserSettings& cef,
|
||||
blink::web_pref::WebPreferences& web);
|
||||
|
||||
#if BUILDFLAG(ENABLE_ALLOY_BOOTSTRAP)
|
||||
// Populate WebPreferences based on a combination of command-line values,
|
||||
// PrefService and CefBrowserSettings.
|
||||
void PopulateWebPreferences(content::RenderViewHost* rvh,
|
||||
blink::web_pref::WebPreferences& web,
|
||||
SkColor& base_background_color);
|
||||
bool PopulateWebPreferencesAfterNavigation(
|
||||
content::WebContents* web_contents,
|
||||
blink::web_pref::WebPreferences& web);
|
||||
#endif // BUILDFLAG(ENABLE_ALLOY_BOOTSTRAP)
|
||||
|
||||
} // namespace renderer_prefs
|
||||
|
||||
#endif // CEF_LIBCEF_BROWSER_PREFS_RENDERER_PREFS_H_
|
||||
|
Reference in New Issue
Block a user