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

Issue 10698046: Implements part of Device Motion in the Renderer (Closed)

Created:
8 years, 5 months ago by aousterh
Modified:
8 years, 4 months ago
Reviewers:
hans, bulach, Steve Block, 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 Device Motion in the Renderer Implements Device Motion in the renderer and the message filter for Device Motion in the browser. This depends on WebKit patch at https://bugs.webkit.org/show_bug.cgi?id=89197. BUG=59201 TEST=browser_tests:DeviceOrientationBrowserTest.BasicMotionTest

Patch Set 1 #

Total comments: 22

Patch Set 2 : Makes changes suggested by review comments #

Total comments: 2

Patch Set 3 : Implements new WebKit API, rebases after large refactorings #

Total comments: 11

Patch Set 4 : Makes changes suggested by review comments #

Total comments: 2

Patch Set 5 : Resets last_motion_ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+738 lines, -10 lines) Patch
M content/browser/device_orientation/device_data.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/device_orientation/device_orientation_browsertest.cc View 1 2 3 2 chunks +34 lines, -4 lines 0 comments Download
A content/browser/device_orientation/motion.h View 1 2 3 1 chunk +165 lines, -0 lines 0 comments Download
A content/browser/device_orientation/motion.cc View 1 2 3 1 chunk +66 lines, -0 lines 0 comments Download
A content/browser/device_orientation/motion_message_filter.h View 1 2 3 1 chunk +30 lines, -0 lines 0 comments Download
A content/browser/device_orientation/motion_message_filter.cc View 1 2 3 1 chunk +34 lines, -0 lines 0 comments Download
M content/browser/device_orientation/observer_delegate.cc View 1 2 3 2 chunks +11 lines, -2 lines 0 comments Download
M content/browser/device_orientation/orientation_message_filter.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M content/browser/device_orientation/provider_unittest.cc View 1 2 3 3 chunks +122 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 3 chunks +3 lines, -0 lines 0 comments Download
M content/common/content_message_generator.h View 1 2 3 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 2 3 1 chunk +1 line, -0 lines 0 comments Download
M content/content_renderer.gypi View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
A content/renderer/device_motion_dispatcher.h View 1 2 1 chunk +46 lines, -0 lines 0 comments Download
A content/renderer/device_motion_dispatcher.cc View 1 2 3 4 1 chunk +88 lines, -0 lines 0 comments Download
M content/renderer/render_view_impl.h View 1 2 3 4 chunks +7 lines, -0 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 3 chunks +8 lines, -0 lines 0 comments Download
M content/renderer/renderer_webkitplatformsupport_impl.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/renderer_webkitplatformsupport_impl.cc View 1 2 2 chunks +16 lines, -0 lines 0 comments Download
A content/test/data/device_orientation/device_motion_test.html View 1 2 1 chunk +44 lines, -0 lines 0 comments Download
M ipc/ipc_message_utils.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
aousterh
8 years, 5 months ago (2012-06-29 10:34:24 UTC) #1
aousterh
8 years, 5 months ago (2012-07-02 08:48:52 UTC) #2
bulach
thanks amy! a few nits below, but most important the comment about the switching the ...
8 years, 5 months ago (2012-07-02 12:47:56 UTC) #3
aousterh
Thanks for the comments! I responded to them, made the changes you suggested, and also ...
8 years, 5 months ago (2012-07-04 13:31:54 UTC) #4
Steve Block
It looks like Marcus has this under control! http://codereview.chromium.org/10698046/diff/1031/content/browser/device_orientation/motion_message_filter.cc File content/browser/device_orientation/motion_message_filter.cc (right): http://codereview.chromium.org/10698046/diff/1031/content/browser/device_orientation/motion_message_filter.cc#newcode35 content/browser/device_orientation/motion_message_filter.cc:35: virtual ...
8 years, 5 months ago (2012-07-04 13:58:24 UTC) #5
aousterh
This new patch set implements the revised DeviceMotion API in WebKit, reflecting the change in ...
8 years, 4 months ago (2012-08-13 10:25:58 UTC) #6
hans
LGTM, just a couple of nits. Since this is blocked on the WebKit patch, maybe ...
8 years, 4 months ago (2012-08-13 13:35:19 UTC) #7
aousterh
The parts of this patch that do not depend on the WebKit patch have been ...
8 years, 4 months ago (2012-08-16 15:23:49 UTC) #8
hans
Just one comment, otherwise still lgtm. I guess it's time to bring in the owners ...
8 years, 4 months ago (2012-08-16 16:38:40 UTC) #9
aousterh
Thanks Hans. jam: can you do an OWNERS review for content/ and ipc/? Thanks! https://chromiumcodereview.appspot.com/10698046/diff/26003/content/renderer/device_motion_dispatcher.cc ...
8 years, 4 months ago (2012-08-16 17:21:05 UTC) #10
hans
8 years, 4 months ago (2012-08-20 13:38:41 UTC) #11
Re-uploading this patch here: https://chromiumcodereview.appspot.com/10827415/

Powered by Google App Engine
This is Rietveld 408576698