Chromium Code Reviews| 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..b9a97df396fbf7077300158c18e96c6589e274da 100644 |
| --- a/blimp/engine/app/engine_settings.h |
| +++ b/blimp/engine/app/engine_settings.h |
| @@ -5,16 +5,24 @@ |
| #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 { |
| - // -------WebPreferences------- |
| - bool record_whole_document; |
| - |
| EngineSettings(); |
| EngineSettings(const EngineSettings& other); |
| ~EngineSettings(); |
| + |
| + // -------WebPreferences------- |
| + // These members mirror the parameters in content::WebPreferences. See |
| + // content/public/common/web_preferences.h for details. |
| + bool record_whole_document; |
| + content::ImageAnimationPolicy animation_policy; |
|
Wez
2016/04/21 00:40:29
How about using in-line initialization to make the
Khushal
2016/04/21 01:20:17
Makes sense. Done.
|
| }; |
| } // namespace engine |