| Index: blimp/engine/app/engine_settings.h
|
| diff --git a/blimp/engine/app/engine_settings.h b/blimp/engine/app/engine_settings.h
|
| index 99d5663a4a2c7a3d741c07de849a48290d8267d2..26fa779a91f2577b17de05386b69486bfe1a0510 100644
|
| --- a/blimp/engine/app/engine_settings.h
|
| +++ b/blimp/engine/app/engine_settings.h
|
| @@ -5,16 +5,26 @@
|
| #ifndef BLIMP_ENGINE_APP_ENGINE_SETTINGS_H_
|
| #define BLIMP_ENGINE_APP_ENGINE_SETTINGS_H_
|
|
|
| +#include "content/public/common/web_preferences.h"
|
| +
|
| namespace blimp {
|
| namespace engine {
|
|
|
| +// The EngineSettings includes all parameters which are configured for the
|
| +// BlimpEngine and can be set by the client. This includes the values for
|
| +// content::WebPreferences which override the default values.
|
| struct EngineSettings {
|
| + EngineSettings() {}
|
| +
|
| // -------WebPreferences-------
|
| - bool record_whole_document;
|
| + // These members mirror the parameters in content::WebPreferences. See
|
| + // content/public/common/web_preferences.h for details.
|
| +
|
| + bool record_whole_document = false;
|
|
|
| - EngineSettings();
|
| - EngineSettings(const EngineSettings& other);
|
| - ~EngineSettings();
|
| + // Disable animation in images by default.
|
| + content::ImageAnimationPolicy animation_policy =
|
| + content::ImageAnimationPolicy::IMAGE_ANIMATION_POLICY_NO_ANIMATION;
|
| };
|
|
|
| } // namespace engine
|
|
|