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

Issue 10823310: Implements part of DeviceMotion in the browser (Closed)

Created:
8 years, 4 months ago by aousterh
Modified:
8 years, 4 months ago
Reviewers:
hans, jam
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Implements part of DeviceMotion in the browser This adds the motion message filter, motion ipc messages, and related motion files. This was originally part of a larger patch (http://codereview.chromium.org/10698046/). BUG=59201 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=151908

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fixes switch statement #

Total comments: 1

Patch Set 3 : Moves to content namespace #

Total comments: 2

Patch Set 4 : Fixes nit #

Patch Set 5 : Fixes lack of return statement in non-void function #

Patch Set 6 : Removes extra return statement #

Unified diffs Side-by-side diffs Delta from patch set Stats (+487 lines, -6 lines) Patch
M content/browser/device_orientation/device_data.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A content/browser/device_orientation/motion.h View 1 2 1 chunk +165 lines, -0 lines 0 comments Download
A content/browser/device_orientation/motion.cc View 1 2 1 chunk +66 lines, -0 lines 0 comments Download
A content/browser/device_orientation/motion_message_filter.h View 1 2 1 chunk +30 lines, -0 lines 0 comments Download
A content/browser/device_orientation/motion_message_filter.cc View 1 2 3 1 chunk +32 lines, -0 lines 0 comments Download
M content/browser/device_orientation/observer_delegate.cc View 1 2 3 4 5 2 chunks +11 lines, -2 lines 0 comments Download
M content/browser/device_orientation/orientation_message_filter.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/browser/device_orientation/provider_unittest.cc View 1 2 3 chunks +122 lines, -1 line 0 comments Download
M content/common/content_message_generator.h View 1 chunk +1 line, -0 lines 0 comments Download
A content/common/device_motion_messages.h View 1 chunk +50 lines, -0 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 1 chunk +6 lines, -2 lines 0 comments Download
M content/content_common.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M ipc/ipc_message_utils.h View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
aousterh
8 years, 4 months ago (2012-08-14 10:17:48 UTC) #1
hans
LGTM, just a nit about that switch statement https://chromiumcodereview.appspot.com/10823310/diff/1/content/browser/device_orientation/observer_delegate.cc File content/browser/device_orientation/observer_delegate.cc (right): https://chromiumcodereview.appspot.com/10823310/diff/1/content/browser/device_orientation/observer_delegate.cc#newcode44 content/browser/device_orientation/observer_delegate.cc:44: default: ...
8 years, 4 months ago (2012-08-14 10:41:31 UTC) #2
aousterh
https://chromiumcodereview.appspot.com/10823310/diff/1/content/browser/device_orientation/observer_delegate.cc File content/browser/device_orientation/observer_delegate.cc (right): https://chromiumcodereview.appspot.com/10823310/diff/1/content/browser/device_orientation/observer_delegate.cc#newcode44 content/browser/device_orientation/observer_delegate.cc:44: default: On 2012/08/14 10:41:31, hans wrote: > i was ...
8 years, 4 months ago (2012-08-14 11:15:30 UTC) #3
aousterh
8 years, 4 months ago (2012-08-14 11:21:32 UTC) #4
aousterh
jam: can you do an owners review for ipc/ and content/? Thanks!
8 years, 4 months ago (2012-08-14 11:24:43 UTC) #5
jam
http://codereview.chromium.org/10823310/diff/16/content/browser/device_orientation/device_data.h File content/browser/device_orientation/device_data.h (right): http://codereview.chromium.org/10823310/diff/16/content/browser/device_orientation/device_data.h#newcode15 content/browser/device_orientation/device_data.h:15: namespace device_orientation { code in content should be in ...
8 years, 4 months ago (2012-08-14 15:28:27 UTC) #6
hans
Just realized we should probably have BUG=59201 in the description.
8 years, 4 months ago (2012-08-15 11:29:21 UTC) #7
aousterh
Thanks! I moved the rest of the device_orientation files to the content namespace in a ...
8 years, 4 months ago (2012-08-15 18:37:51 UTC) #8
jam
lgtm, thanks http://codereview.chromium.org/10823310/diff/8001/content/browser/device_orientation/motion_message_filter.cc File content/browser/device_orientation/motion_message_filter.cc (right): http://codereview.chromium.org/10823310/diff/8001/content/browser/device_orientation/motion_message_filter.cc#newcode11 content/browser/device_orientation/motion_message_filter.cc:11: using content::BrowserThread; nit: not needed
8 years, 4 months ago (2012-08-15 19:13:45 UTC) #9
aousterh
Thanks! I made that small change and rebased. http://codereview.chromium.org/10823310/diff/8001/content/browser/device_orientation/motion_message_filter.cc File content/browser/device_orientation/motion_message_filter.cc (right): http://codereview.chromium.org/10823310/diff/8001/content/browser/device_orientation/motion_message_filter.cc#newcode11 content/browser/device_orientation/motion_message_filter.cc:11: using ...
8 years, 4 months ago (2012-08-16 13:09:14 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/aousterh@chromium.org/10823310/19
8 years, 4 months ago (2012-08-16 13:09:55 UTC) #11
commit-bot: I haz the power
Try job failure for 10823310-19 (retry) on android for steps "compile, build" (clobber build). It's ...
8 years, 4 months ago (2012-08-16 13:22:09 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/aousterh@chromium.org/10823310/10007
8 years, 4 months ago (2012-08-16 13:41:09 UTC) #13
commit-bot: I haz the power
Try job failure for 10823310-10007 (retry) on linux_rel for step "interactive_ui_tests" (clobber build). It's a ...
8 years, 4 months ago (2012-08-16 14:37:06 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/aousterh@chromium.org/10823310/10007
8 years, 4 months ago (2012-08-16 14:42:35 UTC) #15
commit-bot: I haz the power
8 years, 4 months ago (2012-08-16 17:07:33 UTC) #16
Change committed as 151908

Powered by Google App Engine
This is Rietveld 408576698