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

Issue 2837773003: Flip the flag to enable smooth screen rotation by default. (Closed)

Created:
3 years, 8 months ago by wutao
Modified:
3 years, 8 months ago
CC:
chromium-reviews, kalyank, sadrul, asvitkine+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Flip the flag to enable smooth screen rotation by default. Flip the flag to enable the smooth screen rotation by default. Fix some tests which evaluate the rotation results immediately. In those cases, skipping the screen rotation animation. BUG=678763 TEST=Manual and AboutFlagsHistogramTest.CheckHistograms Review-Url: https://codereview.chromium.org/2837773003 Cr-Commit-Position: refs/heads/master@{#467348} Committed: https://chromium.googlesource.com/chromium/src/+/b161bf2135de81cd904dbdce7e1398c7c2f063c7

Patch Set 1 #

Total comments: 1

Patch Set 2 : Fix more tests. #

Patch Set 3 : Add ScopedCommandLine to append switch for screen rotation animation control. #

Total comments: 6

Patch Set 4 : Add comments how the test will work. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -51 lines) Patch
M ash/ash_switches.h View 1 1 chunk +1 line, -1 line 0 comments Download
M ash/ash_switches.cc View 1 1 chunk +3 lines, -3 lines 0 comments Download
M ash/rotator/screen_rotation_animator.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ash/rotator/screen_rotation_animator.cc View 1 2 6 chunks +28 lines, -20 lines 0 comments Download
M ash/rotator/screen_rotation_animator_unittest.cc View 1 2 3 3 chunks +5 lines, -2 lines 0 comments Download
M ash/test/ash_test_base.cc View 1 2 3 chunks +0 lines, -11 lines 0 comments Download
M ash/test/ash_test_helper.h View 1 2 3 chunks +5 lines, -0 lines 0 comments Download
M ash/test/ash_test_helper.cc View 1 2 4 chunks +26 lines, -0 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/browser/flag_descriptions.h View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/browser/flag_descriptions.cc View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 2 chunks +1 line, -1 line 0 comments Download

Messages

Total messages: 33 (22 generated)
wutao
Flipping the flag to enable smooth screen rotation by default. This breaks some tests because ...
3 years, 8 months ago (2017-04-24 18:49:06 UTC) #2
wutao
Fixed more tests. Hi stevenjb@, please review the following tests you own. ash/system/overview/* chrome/browser/extensions/display_info_provider_chromeos_unittest.cc chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl_unittest.cc ...
3 years, 8 months ago (2017-04-25 00:41:14 UTC) #7
Steven Holte
histograms lgtm
3 years, 8 months ago (2017-04-25 01:32:18 UTC) #10
oshima
Can you disable by default in ashtestbase and enable only in the test this is ...
3 years, 8 months ago (2017-04-25 17:52:18 UTC) #13
wutao
Hi James, Please review ash/test/*. I moved one of your TODO from ash/test/ash_test_base.cc to ash/test/ash_test_helper.cc. ...
3 years, 8 months ago (2017-04-25 22:01:48 UTC) #15
James Cook
https://codereview.chromium.org/2837773003/diff/40001/ash/test/ash_test_helper.cc File ash/test/ash_test_helper.cc (right): https://codereview.chromium.org/2837773003/diff/40001/ash/test/ash_test_helper.cc#newcode89 ash/test/ash_test_helper.cc:89: // TODO(jamescook): Can we do this without changing command ...
3 years, 8 months ago (2017-04-25 22:14:27 UTC) #18
wutao
https://codereview.chromium.org/2837773003/diff/40001/ash/test/ash_test_helper.cc File ash/test/ash_test_helper.cc (right): https://codereview.chromium.org/2837773003/diff/40001/ash/test/ash_test_helper.cc#newcode89 ash/test/ash_test_helper.cc:89: // TODO(jamescook): Can we do this without changing command ...
3 years, 8 months ago (2017-04-25 22:24:40 UTC) #19
oshima
lgtm https://codereview.chromium.org/2837773003/diff/40001/ash/rotator/screen_rotation_animator_unittest.cc File ash/rotator/screen_rotation_animator_unittest.cc (right): https://codereview.chromium.org/2837773003/diff/40001/ash/rotator/screen_rotation_animator_unittest.cc#newcode226 ash/rotator/screen_rotation_animator_unittest.cc:226: ash_test_helper()->reset_commandline(); Since resetting itself doesn't change the value ...
3 years, 8 months ago (2017-04-25 23:36:01 UTC) #20
wutao
Add comments and ready to commit. https://codereview.chromium.org/2837773003/diff/40001/ash/rotator/screen_rotation_animator_unittest.cc File ash/rotator/screen_rotation_animator_unittest.cc (right): https://codereview.chromium.org/2837773003/diff/40001/ash/rotator/screen_rotation_animator_unittest.cc#newcode226 ash/rotator/screen_rotation_animator_unittest.cc:226: ash_test_helper()->reset_commandline(); On 2017/04/25 ...
3 years, 8 months ago (2017-04-26 01:05:34 UTC) #23
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/2837773003/60001
3 years, 8 months ago (2017-04-26 16:48:21 UTC) #30
commit-bot: I haz the power
3 years, 8 months ago (2017-04-26 16:55:26 UTC) #33
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/b161bf2135de81cd904dbdce7e13...

Powered by Google App Engine
This is Rietveld 408576698