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

Issue 2705293008: Disable info bar animations during automated testing. (Closed)

Created:
3 years, 10 months ago by samuong
Modified:
3 years, 10 months ago
Reviewers:
Peter Kasting
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Disable info bar animations during automated testing. BUG=chromedriver:1683 Review-Url: https://codereview.chromium.org/2705293008 Cr-Commit-Position: refs/heads/master@{#452738} Committed: https://chromium.googlesource.com/chromium/src/+/20e8838145837ef381ebe3116c4af6bb1734b116

Patch Set 1 #

Patch Set 2 : add DCHECKs #

Total comments: 11

Patch Set 3 : fix nits #

Patch Set 4 : use = for init rather than {} #

Patch Set 5 : make InfoBarContainer check whether animations are enabled #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -5 lines) Patch
M chrome/browser/infobars/infobar_service.cc View 1 2 2 chunks +6 lines, -0 lines 0 comments Download
M components/infobars/core/infobar_container.cc View 1 2 3 4 2 chunks +4 lines, -2 lines 0 comments Download
M components/infobars/core/infobar_manager.h View 1 2 3 3 chunks +8 lines, -1 line 0 comments Download
M components/infobars/core/infobar_manager.cc View 1 2 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 19 (8 generated)
samuong
3 years, 10 months ago (2017-02-22 23:58:49 UTC) #2
Peter Kasting
LGTM https://codereview.chromium.org/2705293008/diff/20001/chrome/browser/infobars/infobar_service.cc File chrome/browser/infobars/infobar_service.cc (right): https://codereview.chromium.org/2705293008/diff/20001/chrome/browser/infobars/infobar_service.cc#newcode52 chrome/browser/infobars/infobar_service.cc:52: // Info bar animations cause viewport resizes. Disable ...
3 years, 10 months ago (2017-02-23 00:33:56 UTC) #3
samuong
https://codereview.chromium.org/2705293008/diff/20001/chrome/browser/infobars/infobar_service.cc File chrome/browser/infobars/infobar_service.cc (right): https://codereview.chromium.org/2705293008/diff/20001/chrome/browser/infobars/infobar_service.cc#newcode52 chrome/browser/infobars/infobar_service.cc:52: // Info bar animations cause viewport resizes. Disable them ...
3 years, 10 months ago (2017-02-23 00:45:26 UTC) #4
Peter Kasting
https://codereview.chromium.org/2705293008/diff/20001/components/infobars/core/infobar_manager.cc File components/infobars/core/infobar_manager.cc (right): https://codereview.chromium.org/2705293008/diff/20001/components/infobars/core/infobar_manager.cc#newcode104 components/infobars/core/infobar_manager.cc:104: : infobars_enabled_(true), animations_enabled_(true) { On 2017/02/23 00:45:26, samuong wrote: ...
3 years, 10 months ago (2017-02-23 00:51:34 UTC) #5
samuong
Done
3 years, 10 months ago (2017-02-23 04:27:19 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2705293008/60001
3 years, 10 months ago (2017-02-23 04:27:40 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/393920)
3 years, 10 months ago (2017-02-23 05:07:15 UTC) #11
samuong
Peter, it looks like I was wrong to assume that |InfoBar::owner_| was valid from InfoBar::Show/Hide. ...
3 years, 10 months ago (2017-02-23 22:45:49 UTC) #13
Peter Kasting
LGTM
3 years, 10 months ago (2017-02-24 01:28:03 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2705293008/100001
3 years, 10 months ago (2017-02-24 02:31:48 UTC) #16
commit-bot: I haz the power
3 years, 10 months ago (2017-02-24 03:21:52 UTC) #19
Message was sent while issue was closed.
Committed patchset #5 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/20e8838145837ef381ebe3116c4a...

Powered by Google App Engine
This is Rietveld 408576698