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

Issue 10983008: views: Reset the capture-view at the end of a gesture. (Closed)

Created:
8 years, 3 months ago by sadrul
Modified:
8 years, 2 months ago
Reviewers:
DaveMoore, sky
CC:
chromium-reviews, tfarina
Visibility:
Public.

Description

views: Reset the capture-view at the end of a gesture. If the gesture handler was capturing events, then stop capturing at the end of the gesture sequence. This fixes selecting tabs with mouse-clicks after taps. BUG=151550 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=158635

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Patch Set 4 : . #

Patch Set 5 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+83 lines, -3 lines) Patch
M ui/views/widget/root_view.cc View 1 2 3 1 chunk +8 lines, -2 lines 0 comments Download
M ui/views/widget/widget_unittest.cc View 1 2 3 4 3 chunks +75 lines, -1 line 0 comments Download

Messages

Total messages: 16 (0 generated)
sadrul
8 years, 3 months ago (2012-09-24 21:57:34 UTC) #1
DaveMoore
lgtm Verified on device.
8 years, 3 months ago (2012-09-24 22:16:03 UTC) #2
sadrul
+sky for OWNERS
8 years, 3 months ago (2012-09-24 22:21:03 UTC) #3
sky
How come Widget::OnGestureEvent doesn't end up releasing capture?
8 years, 3 months ago (2012-09-24 22:26:58 UTC) #4
sadrul
On 2012/09/24 22:26:58, sky wrote: > How come Widget::OnGestureEvent doesn't end up releasing capture? Widget::OnGestureEvent ...
8 years, 3 months ago (2012-09-24 22:34:46 UTC) #5
sadrul
[ I have added a browser-test for the tabstrip ]
8 years, 3 months ago (2012-09-24 23:09:50 UTC) #6
sky
How come we explicitly have to do this for capture but not for mouse events? ...
8 years, 3 months ago (2012-09-24 23:12:50 UTC) #7
sadrul
On 2012/09/24 23:12:50, sky wrote: > How come we explicitly have to do this for ...
8 years, 3 months ago (2012-09-24 23:15:50 UTC) #8
sky
On Mon, Sep 24, 2012 at 4:15 PM, <sadrul@chromium.org> wrote: > On 2012/09/24 23:12:50, sky ...
8 years, 3 months ago (2012-09-24 23:22:26 UTC) #9
sadrul
On 2012/09/24 23:22:26, sky wrote: > On Mon, Sep 24, 2012 at 4:15 PM, <mailto:sadrul@chromium.org> ...
8 years, 3 months ago (2012-09-24 23:45:19 UTC) #10
sky
On Mon, Sep 24, 2012 at 4:45 PM, <sadrul@chromium.org> wrote: > On 2012/09/24 23:22:26, sky ...
8 years, 3 months ago (2012-09-25 00:08:46 UTC) #11
sadrul
On 2012/09/25 00:08:46, sky wrote: > On Mon, Sep 24, 2012 at 4:45 PM, <mailto:sadrul@chromium.org> ...
8 years, 2 months ago (2012-09-25 14:51:04 UTC) #12
sky
This looks fine to me. Since the fix is in rootview can we add a ...
8 years, 2 months ago (2012-09-25 16:10:24 UTC) #13
sadrul
On 2012/09/25 16:10:24, sky wrote: > This looks fine to me. Since the fix is ...
8 years, 2 months ago (2012-09-25 17:42:24 UTC) #14
sky
LGTM There are a bunch of drag related tests in tab_drag_controller_interactive_uitest*
8 years, 2 months ago (2012-09-25 18:26:54 UTC) #15
sadrul
8 years, 2 months ago (2012-09-25 18:28:04 UTC) #16
On 2012/09/25 18:26:54, sky wrote:
> LGTM
> 
> There are a bunch of drag related tests in
> tab_drag_controller_interactive_uitest*

Oh, ha. Cool! I hadn't noticed those. Thanks!

Powered by Google App Engine
This is Rietveld 408576698