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

Issue 574113002: Use chromeos accelerometer reader and support only lid accelerometer. (Closed)

Created:
6 years, 3 months ago by flackr
Modified:
6 years, 3 months ago
Reviewers:
Daniel Erat, oshima
CC:
chromium-reviews, kalyank, stevenjb+watch_chromium.org, sadrul, oshima+watch_chromium.org, ben+ash_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Use chromeos accelerometer reader in athena and support only lid accelerometer. BUG=380831 TEST=Glimmer/clapper still work, manually tested not having a base accelerometer. Committed: https://crrev.com/2aa8d2e93a06cc7673c872704c04e933bd6cc252 Cr-Commit-Position: refs/heads/master@{#295258}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Use BlockingPool for athena and fix nit. #

Total comments: 1

Patch Set 3 : Merge with master. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+132 lines, -573 lines) Patch
M athena/athena.gyp View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M athena/main/athena_launcher.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M athena/main/athena_main.cc View 1 2 1 chunk +3 lines, -2 lines 0 comments Download
D athena/system/device_socket_listener.h View 1 chunk +0 lines, -48 lines 0 comments Download
D athena/system/device_socket_listener.cc View 1 chunk +0 lines, -310 lines 0 comments Download
M athena/system/orientation_controller.h View 1 2 chunks +9 lines, -38 lines 0 comments Download
M athena/system/orientation_controller.cc View 1 2 2 chunks +12 lines, -103 lines 0 comments Download
M athena/system/system_ui_impl.cc View 1 5 chunks +6 lines, -8 lines 0 comments Download
M athena/test/athena_test_helper.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/views/athena/chrome_browser_main_extra_parts_athena.cc View 1 1 chunk +3 lines, -2 lines 0 comments Download
M chromeos/accelerometer/accelerometer_reader.h View 1 2 chunks +12 lines, -6 lines 0 comments Download
M chromeos/accelerometer/accelerometer_reader.cc View 1 7 chunks +84 lines, -52 lines 0 comments Download

Messages

Total messages: 21 (7 generated)
flackr
PTAL, this adds support for only having some of the supported accelerometers and uses chromeos/accelerometer/accelerometer_reader.cc ...
6 years, 3 months ago (2014-09-16 20:57:53 UTC) #2
oshima
nice! https://codereview.chromium.org/574113002/diff/1/chrome/browser/ui/ash/ash_init.cc File chrome/browser/ui/ash/ash_init.cc (right): https://codereview.chromium.org/574113002/diff/1/chrome/browser/ui/ash/ash_init.cc#newcode76 chrome/browser/ui/ash/ash_init.cc:76: content::BrowserThread::FILE)); FILE thread is obsolete and we should ...
6 years, 3 months ago (2014-09-16 21:27:17 UTC) #3
Daniel Erat
lgtm modulo oshima's comment https://codereview.chromium.org/574113002/diff/1/chromeos/accelerometer/accelerometer_reader.cc File chromeos/accelerometer/accelerometer_reader.cc (right): https://codereview.chromium.org/574113002/diff/1/chromeos/accelerometer/accelerometer_reader.cc#newcode32 chromeos/accelerometer/accelerometer_reader.cc:32: const base::FilePath::CharType kAccelerometerScaleName[] = "in_accel_%s_scale"; ...
6 years, 3 months ago (2014-09-16 21:41:03 UTC) #4
flackr
https://codereview.chromium.org/574113002/diff/1/chrome/browser/ui/ash/ash_init.cc File chrome/browser/ui/ash/ash_init.cc (right): https://codereview.chromium.org/574113002/diff/1/chrome/browser/ui/ash/ash_init.cc#newcode76 chrome/browser/ui/ash/ash_init.cc:76: content::BrowserThread::FILE)); On 2014/09/16 21:27:16, oshima wrote: > FILE thread ...
6 years, 3 months ago (2014-09-16 22:19:23 UTC) #6
oshima
lgtm https://codereview.chromium.org/574113002/diff/40001/athena/test/athena_test_helper.cc File athena/test/athena_test_helper.cc (right): https://codereview.chromium.org/574113002/diff/40001/athena/test/athena_test_helper.cc#newcode63 athena/test/athena_test_helper.cc:63: // TODO(oshima): Use a BlockingPool task runner. You ...
6 years, 3 months ago (2014-09-16 22:33:04 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/574113002/40001
6 years, 3 months ago (2014-09-16 23:52:53 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: mac_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu/builds/56830) ios_dbg_simulator on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator/builds/15675) ios_rel_device ...
6 years, 3 months ago (2014-09-16 23:57:50 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/574113002/60001
6 years, 3 months ago (2014-09-17 00:33:01 UTC) #13
commit-bot: I haz the power
Exceeded time limit waiting for builds to trigger.
6 years, 3 months ago (2014-09-17 02:34:18 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/574113002/60001
6 years, 3 months ago (2014-09-17 11:56:13 UTC) #17
commit-bot: I haz the power
Committed patchset #3 (id:60001) as a425b788611091443e3ba7662c3d92f1786edefa
6 years, 3 months ago (2014-09-17 12:20:46 UTC) #18
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/2aa8d2e93a06cc7673c872704c04e933bd6cc252 Cr-Commit-Position: refs/heads/master@{#295258}
6 years, 3 months ago (2014-09-17 12:21:19 UTC) #19
battre
A revert of this CL (patchset #3 id:60001) has been created in https://codereview.chromium.org/571283006/ by battre@chromium.org. ...
6 years, 3 months ago (2014-09-17 12:52:43 UTC) #20
flackr
6 years, 3 months ago (2014-09-17 12:53:55 UTC) #21
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:60001) has been created in
https://codereview.chromium.org/553913003/ by flackr@chromium.org.

The reason for reverting is: Broke compile on
http://build.chromium.org/p/chromium.chromiumos/builders/Linux%20ChromiumOS%2....

Powered by Google App Engine
This is Rietveld 408576698