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

Issue 191003009: Move DeviceSensorEvent* h|cpp files to a common module (Closed)

Created:
6 years, 9 months ago by riju_
Modified:
6 years, 9 months ago
CC:
blink-reviews, mvanouwerkerk+watch_chromium.org, Inactive
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Move DeviceSensorEvent* h|cpp files to a common module DeviceSensorEvent* h|cpp files resided under device_orientation as device_orientation and motion were the only ones to use them. As more Device Apis are added using the module system in Blink (e.g. Ambient Light) we need to move these files to a common place (Source/core/frame) to avoid any cross module dependency. Encounted this issue while adding Ambient Light support -> https://codereview.chromium.org/143823004/ BUG= Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=169270

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix comments #

Patch Set 3 : rebase #

Patch Set 4 : Move to Source/core/frame #

Total comments: 1

Patch Set 5 : Adam's comment: no new dir required #

Total comments: 2

Patch Set 6 : Fix comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -346 lines) Patch
M Source/core/core.gypi View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
A + Source/core/frame/DeviceSensorEventController.h View 1 2 3 4 0 chunks +-1 lines, --1 lines 0 comments Download
A + Source/core/frame/DeviceSensorEventController.cpp View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
A + Source/core/frame/DeviceSensorEventDispatcher.h View 1 2 3 4 0 chunks +-1 lines, --1 lines 0 comments Download
A + Source/core/frame/DeviceSensorEventDispatcher.cpp View 1 2 3 4 5 2 chunks +4 lines, -3 lines 0 comments Download
M Source/modules/device_orientation/DeviceMotionController.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/device_orientation/DeviceMotionDispatcher.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/device_orientation/DeviceOrientationController.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/device_orientation/DeviceOrientationDispatcher.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
D Source/modules/device_orientation/DeviceSensorEventController.h View 1 chunk +0 lines, -71 lines 0 comments Download
D Source/modules/device_orientation/DeviceSensorEventController.cpp View 1 2 1 chunk +0 lines, -112 lines 0 comments Download
D Source/modules/device_orientation/DeviceSensorEventDispatcher.h View 1 chunk +0 lines, -58 lines 0 comments Download
D Source/modules/device_orientation/DeviceSensorEventDispatcher.cpp View 1 chunk +0 lines, -94 lines 0 comments Download
M Source/modules/modules.gypi View 1 2 3 1 chunk +0 lines, -4 lines 0 comments Download

Messages

Total messages: 43 (0 generated)
riju_
Hi Adam, PTAL. for reference: https://codereview.chromium.org/143823004/diff/330001/Source/modules/devicelight/DeviceLightDispatcher.h#newcode31
6 years, 9 months ago (2014-03-10 14:19:33 UTC) #1
timvolodine
https://codereview.chromium.org/191003009/diff/1/Source/modules/device_sensors_common/DeviceSensorEventController.cpp File Source/modules/device_sensors_common/DeviceSensorEventController.cpp (right): https://codereview.chromium.org/191003009/diff/1/Source/modules/device_sensors_common/DeviceSensorEventController.cpp#newcode81 Source/modules/device_sensors_common/DeviceSensorEventController.cpp:81: // Make sure to fire the device motion data ...
6 years, 9 months ago (2014-03-10 15:16:15 UTC) #2
riju_
Thanks Tim for having a look. https://codereview.chromium.org/191003009/diff/1/Source/modules/device_sensors_common/DeviceSensorEventController.cpp File Source/modules/device_sensors_common/DeviceSensorEventController.cpp (right): https://codereview.chromium.org/191003009/diff/1/Source/modules/device_sensors_common/DeviceSensorEventController.cpp#newcode81 Source/modules/device_sensors_common/DeviceSensorEventController.cpp:81: // Make sure ...
6 years, 9 months ago (2014-03-10 15:40:18 UTC) #3
riju_
Thanks Tim for having a look. https://codereview.chromium.org/191003009/diff/1/Source/modules/device_sensors_common/DeviceSensorEventController.cpp File Source/modules/device_sensors_common/DeviceSensorEventController.cpp (right): https://codereview.chromium.org/191003009/diff/1/Source/modules/device_sensors_common/DeviceSensorEventController.cpp#newcode81 Source/modules/device_sensors_common/DeviceSensorEventController.cpp:81: // Make sure ...
6 years, 9 months ago (2014-03-10 15:40:18 UTC) #4
riju_
Hi Adam, PTAL.
6 years, 9 months ago (2014-03-11 13:25:53 UTC) #5
abarth-chromium
Common code needs to move out of the modules directory into either Source/core or Source/platform.
6 years, 9 months ago (2014-03-11 18:27:56 UTC) #6
abarth-chromium
It looks like you have dependencies on other core concepts, so you'll need to move ...
6 years, 9 months ago (2014-03-11 18:28:24 UTC) #7
riju_
On 2014/03/11 18:28:24, abarth wrote: > It looks like you have dependencies on other core ...
6 years, 9 months ago (2014-03-12 12:00:44 UTC) #8
abarth-chromium
LGTM w/ files moved into Source/core/frame https://codereview.chromium.org/191003009/diff/80001/Source/core/core.gypi File Source/core/core.gypi (right): https://codereview.chromium.org/191003009/diff/80001/Source/core/core.gypi#newcode1114 Source/core/core.gypi:1114: 'frame/device_sensors_common/DeviceSensorEventDispatcher.h', You can ...
6 years, 9 months ago (2014-03-12 19:27:22 UTC) #9
riju_
On 2014/03/12 19:27:22, abarth wrote: > LGTM w/ files moved into Source/core/frame > > https://codereview.chromium.org/191003009/diff/80001/Source/core/core.gypi ...
6 years, 9 months ago (2014-03-13 11:16:35 UTC) #10
timvolodine
lgtm with one comment https://codereview.chromium.org/191003009/diff/100001/Source/core/frame/DeviceSensorEventDispatcher.cpp File Source/core/frame/DeviceSensorEventDispatcher.cpp (right): https://codereview.chromium.org/191003009/diff/100001/Source/core/frame/DeviceSensorEventDispatcher.cpp#newcode60 Source/core/frame/DeviceSensorEventDispatcher.cpp:60: // 2. or after didChangeDeviceMotion/Orientation ...
6 years, 9 months ago (2014-03-13 12:05:13 UTC) #11
riju_
thanks tim , cq ? https://codereview.chromium.org/191003009/diff/100001/Source/core/frame/DeviceSensorEventDispatcher.cpp File Source/core/frame/DeviceSensorEventDispatcher.cpp (right): https://codereview.chromium.org/191003009/diff/100001/Source/core/frame/DeviceSensorEventDispatcher.cpp#newcode60 Source/core/frame/DeviceSensorEventDispatcher.cpp:60: // 2. or after ...
6 years, 9 months ago (2014-03-13 12:23:02 UTC) #12
timvolodine
On 2014/03/13 12:23:02, riju_ wrote: > thanks tim , cq ? > > https://codereview.chromium.org/191003009/diff/100001/Source/core/frame/DeviceSensorEventDispatcher.cpp > ...
6 years, 9 months ago (2014-03-13 14:11:00 UTC) #13
riju_
The CQ bit was checked by rijubrata.bhaumik@intel.com
6 years, 9 months ago (2014-03-13 14:13:54 UTC) #14
riju_
The CQ bit was unchecked by rijubrata.bhaumik@intel.com
6 years, 9 months ago (2014-03-13 14:13:54 UTC) #15
riju_
The CQ bit was checked by rijubrata.bhaumik@intel.com
6 years, 9 months ago (2014-03-13 14:13:58 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rijubrata.bhaumik@intel.com/191003009/120001
6 years, 9 months ago (2014-03-13 14:14:01 UTC) #17
riju_
The CQ bit was unchecked by rijubrata.bhaumik@intel.com
6 years, 9 months ago (2014-03-13 14:14:03 UTC) #18
riju_
The CQ bit was checked by rijubrata.bhaumik@intel.com
6 years, 9 months ago (2014-03-13 14:14:05 UTC) #19
riju_
The CQ bit was unchecked by rijubrata.bhaumik@intel.com
6 years, 9 months ago (2014-03-13 14:14:07 UTC) #20
riju_
The CQ bit was checked by rijubrata.bhaumik@intel.com
6 years, 9 months ago (2014-03-13 14:14:16 UTC) #21
riju_
The CQ bit was unchecked by rijubrata.bhaumik@intel.com
6 years, 9 months ago (2014-03-13 14:14:17 UTC) #22
riju_
The CQ bit was checked by rijubrata.bhaumik@intel.com
6 years, 9 months ago (2014-03-13 14:14:24 UTC) #23
riju_
The CQ bit was unchecked by rijubrata.bhaumik@intel.com
6 years, 9 months ago (2014-03-13 14:14:27 UTC) #24
riju_
The CQ bit was checked by rijubrata.bhaumik@intel.com
6 years, 9 months ago (2014-03-13 14:14:39 UTC) #25
riju_
The CQ bit was unchecked by rijubrata.bhaumik@intel.com
6 years, 9 months ago (2014-03-13 14:14:44 UTC) #26
riju_
The CQ bit was checked by rijubrata.bhaumik@intel.com
6 years, 9 months ago (2014-03-13 14:14:51 UTC) #27
riju_
The CQ bit was unchecked by rijubrata.bhaumik@intel.com
6 years, 9 months ago (2014-03-13 14:14:55 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rijubrata.bhaumik@intel.com/191003009/120001
6 years, 9 months ago (2014-03-13 14:14:56 UTC) #29
riju_
The CQ bit was checked by rijubrata.bhaumik@intel.com
6 years, 9 months ago (2014-03-13 14:14:58 UTC) #30
riju_
The CQ bit was unchecked by rijubrata.bhaumik@intel.com
6 years, 9 months ago (2014-03-13 14:15:10 UTC) #31
riju_
On 2014/03/13 14:11:00, timvolodine wrote: > On 2014/03/13 12:23:02, riju_ wrote: > > thanks tim ...
6 years, 9 months ago (2014-03-13 14:16:23 UTC) #32
timvolodine
The CQ bit was checked by timvolodine@chromium.org
6 years, 9 months ago (2014-03-13 14:47:22 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rijubrata.bhaumik@intel.com/191003009/120001
6 years, 9 months ago (2014-03-13 14:47:23 UTC) #34
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-13 15:23:58 UTC) #35
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_blink
6 years, 9 months ago (2014-03-13 15:23:59 UTC) #36
riju_
The CQ bit was checked by rijubrata.bhaumik@intel.com
6 years, 9 months ago (2014-03-14 11:24:40 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rijubrata.bhaumik@intel.com/191003009/120001
6 years, 9 months ago (2014-03-14 11:24:43 UTC) #38
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-14 12:09:56 UTC) #39
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on win_blink_rel
6 years, 9 months ago (2014-03-14 12:09:56 UTC) #40
timvolodine
The CQ bit was checked by timvolodine@chromium.org
6 years, 9 months ago (2014-03-14 18:38:59 UTC) #41
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rijubrata.bhaumik@intel.com/191003009/120001
6 years, 9 months ago (2014-03-14 18:39:02 UTC) #42
commit-bot: I haz the power
6 years, 9 months ago (2014-03-14 20:13:23 UTC) #43
Message was sent while issue was closed.
Change committed as 169270

Powered by Google App Engine
This is Rietveld 408576698