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

Issue 8364039: Initial views touchui GestureRecognizer support (Closed)

Created:
9 years, 2 months ago by Gajen
Modified:
8 years, 11 months ago
CC:
chromium-reviews, tfarina, dhollowa
Visibility:
Public.

Description

Initial views touchui GestureRecognizer support Based on webkit's chromium gesture recognizer BUG=none TEST=manual

Patch Set 1 #

Total comments: 9

Patch Set 2 : Event injection as per Robert comments #

Total comments: 18

Patch Set 3 : Added ForwardGestureEvents()in RootView and incorporated comments #

Total comments: 8

Patch Set 4 : Wired gesture events into RootView and commandline switch enable-gesture #

Total comments: 13

Patch Set 5 : Added gesture tests in view_unittest #

Total comments: 33

Patch Set 6 : Implemenation of GR, independent of View/GM and more test in views_unittes #

Total comments: 2

Patch Set 7 : Reverted chrome_switches.cc changes and TOT sync up #

Total comments: 31

Patch Set 8 : Incorporated SKy's comments #

Patch Set 9 : Added switch support in place of map::find() #

Total comments: 19

Patch Set 10 : Added GestureSignature enum type #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1008 lines, -4 lines) Patch
M ui/base/events.h View 1 2 3 2 chunks +18 lines, -0 lines 0 comments Download
M views/events/event.h View 1 2 3 4 5 6 7 2 chunks +37 lines, -0 lines 0 comments Download
M views/events/event.cc View 1 2 3 1 chunk +34 lines, -0 lines 0 comments Download
A views/touchui/gesture_recognizer.h View 1 2 3 4 5 6 7 8 9 1 chunk +177 lines, -0 lines 0 comments Download
A views/touchui/gesture_recognizer.cc View 1 2 3 4 5 6 7 8 9 1 chunk +287 lines, -0 lines 0 comments Download
M views/view.h View 1 2 3 4 5 6 7 8 9 2 chunks +8 lines, -0 lines 0 comments Download
M views/view.cc View 1 2 3 4 5 6 7 2 chunks +10 lines, -0 lines 0 comments Download
M views/view_unittest.cc View 1 2 3 4 5 6 7 7 chunks +337 lines, -0 lines 0 comments Download
M views/views.gyp View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M views/widget/native_widget_delegate.h View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -0 lines 0 comments Download
M views/widget/root_view.h View 1 2 3 4 5 5 chunks +15 lines, -0 lines 0 comments Download
M views/widget/root_view.cc View 1 2 3 4 5 7 chunks +74 lines, -3 lines 0 comments Download
M views/widget/widget.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M views/widget/widget.cc View 1 2 3 4 5 6 7 8 9 1 chunk +6 lines, -1 line 0 comments Download

Messages

Total messages: 42 (0 generated)
Gajen
Hi, Robert. This is 1st version of patch based on the approach suggested by you ...
9 years, 2 months ago (2011-10-21 14:23:48 UTC) #1
Gajen
9 years, 2 months ago (2011-10-21 14:36:20 UTC) #2
rjkroege
This is a good chromification of the code in WebKit that handles gestures but it ...
9 years, 2 months ago (2011-10-21 20:02:10 UTC) #3
Gajen
On 2011/10/21 20:02:10, rjkroege wrote: > This is a good chromification of the code in ...
9 years, 2 months ago (2011-10-24 14:25:47 UTC) #4
Gajen
9 years, 2 months ago (2011-10-24 14:26:04 UTC) #5
rjkroege
This seems to be progressing nicely. I'd like you to make wiring here more like ...
9 years, 2 months ago (2011-10-24 17:41:09 UTC) #6
Gajen
http://codereview.chromium.org/8364039/diff/1/views/events/event.cc File views/events/event.cc (right): http://codereview.chromium.org/8364039/diff/1/views/events/event.cc#newcode304 views/events/event.cc:304: int x, On 2011/10/21 20:02:10, rjkroege wrote: > these ...
9 years, 2 months ago (2011-10-25 14:32:29 UTC) #7
Gajen
Hi, Robert. Waiting for your comments.
9 years, 1 month ago (2011-10-27 01:54:21 UTC) #8
rjkroege
Progressing nicely. Am eager to see the rest. http://codereview.chromium.org/8364039/diff/14001/views/touchui/gesture_manager.cc File views/touchui/gesture_manager.cc (right): http://codereview.chromium.org/8364039/diff/14001/views/touchui/gesture_manager.cc#newcode31 views/touchui/gesture_manager.cc:31: if ...
9 years, 1 month ago (2011-10-27 23:10:07 UTC) #9
Gajen
Hi, Robert. How about testing do I need to add some test class similar to ...
9 years, 1 month ago (2011-10-31 13:34:30 UTC) #10
rjkroege
Slurping the tests out of webkit would be fine. Also, you need some tests to ...
9 years, 1 month ago (2011-11-01 18:42:22 UTC) #11
Gajen
Slurping the tests out of webkit would be fine. Also, you need some tests to ...
9 years, 1 month ago (2011-11-02 12:59:35 UTC) #12
Gajen
HI, Robert. Waiting for your comments..
9 years, 1 month ago (2011-11-04 03:29:12 UTC) #13
rjkroege
On 2011/11/02 12:59:35, Gajen wrote: > Slurping the tests out of webkit would be fine. ...
9 years, 1 month ago (2011-11-04 15:13:30 UTC) #14
rjkroege
More comments... http://codereview.chromium.org/8364039/diff/21001/views/touchui/gesture_recognizer.h File views/touchui/gesture_recognizer.h (right): http://codereview.chromium.org/8364039/diff/21001/views/touchui/gesture_recognizer.h#newcode73 views/touchui/gesture_recognizer.h:73: // Clears the GestureRecognizer to it's initial ...
9 years, 1 month ago (2011-11-04 17:19:28 UTC) #15
Gajen
Hi, Robert. Added Gesture tests in view_unittest and found them working fine. http://codereview.chromium.org/8364039/diff/21001/views/touchui/gesture_recognizer.h File views/touchui/gesture_recognizer.h ...
9 years, 1 month ago (2011-11-08 08:11:44 UTC) #16
Ian Vollick
Hi Gajen, Sorry for the drive-by -- I've just got a few small comments. Ian ...
9 years, 1 month ago (2011-11-08 20:07:54 UTC) #17
rjkroege
http://codereview.chromium.org/8364039/diff/30001/chrome/common/chrome_switches.cc File chrome/common/chrome_switches.cc (right): http://codereview.chromium.org/8364039/diff/30001/chrome/common/chrome_switches.cc#newcode1248 chrome/common/chrome_switches.cc:1248: const char kEnableGesture[] = "enable-gesture"; these need to be ...
9 years, 1 month ago (2011-11-09 02:43:29 UTC) #18
Gajen
Vollick Thanks for comments will incorporate your changes soon. Robert. Planning to implement view independent ...
9 years, 1 month ago (2011-11-09 18:14:43 UTC) #19
Gajen
Hi, Robert. Incorporated all the design changes as discussed earlier. Note: Applied patch from [1] ...
9 years, 1 month ago (2011-11-10 15:52:55 UTC) #20
rjkroege
LGTM [with nits] for approach and event flow. http://codereview.chromium.org/8364039/diff/37001/chrome/common/chrome_switches.h File chrome/common/chrome_switches.h (right): http://codereview.chromium.org/8364039/diff/37001/chrome/common/chrome_switches.h#newcode365 chrome/common/chrome_switches.h:365: #endif ...
9 years, 1 month ago (2011-11-14 20:51:35 UTC) #21
Gajen
Incorporated Rob's changes. Sad and Sky, Can you both have a look into this please..??? ...
9 years, 1 month ago (2011-11-15 15:20:01 UTC) #22
sky
I don't know enough about underlying gesture processing to know if this is right. I'm ...
9 years, 1 month ago (2011-11-15 16:54:43 UTC) #23
Gajen
Thanks To sky for comments. Sad/Cpu, your comments Please..!!! http://codereview.chromium.org/8364039/diff/44001/views/events/event.h File views/events/event.h (right): http://codereview.chromium.org/8364039/diff/44001/views/events/event.h#newcode447 views/events/event.h:447: ...
9 years, 1 month ago (2011-11-16 15:08:40 UTC) #24
sky
http://codereview.chromium.org/8364039/diff/44001/views/touchui/gesture_recognizer.cc File views/touchui/gesture_recognizer.cc (right): http://codereview.chromium.org/8364039/diff/44001/views/touchui/gesture_recognizer.cc#newcode76 views/touchui/gesture_recognizer.cc:76: GestureTransitionFunctionMap::iterator it = edge_functions_.find( On 2011/11/16 15:08:41, Gajen wrote: ...
9 years, 1 month ago (2011-11-16 16:27:33 UTC) #25
Gajen
On 2011/11/16 16:27:33, sky wrote: > http://codereview.chromium.org/8364039/diff/44001/views/touchui/gesture_recognizer.cc#newcode76 > views/touchui/gesture_recognizer.cc:76: GestureTransitionFunctionMap::iterator > it = edge_functions_.find( > ...
9 years, 1 month ago (2011-11-17 07:41:42 UTC) #26
Gajen
Hi, sky. Replaced switch in favor of map::find(). Sad/CPU, Please review this..
9 years, 1 month ago (2011-11-18 15:12:37 UTC) #27
Ian Vollick
drive-by: I find the numeric constants in the switch statement a bit hard to follow. ...
9 years, 1 month ago (2011-11-18 15:25:34 UTC) #28
rjkroege
On 2011/11/16 16:27:33, sky wrote: > http://codereview.chromium.org/8364039/diff/44001/views/touchui/gesture_recognizer.cc > File views/touchui/gesture_recognizer.cc (right): > > http://codereview.chromium.org/8364039/diff/44001/views/touchui/gesture_recognizer.cc#newcode76 > ...
9 years, 1 month ago (2011-11-18 18:18:55 UTC) #29
sadrul
Just a few small comment/style nits. I think some of the code moved from views/ ...
9 years, 1 month ago (2011-11-18 19:01:50 UTC) #30
cpu_(ooo_6.6-7.5)
some comments: 1- I wish you have done 3 or so smaller changes 2- we ...
9 years, 1 month ago (2011-11-21 00:58:08 UTC) #31
rjkroege
On 2011/11/21 00:58:08, cpu wrote: > some comments: > > 1- I wish you have ...
9 years, 1 month ago (2011-11-21 15:46:06 UTC) #32
Gajen
Thanks to CPU for comments. 1- I wish you have done 3 or so smaller ...
9 years, 1 month ago (2011-11-21 15:56:50 UTC) #33
sky
On Mon, Nov 21, 2011 at 7:46 AM, <rjkroege@chromium.org> wrote: > On 2011/11/21 00:58:08, cpu ...
9 years, 1 month ago (2011-11-21 15:57:55 UTC) #34
rjkroege
On 2011/11/21 15:57:55, sky wrote: > On Mon, Nov 21, 2011 at 7:46 AM, <mailto:rjkroege@chromium.org> ...
9 years, 1 month ago (2011-11-21 21:01:23 UTC) #35
jschuh
On 2011/11/21 21:01:23, rjkroege wrote: > On 2011/11/21 15:57:55, sky wrote: > > On Mon, ...
9 years, 1 month ago (2011-11-22 18:12:51 UTC) #36
cpu_(ooo_6.6-7.5)
I voiced my concern and it seems is in the mind of the author and ...
9 years, 1 month ago (2011-11-22 21:32:24 UTC) #37
Ian Vollick
On 2011/11/22 18:12:51, Justin Schuh wrote: > On 2011/11/21 21:01:23, rjkroege wrote: > > On ...
9 years ago (2011-12-13 00:57:47 UTC) #38
sky
LGTM with the understanding we're going to refactor this soon to avoid duplication.
8 years, 12 months ago (2011-12-28 17:55:28 UTC) #39
Gajen
On 2011/12/28 17:55:28, sky wrote: > LGTM with the understanding we're going to refactor this ...
8 years, 12 months ago (2011-12-29 07:05:54 UTC) #40
rjkroege
On 2011/12/29 07:05:54, Gajen wrote: > On 2011/12/28 17:55:28, sky wrote: > > LGTM with ...
8 years, 11 months ago (2012-01-03 15:50:00 UTC) #41
Ian Vollick
8 years, 11 months ago (2012-01-03 22:19:33 UTC) #42
On 2011/12/29 07:05:54, Gajen wrote:
> On 2011/12/28 17:55:28, sky wrote:
> > LGTM with the understanding we're going to refactor this soon to avoid
> > duplication.
> 
> Thankx, after TOT sync would commit soon.

Merged with ToT here: http://codereview.chromium.org/9076002

Powered by Google App Engine
This is Rietveld 408576698