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

Issue 171423003: Update local BaseScrollBar::contents_scroll_offset_ on Update. (Closed)

Created:
6 years, 10 months ago by msw
Modified:
6 years, 10 months ago
Reviewers:
sky
CC:
chromium-reviews, tfarina
Visibility:
Public.

Description

Update local BaseScrollBar::contents_scroll_offset_ on Update. Make ScrollByContentsOffset() work as intended after resize. contents_scroll_offset_ was not being updated on Update(). Add a test that fails without this fix. Fix an Aura include. BUG=344490 TEST=Click page icon, click "Show cookies and site data". Expand a node to make a scrollbar appear, scroll down; collapse the node, re-expand the node; scrolling down should work. R=sky@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=252097

Patch Set 1 #

Patch Set 2 : Add and re-enable unittests; cleanup Aura include. #

Patch Set 3 : Keep disabled tests disabled. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -6 lines) Patch
M ui/views/controls/scrollbar/base_scroll_bar.cc View 3 chunks +4 lines, -2 lines 0 comments Download
M ui/views/controls/scrollbar/native_scroll_bar.cc View 1 1 chunk +1 line, -4 lines 0 comments Download
M ui/views/controls/scrollbar/scrollbar_unittest.cc View 1 2 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
msw
Hey Scott, please take a look; thanks!
6 years, 10 months ago (2014-02-19 03:13:19 UTC) #1
sky
LGTM
6 years, 10 months ago (2014-02-19 14:47:49 UTC) #2
msw
The CQ bit was checked by msw@chromium.org
6 years, 10 months ago (2014-02-19 16:22:31 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/msw@chromium.org/171423003/120001
6 years, 10 months ago (2014-02-19 16:23:26 UTC) #4
commit-bot: I haz the power
6 years, 10 months ago (2014-02-19 21:18:13 UTC) #5
Message was sent while issue was closed.
Change committed as 252097

Powered by Google App Engine
This is Rietveld 408576698