Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(131)

Side by Side Diff: blimp/engine/app/engine_settings.cc

Issue 1903873003: blimp: Update animation policy for images on the blimp engine. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 // The default animation policy for images is no animation. This means
13 // that
14 // only the first frame will be shown.
Wez 2016/04/20 23:09:06 Weird line-wrap? This comment seems unnecessarily
Khushal 2016/04/21 00:21:25 Done.
15 // See third_party/WebKit/Source/platform/graphics/ImageAnimationPolicy.h
16 // for details.
17 animation_policy(
18 content::ImageAnimationPolicy::IMAGE_ANIMATION_POLICY_NO_ANIMATION) {}
11 19
12 EngineSettings::~EngineSettings() {} 20 EngineSettings::~EngineSettings() {}
13 21
14 EngineSettings::EngineSettings(const EngineSettings& other) = default; 22 EngineSettings::EngineSettings(const EngineSettings& other) = default;
15 23
16 } // namespace engine 24 } // namespace engine
17 } // namespace blimp 25 } // namespace blimp
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698