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

Issue 2720913003: Calls display_configuration_controller to rotate screen in accelerator_controller_delegate_aura (Closed)

Created:
3 years, 9 months ago by wutao
Modified:
3 years, 9 months ago
CC:
chromium-reviews, kalyank, sadrul
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Calls display_configuration_controller to rotate screen in accelerator_controller_delegate_aura This unifies the code path calling ScreenRotationAnimator::Rotate through display_configuration_controller SetDisplayRotation. Further screen rotation animation improvement will base on this change. BUG=678763 TEST=manual, unit_tests R=bruthig@chromium.org, oshima@chromium.org Review-Url: https://codereview.chromium.org/2720913003 Cr-Commit-Position: refs/heads/master@{#454288} Committed: https://chromium.googlesource.com/chromium/src/+/4b326a561bf0feaae081fe6f2037cde4d25a8fd9

Patch Set 1 #

Total comments: 14

Patch Set 2 : Calls display_configuration_controller to rotate screen in accelerator_controller_delegate_aura #

Total comments: 11

Patch Set 3 : Calls display_configuration_controller to rotate screen in accelerator_controller_delegate_aura #

Total comments: 4

Patch Set 4 : Change the descriptions in actions.xml #

Total comments: 1

Patch Set 5 : Last patch for commit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -18 lines) Patch
M ash/accelerators/accelerator_controller_delegate_aura.cc View 1 2 3 2 chunks +5 lines, -6 lines 0 comments Download
M ash/accelerators/accelerator_controller_unittest.cc View 1 2 1 chunk +19 lines, -0 lines 0 comments Download
M ash/display/display_configuration_controller.h View 1 1 chunk +1 line, -2 lines 0 comments Download
M ash/display/display_configuration_controller.cc View 1 1 chunk +2 lines, -3 lines 0 comments Download
M ash/display/screen_orientation_controller_chromeos.cc View 1 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/extensions/display_info_provider_chromeos.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/options/chromeos/display_options_handler.cc View 1 1 chunk +1 line, -2 lines 0 comments Download
M tools/metrics/actions/actions.xml View 1 2 3 4 1 chunk +29 lines, -2 lines 0 comments Download

Messages

Total messages: 44 (25 generated)
afakhry
https://codereview.chromium.org/2720913003/diff/1/ash/accelerators/accelerator_controller_unittest.cc File ash/accelerators/accelerator_controller_unittest.cc (right): https://codereview.chromium.org/2720913003/diff/1/ash/accelerators/accelerator_controller_unittest.cc#newcode530 ash/accelerators/accelerator_controller_unittest.cc:530: TEST_F(AcceleratorControllerTest, RotateScreen) { You probably need to disable this ...
3 years, 9 months ago (2017-02-28 02:51:53 UTC) #5
wutao
Hi Oshima and Ben, Could you please look at the CL. The test case does ...
3 years, 9 months ago (2017-02-28 18:53:26 UTC) #6
bruthig
Overall looking good. Left a few requests and nits. https://codereview.chromium.org/2720913003/diff/1/ash/accelerators/accelerator_controller_delegate_aura.cc File ash/accelerators/accelerator_controller_delegate_aura.cc (right): https://codereview.chromium.org/2720913003/diff/1/ash/accelerators/accelerator_controller_delegate_aura.cc#newcode31 ash/accelerators/accelerator_controller_delegate_aura.cc:31: ...
3 years, 9 months ago (2017-02-28 19:11:47 UTC) #7
wutao
Responded to Ahmed and Ben's comments. Will upload another patch soon. https://codereview.chromium.org/2720913003/diff/1/ash/accelerators/accelerator_controller_delegate_aura.cc File ash/accelerators/accelerator_controller_delegate_aura.cc (right): ...
3 years, 9 months ago (2017-02-28 20:29:09 UTC) #8
wutao
Hi Steven, I modified two files you owned. Could you please look at: chrome/browser/extensions/display_info_provider_chromeos.cc chrome/browser/ui/webui/options/chromeos/display_options_handler.cc ...
3 years, 9 months ago (2017-02-28 22:08:57 UTC) #14
bruthig
lgtm https://codereview.chromium.org/2720913003/diff/20001/ash/accelerators/accelerator_controller_delegate_aura.cc File ash/accelerators/accelerator_controller_delegate_aura.cc (right): https://codereview.chromium.org/2720913003/diff/20001/ash/accelerators/accelerator_controller_delegate_aura.cc#newcode162 ash/accelerators/accelerator_controller_delegate_aura.cc:162: base::RecordAction(UserMetricsAction("Accel_Rotate_Screen")); Good eye! https://codereview.chromium.org/2720913003/diff/20001/ash/accelerators/accelerator_controller_unittest.cc File ash/accelerators/accelerator_controller_unittest.cc (right): https://codereview.chromium.org/2720913003/diff/20001/ash/accelerators/accelerator_controller_unittest.cc#newcode530 ...
3 years, 9 months ago (2017-02-28 22:49:22 UTC) #15
wutao
https://codereview.chromium.org/2720913003/diff/20001/tools/metrics/actions/actions.xml File tools/metrics/actions/actions.xml (right): https://codereview.chromium.org/2720913003/diff/20001/tools/metrics/actions/actions.xml#newcode762 tools/metrics/actions/actions.xml:762: <description>Please enter the description of the metric.</description> On 2017/02/28 ...
3 years, 9 months ago (2017-02-28 23:44:44 UTC) #16
oshima
lgtm https://codereview.chromium.org/2720913003/diff/20001/chrome/browser/extensions/display_info_provider_chromeos.cc File chrome/browser/extensions/display_info_provider_chromeos.cc (left): https://codereview.chromium.org/2720913003/diff/20001/chrome/browser/extensions/display_info_provider_chromeos.cc#oldcode499 chrome/browser/extensions/display_info_provider_chromeos.cc:499: display::Display::ROTATION_SOURCE_ACTIVE, true /* user_action */); Thanks, we changed ...
3 years, 9 months ago (2017-03-01 00:47:31 UTC) #17
wutao
https://codereview.chromium.org/2720913003/diff/20001/chrome/browser/extensions/display_info_provider_chromeos.cc File chrome/browser/extensions/display_info_provider_chromeos.cc (left): https://codereview.chromium.org/2720913003/diff/20001/chrome/browser/extensions/display_info_provider_chromeos.cc#oldcode499 chrome/browser/extensions/display_info_provider_chromeos.cc:499: display::Display::ROTATION_SOURCE_ACTIVE, true /* user_action */); On 2017/03/01 00:47:31, oshima ...
3 years, 9 months ago (2017-03-01 01:06:35 UTC) #18
stevenjb
lgtm
3 years, 9 months ago (2017-03-01 17:53:07 UTC) #19
wutao
Hi Mark, Could you please look at tools/metrics/actions/actions.xml Hi Reilly, Could you please look at ...
3 years, 9 months ago (2017-03-01 23:05:57 UTC) #21
Reilly Grant (use Gerrit)
lgtm
3 years, 9 months ago (2017-03-01 23:21:41 UTC) #25
Mark P
https://codereview.chromium.org/2720913003/diff/40001/tools/metrics/actions/actions.xml File tools/metrics/actions/actions.xml (right): https://codereview.chromium.org/2720913003/diff/40001/tools/metrics/actions/actions.xml#newcode763 tools/metrics/actions/actions.xml:763: Metric recorded when the user rotate the screen using ...
3 years, 9 months ago (2017-03-02 00:05:26 UTC) #29
wutao
https://codereview.chromium.org/2720913003/diff/40001/tools/metrics/actions/actions.xml File tools/metrics/actions/actions.xml (right): https://codereview.chromium.org/2720913003/diff/40001/tools/metrics/actions/actions.xml#newcode763 tools/metrics/actions/actions.xml:763: Metric recorded when the user rotate the screen using ...
3 years, 9 months ago (2017-03-02 00:26:07 UTC) #31
wutao
Hi Mark, Could you please look at the actions.xml again. tools/metrics/actions/actions.xml Thanks, Tao
3 years, 9 months ago (2017-03-02 01:48:55 UTC) #32
Mark P
actions.xml lgtm, modulo one possible comment Thanks for getting this situation cleaned up properly! --mark ...
3 years, 9 months ago (2017-03-02 05:01:00 UTC) #33
wutao
On 2017/03/02 05:01:00, Mark P wrote: > actions.xml lgtm, modulo one possible comment > > ...
3 years, 9 months ago (2017-03-02 16:21:41 UTC) #34
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/2720913003/80001
3 years, 9 months ago (2017-03-02 17:03:06 UTC) #41
commit-bot: I haz the power
3 years, 9 months ago (2017-03-02 17:11:45 UTC) #44
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/4b326a561bf0feaae081fe6f2037...

Powered by Google App Engine
This is Rietveld 408576698