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

Issue 1157173003: Impelement InputDevice.firesTouchEvents (Closed)

Created:
5 years, 7 months ago by lanwei
Modified:
5 years, 6 months ago
Reviewers:
tkent, tdresser, Rick Byers
CC:
blink-reviews, vivekg, arv+blink, Inactive, vivekg_samsung, oilpan-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Impelement InputDevice.firesTouchEvents Long term InputDevice API design sketch: https://docs.google.com/a/chromium.org/document/d/1WLadG2dn4vlCewOmUtUEoRsThiptC7Ox28CRmYUn8Uw/edit This CL implements 'firesTouchEvents' property in InputDevice API. The Intent-to-Implement: UIEvent.sourceDevice & InputDevice.firesTouchEvents link: https://groups.google.com/a/chromium.org/forum/#!searchin/blink-dev/inputdevice/blink-dev/wjtZl9jpCpI/xC0JTRKgc9kJ BUG=476530 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=196553

Patch Set 1 #

Total comments: 4

Patch Set 2 : Put behind RuntimeEnabledFeature #

Total comments: 6

Patch Set 3 : Remove unnecessary include #

Total comments: 1

Patch Set 4 : Move to core/input #

Patch Set 5 : Add a constructor #

Total comments: 4

Patch Set 6 : Add InputDevice to LayoutTests/webexposed #

Total comments: 14

Patch Set 7 : Change to GarbageCollectedFinalized #

Total comments: 3

Patch Set 8 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+130 lines, -3 lines) Patch
A LayoutTests/fast/input/input-device-constructor.html View 1 2 3 4 5 6 1 chunk +15 lines, -0 lines 0 comments Download
A LayoutTests/fast/input/input-device-constructor-expected.txt View 1 2 3 1 chunk +11 lines, -0 lines 0 comments Download
M LayoutTests/webexposed/global-interface-listing-expected.txt View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M Source/core/core.gypi View 1 2 3 4 5 6 7 4 chunks +6 lines, -0 lines 0 comments Download
A Source/core/input/InputDevice.h View 1 2 3 4 5 6 1 chunk +46 lines, -0 lines 0 comments Download
A Source/core/input/InputDevice.cpp View 1 2 3 4 5 6 7 1 chunk +24 lines, -0 lines 0 comments Download
A Source/core/input/InputDevice.idl View 1 2 3 4 5 6 1 chunk +21 lines, -0 lines 0 comments Download
A + Source/core/input/InputDeviceInit.idl View 1 2 3 4 5 1 chunk +3 lines, -3 lines 0 comments Download
M Source/platform/RuntimeEnabledFeatures.in View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 33 (12 generated)
lanwei
5 years, 7 months ago (2015-05-26 23:54:04 UTC) #2
tdresser
We should probably put this behind a RuntimeEnabledFeature: https://www.chromium.org/blink/runtime-enabled-features https://codereview.chromium.org/1157173003/diff/1/Source/core/events/InputDevice.h File Source/core/events/InputDevice.h (right): https://codereview.chromium.org/1157173003/diff/1/Source/core/events/InputDevice.h#newcode43 Source/core/events/InputDevice.h:43: ...
5 years, 7 months ago (2015-05-27 12:38:47 UTC) #3
Rick Byers
https://codereview.chromium.org/1157173003/diff/20001/Source/core/events/InputDevice.idl File Source/core/events/InputDevice.idl (right): https://codereview.chromium.org/1157173003/diff/20001/Source/core/events/InputDevice.idl#newcode1 Source/core/events/InputDevice.idl:1: // Copyright 2015 The Chromium Authors. All rights reserved. ...
5 years, 7 months ago (2015-05-28 00:21:57 UTC) #4
lanwei
https://codereview.chromium.org/1157173003/diff/1/Source/core/events/InputDevice.h File Source/core/events/InputDevice.h (right): https://codereview.chromium.org/1157173003/diff/1/Source/core/events/InputDevice.h#newcode43 Source/core/events/InputDevice.h:43: // touch event handlers. On 2015/05/27 12:38:47, tdresser wrote: ...
5 years, 6 months ago (2015-05-28 14:56:18 UTC) #5
tdresser
https://codereview.chromium.org/1157173003/diff/20001/Source/core/events/InputDevice.h File Source/core/events/InputDevice.h (right): https://codereview.chromium.org/1157173003/diff/20001/Source/core/events/InputDevice.h#newcode11 Source/core/events/InputDevice.h:11: #include "platform/heap/Handle.h" Is this required? https://codereview.chromium.org/1157173003/diff/20001/Source/core/events/InputDevice.idl File Source/core/events/InputDevice.idl (right): ...
5 years, 6 months ago (2015-05-28 15:03:21 UTC) #6
lanwei
https://codereview.chromium.org/1157173003/diff/20001/Source/core/events/InputDevice.idl File Source/core/events/InputDevice.idl (right): https://codereview.chromium.org/1157173003/diff/20001/Source/core/events/InputDevice.idl#newcode1 Source/core/events/InputDevice.idl:1: // Copyright 2015 The Chromium Authors. All rights reserved. ...
5 years, 6 months ago (2015-05-28 18:14:43 UTC) #7
tdresser
LGTM. I think moving this to core/input before landing it might be easier (and then ...
5 years, 6 months ago (2015-05-28 18:18:18 UTC) #8
lanwei
5 years, 6 months ago (2015-05-29 19:32:01 UTC) #10
lanwei
5 years, 6 months ago (2015-06-02 14:08:14 UTC) #13
Rick Byers
LGTM with nits Also I think you'll need to update the expectations for the LayoutTests/webexposed ...
5 years, 6 months ago (2015-06-03 17:59:46 UTC) #14
lanwei
tkent@chromium.org: Please review changes in Source/platform/RuntimeEnabledFeatures.in, I add a new class InputDevice, thanks. https://codereview.chromium.org/1157173003/diff/130001/Source/core/input/InputDevice.cpp File ...
5 years, 6 months ago (2015-06-03 21:20:55 UTC) #19
tkent
https://codereview.chromium.org/1157173003/diff/210001/LayoutTests/fast/input/input-device-constructor.html File LayoutTests/fast/input/input-device-constructor.html (right): https://codereview.chromium.org/1157173003/diff/210001/LayoutTests/fast/input/input-device-constructor.html#newcode10 LayoutTests/fast/input/input-device-constructor.html:10: shouldBe("new InputDevice().firesTouchEvents", "false"); shouldBe -> shouldBeFalse https://codereview.chromium.org/1157173003/diff/210001/LayoutTests/fast/input/input-device-constructor.html#newcode11 LayoutTests/fast/input/input-device-constructor.html:11: shouldBe("new ...
5 years, 6 months ago (2015-06-04 00:00:47 UTC) #20
Rick Byers
https://codereview.chromium.org/1157173003/diff/210001/Source/core/input/InputDevice.h File Source/core/input/InputDevice.h (right): https://codereview.chromium.org/1157173003/diff/210001/Source/core/input/InputDevice.h#newcode42 Source/core/input/InputDevice.h:42: InputDevice(); On 2015/06/04 00:00:47, tkent wrote: > Can we ...
5 years, 6 months ago (2015-06-04 13:55:29 UTC) #21
lanwei
https://codereview.chromium.org/1157173003/diff/210001/LayoutTests/fast/input/input-device-constructor.html File LayoutTests/fast/input/input-device-constructor.html (right): https://codereview.chromium.org/1157173003/diff/210001/LayoutTests/fast/input/input-device-constructor.html#newcode10 LayoutTests/fast/input/input-device-constructor.html:10: shouldBe("new InputDevice().firesTouchEvents", "false"); On 2015/06/04 00:00:47, tkent wrote: > ...
5 years, 6 months ago (2015-06-04 21:21:36 UTC) #22
tkent
lgtm https://codereview.chromium.org/1157173003/diff/230001/Source/core/input/InputDevice.cpp File Source/core/input/InputDevice.cpp (right): https://codereview.chromium.org/1157173003/diff/230001/Source/core/input/InputDevice.cpp#newcode4 Source/core/input/InputDevice.cpp:4: #include "config.h" Add a blank line before this ...
5 years, 6 months ago (2015-06-04 22:55:42 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1157173003/290001
5 years, 6 months ago (2015-06-05 03:23:42 UTC) #28
commit-bot: I haz the power
Committed patchset #8 (id:290001) as https://src.chromium.org/viewvc/blink?view=rev&revision=196553
5 years, 6 months ago (2015-06-05 04:30:04 UTC) #29
Rick Byers
https://codereview.chromium.org/1157173003/diff/210001/Source/core/input/InputDevice.h File Source/core/input/InputDevice.h (right): https://codereview.chromium.org/1157173003/diff/210001/Source/core/input/InputDevice.h#newcode16 Source/core/input/InputDevice.h:16: class CORE_EXPORT InputDevice : public RefCountedWillBeGarbageCollectedFinalized<InputDevice>, public ScriptWrappable { ...
5 years, 6 months ago (2015-06-10 20:37:05 UTC) #30
tkent
https://codereview.chromium.org/1157173003/diff/210001/Source/core/input/InputDevice.h File Source/core/input/InputDevice.h (right): https://codereview.chromium.org/1157173003/diff/210001/Source/core/input/InputDevice.h#newcode16 Source/core/input/InputDevice.h:16: class CORE_EXPORT InputDevice : public RefCountedWillBeGarbageCollectedFinalized<InputDevice>, public ScriptWrappable { ...
5 years, 6 months ago (2015-06-10 22:50:03 UTC) #31
Rick Byers
On 2015/06/10 22:50:03, tkent wrote: > https://codereview.chromium.org/1157173003/diff/210001/Source/core/input/InputDevice.h > File Source/core/input/InputDevice.h (right): > > https://codereview.chromium.org/1157173003/diff/210001/Source/core/input/InputDevice.h#newcode16 > ...
5 years, 6 months ago (2015-06-10 23:06:53 UTC) #32
lanwei
5 years, 6 months ago (2015-06-16 18:11:15 UTC) #33
Message was sent while issue was closed.
https://codereview.chromium.org/1157173003/diff/230001/Source/core/input/Inpu...
File Source/core/input/InputDevice.cpp (right):

https://codereview.chromium.org/1157173003/diff/230001/Source/core/input/Inpu...
Source/core/input/InputDevice.cpp:4: #include "config.h"
On 2015/06/04 22:55:42, tkent wrote:
> Add a blank line before this line.

Done.

Powered by Google App Engine
This is Rietveld 408576698