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

Issue 775763007: Use event init dictionary in modules/device_light (Closed)

Created:
6 years ago by bashi
Modified:
6 years ago
Reviewers:
haraken, riju_, timvolodine
CC:
blink-reviews, mlamouri+watch-blink_chromium.org, timvolodine
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Use event init dictionary in modules/device_light This CL replaces manually-written DeviceLightEventInit with IDL dictionary. fast/dom/DeviceLight/create-event.html covers this change. BUG=433179 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=187214

Patch Set 1 : #

Total comments: 9

Patch Set 2 : #

Total comments: 6

Patch Set 3 : #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -13 lines) Patch
M LayoutTests/fast/dom/DeviceLight/create-event.html View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/events/Event.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M Source/modules/device_light/DeviceLightEvent.h View 1 chunk +1 line, -10 lines 0 comments Download
M Source/modules/device_light/DeviceLightEvent.cpp View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M Source/modules/device_light/DeviceLightEvent.idl View 1 chunk +4 lines, -2 lines 0 comments Download
A Source/modules/device_light/DeviceLightEventInit.idl View 1 2 1 chunk +9 lines, -0 lines 0 comments Download
M Source/modules/modules.gypi View 1 2 3 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (9 generated)
bashi
PTAL?
6 years ago (2014-12-03 03:40:49 UTC) #5
haraken
https://codereview.chromium.org/775763007/diff/60001/Source/modules/device_light/DeviceLightEvent.cpp File Source/modules/device_light/DeviceLightEvent.cpp (right): https://codereview.chromium.org/775763007/diff/60001/Source/modules/device_light/DeviceLightEvent.cpp#newcode27 Source/modules/device_light/DeviceLightEvent.cpp:27: , m_value(std::numeric_limits<double>::infinity()) Doesn't this change existing behavior? I guess ...
6 years ago (2014-12-03 04:31:06 UTC) #6
bashi
https://codereview.chromium.org/775763007/diff/60001/Source/modules/device_light/DeviceLightEvent.cpp File Source/modules/device_light/DeviceLightEvent.cpp (right): https://codereview.chromium.org/775763007/diff/60001/Source/modules/device_light/DeviceLightEvent.cpp#newcode27 Source/modules/device_light/DeviceLightEvent.cpp:27: , m_value(std::numeric_limits<double>::infinity()) On 2014/12/03 04:31:06, haraken wrote: > > ...
6 years ago (2014-12-03 04:36:48 UTC) #7
bashi
https://codereview.chromium.org/775763007/diff/60001/Source/modules/device_light/DeviceLightEvent.cpp File Source/modules/device_light/DeviceLightEvent.cpp (right): https://codereview.chromium.org/775763007/diff/60001/Source/modules/device_light/DeviceLightEvent.cpp#newcode27 Source/modules/device_light/DeviceLightEvent.cpp:27: , m_value(std::numeric_limits<double>::infinity()) On 2014/12/03 04:31:06, haraken wrote: > > ...
6 years ago (2014-12-03 04:36:48 UTC) #8
haraken
LGTM https://codereview.chromium.org/775763007/diff/60001/Source/modules/device_light/DeviceLightEvent.cpp File Source/modules/device_light/DeviceLightEvent.cpp (right): https://codereview.chromium.org/775763007/diff/60001/Source/modules/device_light/DeviceLightEvent.cpp#newcode27 Source/modules/device_light/DeviceLightEvent.cpp:27: , m_value(std::numeric_limits<double>::infinity()) On 2014/12/03 04:36:48, bashi1 wrote: > ...
6 years ago (2014-12-03 04:38:36 UTC) #9
timvolodine
https://codereview.chromium.org/775763007/diff/60001/LayoutTests/fast/dom/DeviceLight/create-event.html File LayoutTests/fast/dom/DeviceLight/create-event.html (right): https://codereview.chromium.org/775763007/diff/60001/LayoutTests/fast/dom/DeviceLight/create-event.html#newcode34 LayoutTests/fast/dom/DeviceLight/create-event.html:34: shouldBeFalse("defaultEvent.bubbles"); unless I am missing something the spec explicitly ...
6 years ago (2014-12-03 12:37:51 UTC) #10
bashi
https://codereview.chromium.org/775763007/diff/60001/LayoutTests/fast/dom/DeviceLight/create-event.html File LayoutTests/fast/dom/DeviceLight/create-event.html (right): https://codereview.chromium.org/775763007/diff/60001/LayoutTests/fast/dom/DeviceLight/create-event.html#newcode34 LayoutTests/fast/dom/DeviceLight/create-event.html:34: shouldBeFalse("defaultEvent.bubbles"); On 2014/12/03 12:37:50, timvolodine wrote: > unless I ...
6 years ago (2014-12-04 23:40:52 UTC) #11
bashi
timvolodine@, ping? I'd happy to revert the behavior change of bubbles. (We can revisit it ...
6 years ago (2014-12-09 02:13:22 UTC) #12
timvolodine
https://codereview.chromium.org/775763007/diff/60001/LayoutTests/fast/dom/DeviceLight/create-event.html File LayoutTests/fast/dom/DeviceLight/create-event.html (right): https://codereview.chromium.org/775763007/diff/60001/LayoutTests/fast/dom/DeviceLight/create-event.html#newcode34 LayoutTests/fast/dom/DeviceLight/create-event.html:34: shouldBeFalse("defaultEvent.bubbles"); On 2014/12/04 23:40:52, bashi1 wrote: > On 2014/12/03 ...
6 years ago (2014-12-09 14:49:29 UTC) #13
bashi
https://codereview.chromium.org/775763007/diff/60001/LayoutTests/fast/dom/DeviceLight/create-event.html File LayoutTests/fast/dom/DeviceLight/create-event.html (right): https://codereview.chromium.org/775763007/diff/60001/LayoutTests/fast/dom/DeviceLight/create-event.html#newcode34 LayoutTests/fast/dom/DeviceLight/create-event.html:34: shouldBeFalse("defaultEvent.bubbles"); On 2014/12/09 14:49:29, timvolodine wrote: > On 2014/12/04 ...
6 years ago (2014-12-10 00:06:07 UTC) #14
riju_
On 2014/12/09 14:49:29, timvolodine wrote: > https://codereview.chromium.org/775763007/diff/60001/LayoutTests/fast/dom/DeviceLight/create-event.html > File LayoutTests/fast/dom/DeviceLight/create-event.html (right): > > https://codereview.chromium.org/775763007/diff/60001/LayoutTests/fast/dom/DeviceLight/create-event.html#newcode34 > ...
6 years ago (2014-12-11 10:44:35 UTC) #15
timvolodine
https://codereview.chromium.org/775763007/diff/80001/LayoutTests/fast/dom/DeviceLight/create-event.html File LayoutTests/fast/dom/DeviceLight/create-event.html (right): https://codereview.chromium.org/775763007/diff/80001/LayoutTests/fast/dom/DeviceLight/create-event.html#newcode34 LayoutTests/fast/dom/DeviceLight/create-event.html:34: // FIXME: Maybe bubbles should be configurable. fixme looks ...
6 years ago (2014-12-11 18:38:46 UTC) #16
bashi
Thank you for review! https://codereview.chromium.org/775763007/diff/80001/LayoutTests/fast/dom/DeviceLight/create-event.html File LayoutTests/fast/dom/DeviceLight/create-event.html (right): https://codereview.chromium.org/775763007/diff/80001/LayoutTests/fast/dom/DeviceLight/create-event.html#newcode34 LayoutTests/fast/dom/DeviceLight/create-event.html:34: // FIXME: Maybe bubbles should ...
6 years ago (2014-12-11 23:56:16 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/775763007/100001
6 years ago (2014-12-11 23:56:49 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: win_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/win_blink_rel/builds/41040)
6 years ago (2014-12-12 01:14:47 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/775763007/100001
6 years ago (2014-12-12 03:43:05 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: win_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/win_blink_rel/builds/41112)
6 years ago (2014-12-12 05:12:40 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/775763007/120001
6 years ago (2014-12-15 23:41:40 UTC) #27
commit-bot: I haz the power
6 years ago (2014-12-16 03:11:46 UTC) #28
Message was sent while issue was closed.
Committed patchset #4 (id:120001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=187214

Powered by Google App Engine
This is Rietveld 408576698