Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "blimp/engine/app/engine_settings.h" | 5 #include "blimp/engine/app/engine_settings.h" |
| 6 | 6 |
| 7 namespace blimp { | 7 namespace blimp { |
| 8 namespace engine { | 8 namespace engine { |
| 9 | 9 |
| 10 EngineSettings::EngineSettings() : record_whole_document(false) {} | 10 EngineSettings::EngineSettings() |
| 11 : record_whole_document(false), | |
| 12 // Disable animation in images by default. | |
| 13 // See third_party/WebKit/Source/platform/graphics/ImageAnimationPolicy.h | |
| 14 // for details. | |
|
Wez
2016/04/21 00:40:28
nit: I don't think you need the ImageAnimationPoli
Khushal
2016/04/21 01:20:17
Done.
| |
| 15 animation_policy( | |
| 16 content::ImageAnimationPolicy::IMAGE_ANIMATION_POLICY_NO_ANIMATION) {} | |
| 11 | 17 |
| 12 EngineSettings::~EngineSettings() {} | 18 EngineSettings::~EngineSettings() {} |
| 13 | 19 |
| 14 EngineSettings::EngineSettings(const EngineSettings& other) = default; | 20 EngineSettings::EngineSettings(const EngineSettings& other) = default; |
| 15 | 21 |
| 16 } // namespace engine | 22 } // namespace engine |
| 17 } // namespace blimp | 23 } // namespace blimp |
| OLD | NEW |