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

Issue 26429003: Cleanup: Add toDeviceMotionEvent and toDeviceOrientationEvent. (Closed)

Created:
7 years, 2 months ago by r.kasibhatla
Modified:
7 years, 2 months ago
CC:
blink-reviews, dglazkov+blink, eae+blinkwatch, adamk+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Cleanup: Add toDeviceMotionEvent and toDeviceOrientationEvent. Adding toDeviceMotionEvent and toDeviceOrientationEvent conversion functions to replace static_cast, and update toWheelEvent and toGestureEvent so that they accept NULL argument for consistency. In the earlier CL, the comparison for Event.interfaceName() was being done with EventNames::<event>, which is wrong. The interfaceName() should be compared against eventNames().interfaceForDeviceMotionEvent. BUG=None TEST=None; no behavior change; Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=159671

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : Updated to ToT #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -11 lines) Patch
M Source/core/dom/Node.cpp View 1 2 2 chunks +4 lines, -3 lines 0 comments Download
M Source/core/events/GestureEvent.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/events/WheelEvent.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/events/WheelEvent.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/shadow/SpinButtonElement.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/device_orientation/DeviceMotionController.cpp View 1 1 chunk +1 line, -2 lines 0 comments Download
M Source/modules/device_orientation/DeviceMotionEvent.h View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M Source/modules/device_orientation/DeviceOrientationEvent.h View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M Source/modules/device_orientation/NewDeviceOrientationController.cpp View 1 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
r.kasibhatla
PTAL.
7 years, 2 months ago (2013-10-10 12:51:13 UTC) #1
Julien - ping for review
In the description, the link is wrong and should be https://codereview.chromium.org/26434002/. What is the difference ...
7 years, 2 months ago (2013-10-10 17:43:17 UTC) #2
r.kasibhatla
On 2013/10/10 17:43:17, Julien Chaffraix wrote: > In the description, the link is wrong and ...
7 years, 2 months ago (2013-10-10 18:20:14 UTC) #3
tkent
> Flakiness fix: Correct the assert used in DeviceMotion & DeviceOrientation. This is not a ...
7 years, 2 months ago (2013-10-10 21:47:12 UTC) #4
r.kasibhatla
On 2013/10/10 21:47:12, tkent wrote: > > Flakiness fix: Correct the assert used in DeviceMotion ...
7 years, 2 months ago (2013-10-11 13:25:46 UTC) #5
tkent
lgtm
7 years, 2 months ago (2013-10-12 13:45:50 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/r.kasibhatla@samsung.com/26429003/6001
7 years, 2 months ago (2013-10-12 13:45:59 UTC) #7
commit-bot: I haz the power
Failed to apply patch for Source/core/dom/Node.cpp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 2 months ago (2013-10-12 13:46:02 UTC) #8
r.kasibhatla
Updated the patch to ToT for Landing.
7 years, 2 months ago (2013-10-15 05:19:50 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/r.kasibhatla@samsung.com/26429003/13001
7 years, 2 months ago (2013-10-15 14:18:25 UTC) #10
commit-bot: I haz the power
7 years, 2 months ago (2013-10-15 15:06:55 UTC) #11
Message was sent while issue was closed.
Change committed as 159671

Powered by Google App Engine
This is Rietveld 408576698