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

Issue 2192443003: MacViews: Fix scrolling when clicking on the views::ScrollView scroll track (Closed)

Created:
4 years, 4 months ago by tapted
Modified:
4 years, 4 months ago
Reviewers:
sadrul, sky
CC:
chromium-reviews, tfarina, chrome-apps-syd-reviews_chromium.org, sky
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MacViews: Fix scrolling when clicking on the views::ScrollView scroll track Currently the mouse up event is lost, resulting in the repeating timer never resetting. CocoaScrollBar just needs to invoke super::OnMouseReleased(). Sets up views::ScrollView for event testing, and adds a test. BUG=632261 Committed: https://crrev.com/c2f76449767bc5a1e426bba55ae1c52aab69ff75 Cr-Commit-Position: refs/heads/master@{#409114}

Patch Set 1 #

Patch Set 2 : test #

Patch Set 3 : fix linux probably. nit constants #

Patch Set 4 : fix test on non-mac #

Total comments: 4

Patch Set 5 : static const #

Unified diffs Side-by-side diffs Delta from patch set Stats (+149 lines, -4 lines) Patch
M ui/views/controls/scroll_view.h View 1 2 chunks +5 lines, -1 line 0 comments Download
M ui/views/controls/scroll_view_unittest.cc View 1 2 3 4 5 chunks +132 lines, -3 lines 0 comments Download
M ui/views/controls/scrollbar/base_scroll_bar.h View 1 2 chunks +5 lines, -0 lines 0 comments Download
M ui/views/controls/scrollbar/cocoa_scroll_bar.mm View 1 chunk +1 line, -0 lines 0 comments Download
M ui/views/controls/scrollbar/native_scroll_bar.h View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M ui/views/repeat_controller.h View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (21 generated)
tapted
Hi sky, please take a look. It's a lot of test harness for a one-line ...
4 years, 4 months ago (2016-07-28 11:36:00 UTC) #16
tapted
-sky +sadrul - could you take a look? Looks like sky is OOO for a ...
4 years, 4 months ago (2016-07-29 00:07:49 UTC) #18
sky
LGTM https://codereview.chromium.org/2192443003/diff/60001/ui/views/controls/scroll_view_unittest.cc File ui/views/controls/scroll_view_unittest.cc (right): https://codereview.chromium.org/2192443003/diff/60001/ui/views/controls/scroll_view_unittest.cc#newcode35 ui/views/controls/scroll_view_unittest.cc:35: return static_cast<NativeScrollBarViews*>( ick! https://codereview.chromium.org/2192443003/diff/60001/ui/views/controls/scroll_view_unittest.cc#newcode120 ui/views/controls/scroll_view_unittest.cc:120: const int kDefaultHeight ...
4 years, 4 months ago (2016-08-01 22:33:35 UTC) #20
tapted
Thanks sky! https://codereview.chromium.org/2192443003/diff/60001/ui/views/controls/scroll_view_unittest.cc File ui/views/controls/scroll_view_unittest.cc (right): https://codereview.chromium.org/2192443003/diff/60001/ui/views/controls/scroll_view_unittest.cc#newcode35 ui/views/controls/scroll_view_unittest.cc:35: return static_cast<NativeScrollBarViews*>( On 2016/08/01 22:33:35, sky wrote: ...
4 years, 4 months ago (2016-08-02 00:05:08 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2192443003/80001
4 years, 4 months ago (2016-08-02 00:32:45 UTC) #24
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 4 months ago (2016-08-02 01:26:46 UTC) #26
commit-bot: I haz the power
4 years, 4 months ago (2016-08-02 01:28:30 UTC) #28
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/c2f76449767bc5a1e426bba55ae1c52aab69ff75
Cr-Commit-Position: refs/heads/master@{#409114}

Powered by Google App Engine
This is Rietveld 408576698