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

Issue 236833003: Rename device_orientation to device_sensors (Closed)

Created:
6 years, 8 months ago by riju_
Modified:
6 years, 8 months ago
CC:
chromium-reviews, creis+watch_chromium.org, nasko+codewatch_chromium.org, jam, darin-cc_chromium.org, Michael van Ouwerkerk
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Rename device_orientation to device_sensors content/{renderer, common, browser}/device_orientation -> content/{renderer, common, browser}/device_sensors. Rename DeviceMotionAndOrientation.java -> DeviceSensors.java Fix the ifdef include guards Fix Linting nits complained by cpplint.py This change is needed to add DeviceLight api. I will add DeviceLight related changes after https://codereview.chromium.org/143823004/ is added in Blink. BUG=336424 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=265421

Patch Set 1 #

Total comments: 1

Patch Set 2 : Fix renaming DeviceSensors{Test}.java in files #

Patch Set 3 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+242 lines, -4773 lines) Patch
M content/browser/android/browser_jni_registrar.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/browser/browser_main_loop.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
D content/browser/device_orientation/DEPS View 1 chunk +0 lines, -3 lines 0 comments Download
D content/browser/device_orientation/OWNERS View 1 chunk +0 lines, -4 lines 0 comments Download
D content/browser/device_orientation/data_fetcher_shared_memory.h View 1 chunk +0 lines, -66 lines 0 comments Download
D content/browser/device_orientation/data_fetcher_shared_memory_android.cc View 1 chunk +0 lines, -52 lines 0 comments Download
D content/browser/device_orientation/data_fetcher_shared_memory_base.h View 1 chunk +0 lines, -99 lines 0 comments Download
D content/browser/device_orientation/data_fetcher_shared_memory_base.cc View 1 chunk +0 lines, -245 lines 0 comments Download
D content/browser/device_orientation/data_fetcher_shared_memory_base_unittest.cc View 1 chunk +0 lines, -404 lines 0 comments Download
D content/browser/device_orientation/data_fetcher_shared_memory_default.cc View 1 chunk +0 lines, -76 lines 0 comments Download
D content/browser/device_orientation/data_fetcher_shared_memory_mac.cc View 1 chunk +0 lines, -186 lines 0 comments Download
D content/browser/device_orientation/data_fetcher_shared_memory_win.cc View 1 chunk +0 lines, -398 lines 0 comments Download
D content/browser/device_orientation/device_inertial_sensor_browsertest.cc View 1 chunk +0 lines, -290 lines 0 comments Download
D content/browser/device_orientation/device_inertial_sensor_service.h View 1 chunk +0 lines, -72 lines 0 comments Download
D content/browser/device_orientation/device_inertial_sensor_service.cc View 1 chunk +0 lines, -99 lines 0 comments Download
D content/browser/device_orientation/device_motion_message_filter.h View 1 chunk +0 lines, -38 lines 0 comments Download
D content/browser/device_orientation/device_motion_message_filter.cc View 1 chunk +0 lines, -66 lines 0 comments Download
D content/browser/device_orientation/device_orientation_message_filter.h View 1 chunk +0 lines, -37 lines 0 comments Download
D content/browser/device_orientation/device_orientation_message_filter.cc View 1 chunk +0 lines, -67 lines 0 comments Download
D content/browser/device_orientation/inertial_sensor_consts.h View 1 chunk +0 lines, -25 lines 0 comments Download
D content/browser/device_orientation/sensor_manager_android.h View 1 chunk +0 lines, -99 lines 0 comments Download
D content/browser/device_orientation/sensor_manager_android.cc View 1 chunk +0 lines, -276 lines 0 comments Download
D content/browser/device_orientation/sensor_manager_android_unittest.cc View 1 chunk +0 lines, -148 lines 0 comments Download
A + content/browser/device_sensors/DEPS View 0 chunks +-1 lines, --1 lines 0 comments Download
A + content/browser/device_sensors/OWNERS View 0 chunks +-1 lines, --1 lines 0 comments Download
A + content/browser/device_sensors/data_fetcher_shared_memory.h View 2 chunks +6 lines, -6 lines 0 comments Download
A + content/browser/device_sensors/data_fetcher_shared_memory_android.cc View 1 chunk +4 lines, -4 lines 0 comments Download
A + content/browser/device_sensors/data_fetcher_shared_memory_base.h View 3 chunks +5 lines, -6 lines 0 comments Download
A + content/browser/device_sensors/data_fetcher_shared_memory_base.cc View 4 chunks +5 lines, -6 lines 0 comments Download
A + content/browser/device_sensors/data_fetcher_shared_memory_base_unittest.cc View 4 chunks +3 lines, -6 lines 0 comments Download
A + content/browser/device_sensors/data_fetcher_shared_memory_default.cc View 2 chunks +1 line, -2 lines 0 comments Download
A + content/browser/device_sensors/data_fetcher_shared_memory_mac.cc View 0 chunks +-1 lines, --1 lines 0 comments Download
A + content/browser/device_sensors/data_fetcher_shared_memory_win.cc View 0 chunks +-1 lines, --1 lines 0 comments Download
A + content/browser/device_sensors/device_inertial_sensor_browsertest.cc View 3 chunks +6 lines, -7 lines 0 comments Download
A + content/browser/device_sensors/device_inertial_sensor_service.h View 3 chunks +4 lines, -4 lines 0 comments Download
A + content/browser/device_sensors/device_inertial_sensor_service.cc View 2 chunks +4 lines, -4 lines 0 comments Download
A + content/browser/device_sensors/device_motion_message_filter.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + content/browser/device_sensors/device_motion_message_filter.cc View 1 chunk +3 lines, -3 lines 0 comments Download
A + content/browser/device_sensors/device_orientation_message_filter.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + content/browser/device_sensors/device_orientation_message_filter.cc View 1 chunk +3 lines, -3 lines 0 comments Download
A + content/browser/device_sensors/inertial_sensor_consts.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + content/browser/device_sensors/sensor_manager_android.h View 2 chunks +5 lines, -5 lines 0 comments Download
A + content/browser/device_sensors/sensor_manager_android.cc View 4 chunks +7 lines, -7 lines 0 comments Download
A + content/browser/device_sensors/sensor_manager_android_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M content/common/content_message_generator.h View 1 chunk +2 lines, -2 lines 0 comments Download
D content/common/device_orientation/OWNERS View 1 chunk +0 lines, -1 line 0 comments Download
D content/common/device_orientation/device_motion_hardware_buffer.h View 1 chunk +0 lines, -18 lines 0 comments Download
D content/common/device_orientation/device_motion_messages.h View 1 chunk +0 lines, -28 lines 0 comments Download
D content/common/device_orientation/device_orientation_hardware_buffer.h View 1 chunk +0 lines, -18 lines 0 comments Download
D content/common/device_orientation/device_orientation_messages.h View 1 chunk +0 lines, -26 lines 0 comments Download
A + content/common/device_sensors/OWNERS View 0 chunks +-1 lines, --1 lines 0 comments Download
A + content/common/device_sensors/device_motion_hardware_buffer.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + content/common/device_sensors/device_motion_messages.h View 0 chunks +-1 lines, --1 lines 0 comments Download
A + content/common/device_sensors/device_orientation_hardware_buffer.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + content/common/device_sensors/device_orientation_messages.h View 0 chunks +-1 lines, --1 lines 0 comments Download
M content/content_browser.gypi View 1 2 4 chunks +19 lines, -19 lines 0 comments Download
M content/content_common.gypi View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
M content/content_jni.gypi View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M content/content_renderer.gypi View 1 2 1 chunk +6 lines, -6 lines 0 comments Download
M content/content_tests.gypi View 1 2 3 chunks +5 lines, -5 lines 0 comments Download
D content/public/android/java/src/org/chromium/content/browser/DeviceMotionAndOrientation.java View 1 chunk +0 lines, -520 lines 0 comments Download
A + content/public/android/java/src/org/chromium/content/browser/DeviceSensors.java View 1 5 chunks +7 lines, -7 lines 0 comments Download
D content/public/android/javatests/src/org/chromium/content/browser/DeviceMotionAndOrientationTest.java View 1 1 chunk +0 lines, -402 lines 0 comments Download
A + content/public/android/javatests/src/org/chromium/content/browser/DeviceSensorsTest.java View 1 4 chunks +96 lines, -96 lines 0 comments Download
D content/renderer/device_orientation/OWNERS View 1 chunk +0 lines, -3 lines 0 comments Download
D content/renderer/device_orientation/device_motion_event_pump.h View 1 chunk +0 lines, -47 lines 0 comments Download
D content/renderer/device_orientation/device_motion_event_pump.cc View 1 chunk +0 lines, -62 lines 0 comments Download
D content/renderer/device_orientation/device_motion_event_pump_unittest.cc View 1 chunk +0 lines, -144 lines 0 comments Download
D content/renderer/device_orientation/device_orientation_event_pump.h View 1 chunk +0 lines, -54 lines 0 comments Download
D content/renderer/device_orientation/device_orientation_event_pump.cc View 1 chunk +0 lines, -95 lines 0 comments Download
D content/renderer/device_orientation/device_orientation_event_pump_unittest.cc View 1 chunk +0 lines, -209 lines 0 comments Download
D content/renderer/device_orientation/device_sensor_event_pump.h View 1 chunk +0 lines, -60 lines 0 comments Download
D content/renderer/device_orientation/device_sensor_event_pump.cc View 1 chunk +0 lines, -87 lines 0 comments Download
A + content/renderer/device_sensors/OWNERS View 0 chunks +-1 lines, --1 lines 0 comments Download
A + content/renderer/device_sensors/device_motion_event_pump.h View 2 chunks +4 lines, -4 lines 0 comments Download
A + content/renderer/device_sensors/device_motion_event_pump.cc View 1 chunk +1 line, -1 line 0 comments Download
A + content/renderer/device_sensors/device_motion_event_pump_unittest.cc View 2 chunks +4 lines, -4 lines 0 comments Download
A + content/renderer/device_sensors/device_orientation_event_pump.h View 2 chunks +4 lines, -4 lines 0 comments Download
A + content/renderer/device_sensors/device_orientation_event_pump.cc View 1 chunk +1 line, -1 line 0 comments Download
A + content/renderer/device_sensors/device_orientation_event_pump_unittest.cc View 5 chunks +11 lines, -11 lines 0 comments Download
A + content/renderer/device_sensors/device_sensor_event_pump.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + content/renderer/device_sensors/device_sensor_event_pump.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M content/renderer/renderer_webkitplatformsupport_impl.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
riju_
Hi Tim, In this CL, I have addressed your comments on https://codereview.chromium.org/152893002/ Please have a ...
6 years, 8 months ago (2014-04-14 14:20:31 UTC) #1
timvolodine
cool, looks better regarding "D" and "M" designations. https://codereview.chromium.org/236833003/diff/1/content/public/android/java/src/org/chromium/content/browser/DeviceMotionAndOrientation.java File content/public/android/java/src/org/chromium/content/browser/DeviceMotionAndOrientation.java (left): https://codereview.chromium.org/236833003/diff/1/content/public/android/java/src/org/chromium/content/browser/DeviceMotionAndOrientation.java#oldcode1 content/public/android/java/src/org/chromium/content/browser/DeviceMotionAndOrientation.java:1: // ...
6 years, 8 months ago (2014-04-14 18:24:38 UTC) #2
riju_
+ jochen@chromium.org as Content Owner
6 years, 8 months ago (2014-04-15 12:33:27 UTC) #3
riju_
On 2014/04/14 18:24:38, timvolodine wrote: > cool, looks better regarding "D" and "M" designations. > ...
6 years, 8 months ago (2014-04-15 12:52:06 UTC) #4
timvolodine
On 2014/04/15 12:52:06, riju_ wrote: > On 2014/04/14 18:24:38, timvolodine wrote: > > cool, looks ...
6 years, 8 months ago (2014-04-15 13:03:17 UTC) #5
riju_
On 2014/04/15 13:03:17, timvolodine wrote: > On 2014/04/15 12:52:06, riju_ wrote: > > On 2014/04/14 ...
6 years, 8 months ago (2014-04-15 13:40:41 UTC) #6
timvolodine
lgtm great!
6 years, 8 months ago (2014-04-15 13:53:18 UTC) #7
riju_
On 2014/04/15 13:53:18, timvolodine wrote: > lgtm > > great! thanks!
6 years, 8 months ago (2014-04-15 14:02:19 UTC) #8
jochen (gone - plz use gerrit)
can you please reference a tracking bug from the CL description? rubberstamp lgtm for renaming ...
6 years, 8 months ago (2014-04-16 09:10:47 UTC) #9
riju_
On 2014/04/16 09:10:47, jochen wrote: > can you please reference a tracking bug from the ...
6 years, 8 months ago (2014-04-16 09:17:19 UTC) #10
riju_
+dcheng@chromium.org content/common owner
6 years, 8 months ago (2014-04-16 09:24:07 UTC) #11
dcheng
content/common/*message* LGTM
6 years, 8 months ago (2014-04-22 18:26:23 UTC) #12
dcheng
The CQ bit was checked by dcheng@chromium.org
6 years, 8 months ago (2014-04-22 18:26:35 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rijubrata.bhaumik@intel.com/236833003/40001
6 years, 8 months ago (2014-04-22 18:31:51 UTC) #14
commit-bot: I haz the power
6 years, 8 months ago (2014-04-22 23:48:57 UTC) #15
Message was sent while issue was closed.
Change committed as 265421

Powered by Google App Engine
This is Rietveld 408576698