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

Issue 1903873003: blimp: Update animation policy for images on the blimp engine. (Closed)

Created:
4 years, 8 months ago by Khushal
Modified:
4 years, 8 months ago
Reviewers:
Wez
CC:
chromium-reviews, anandc+watch-blimp_chromium.org, maniscalco+watch-blimp_chromium.org, sriramsr+watch-blimp_chromium.org, nyquist+watch-blimp_chromium.org, marcinjb+watch-blimp_chromium.org, jessicag+watch-blimp_chromium.org, kmarshall+watch-blimp_chromium.org, dtrainor+watch-blimp_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

blimp: Update animation policy for images on the blimp engine. The Blimp Engine currently uses the default animation policy in blink, which means for an image like a GIF the engine would trigger regular commits to drive the animation. Change this to NO_ANIMATION, so only the first frame of the animation is shown. BUG=605190 Committed: https://crrev.com/03a74c3c04ff24b43fbeaf5dc0c3e013c364e500 Cr-Commit-Position: refs/heads/master@{#388908}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Addressed comments. #

Total comments: 6

Patch Set 3 : Addressed comments #

Patch Set 4 : Addressed comments. #

Total comments: 4

Patch Set 5 : Remove EngineSettings cc file. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -24 lines) Patch
M blimp/engine/BUILD.gn View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M blimp/engine/app/engine_settings.h View 1 2 3 4 1 chunk +14 lines, -4 lines 0 comments Download
M blimp/engine/app/engine_settings.cc View 1 2 3 4 1 chunk +0 lines, -17 lines 0 comments Download
M blimp/engine/app/settings_manager.cc View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M blimp/engine/app/settings_manager_unittest.cc View 1 2 1 chunk +19 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (6 generated)
Khushal
4 years, 8 months ago (2016-04-20 21:55:17 UTC) #2
Wez
https://codereview.chromium.org/1903873003/diff/1/blimp/engine/app/engine_settings.cc File blimp/engine/app/engine_settings.cc (right): https://codereview.chromium.org/1903873003/diff/1/blimp/engine/app/engine_settings.cc#newcode14 blimp/engine/app/engine_settings.cc:14: // only the first frame will be shown. Weird ...
4 years, 8 months ago (2016-04-20 23:09:07 UTC) #3
Wez
LGTM once the comment is tidied up.
4 years, 8 months ago (2016-04-20 23:09:30 UTC) #4
Khushal
Thanks, done. Could you take another look? https://codereview.chromium.org/1903873003/diff/1/blimp/engine/app/engine_settings.cc File blimp/engine/app/engine_settings.cc (right): https://codereview.chromium.org/1903873003/diff/1/blimp/engine/app/engine_settings.cc#newcode14 blimp/engine/app/engine_settings.cc:14: // only ...
4 years, 8 months ago (2016-04-21 00:21:25 UTC) #5
Wez
https://codereview.chromium.org/1903873003/diff/1/blimp/engine/app/settings_manager.cc File blimp/engine/app/settings_manager.cc (right): https://codereview.chromium.org/1903873003/diff/1/blimp/engine/app/settings_manager.cc#newcode25 blimp/engine/app/settings_manager.cc:25: DCHECK(prefs); On 2016/04/21 00:21:25, Khushal wrote: > On 2016/04/20 ...
4 years, 8 months ago (2016-04-21 00:40:29 UTC) #6
Khushal
Done. Uploaded the same change twice by mistake. :P https://codereview.chromium.org/1903873003/diff/1/blimp/engine/app/settings_manager.cc File blimp/engine/app/settings_manager.cc (right): https://codereview.chromium.org/1903873003/diff/1/blimp/engine/app/settings_manager.cc#newcode25 blimp/engine/app/settings_manager.cc:25: ...
4 years, 8 months ago (2016-04-21 01:20:18 UTC) #7
Wez
LGTM, but (having review Chromium style guide ;) please consider the notes on simplifying the ...
4 years, 8 months ago (2016-04-21 17:29:02 UTC) #8
Khushal
Done. Thanks! https://codereview.chromium.org/1903873003/diff/60001/blimp/engine/app/engine_settings.h File blimp/engine/app/engine_settings.h (right): https://codereview.chromium.org/1903873003/diff/60001/blimp/engine/app/engine_settings.h#newcode17 blimp/engine/app/engine_settings.h:17: EngineSettings(); On 2016/04/21 17:29:02, Wez wrote: > ...
4 years, 8 months ago (2016-04-21 18:45:48 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1903873003/10004 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1903873003/10004
4 years, 8 months ago (2016-04-21 18:47:03 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/201646)
4 years, 8 months ago (2016-04-21 20:17:58 UTC) #14
Wez
Failure looks unrelated to this CL; resubmitting.
4 years, 8 months ago (2016-04-21 20:47:03 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1903873003/10004 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1903873003/10004
4 years, 8 months ago (2016-04-21 20:47:44 UTC) #17
commit-bot: I haz the power
Committed patchset #5 (id:10004)
4 years, 8 months ago (2016-04-21 21:38:41 UTC) #18
commit-bot: I haz the power
4 years, 8 months ago (2016-04-22 19:39:52 UTC) #20
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/03a74c3c04ff24b43fbeaf5dc0c3e013c364e500
Cr-Commit-Position: refs/heads/master@{#388908}

Powered by Google App Engine
This is Rietveld 408576698