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

Issue 7669028: Adding a Views scrollbar implementation. (Closed)

Created:
9 years, 4 months ago by dnicoara
Modified:
9 years, 4 months ago
CC:
chromium-reviews, dhollowa
Visibility:
Public.

Description

Adding a Views scrollbar implementation. BUG=none TEST=Verified basic functionality using views_examples. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=98434

Patch Set 1 #

Patch Set 2 : Fixed keyboard codes include #

Total comments: 5

Patch Set 3 : Refactored the bitmap code to be shared with the native_scroll_bar_views #

Total comments: 9

Patch Set 4 : Added comments and fixed some styling #

Patch Set 5 : Added unit test for scrollbar #

Patch Set 6 : Fixed naming issues in bitmap_scroll_bar #

Patch Set 7 : Fixed naming in bitmap_scroll_bar (last one didn't apply all the changes) #

Patch Set 8 : Disabled unittest on Windows #

Patch Set 9 : Update CL to trunk #

Patch Set 10 : Adding VIEWS_EXPORT to fix shared builds #

Patch Set 11 : NativeScrollBarWrapper needs VIEWS_EXPORT #

Patch Set 12 : Added missing OVERRIDE and virtual #

Patch Set 13 : NotifyClick isn't actually virtual. Renamed to avoid Woverloaded-virtual warning #

Patch Set 14 : Added missing virtual destructor to unit test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1388 lines, -661 lines) Patch
A + views/controls/scrollbar/base_scroll_bar.h View 1 2 3 4 5 6 7 8 9 7 chunks +29 lines, -71 lines 0 comments Download
A views/controls/scrollbar/base_scroll_bar.cc View 1 2 3 4 5 1 chunk +383 lines, -0 lines 0 comments Download
A views/controls/scrollbar/base_scroll_bar_button.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +50 lines, -0 lines 0 comments Download
A views/controls/scrollbar/base_scroll_bar_button.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +47 lines, -0 lines 0 comments Download
A views/controls/scrollbar/base_scroll_bar_thumb.h View 1 2 3 4 5 6 7 8 9 1 chunk +82 lines, -0 lines 0 comments Download
A views/controls/scrollbar/base_scroll_bar_thumb.cc View 1 2 1 chunk +127 lines, -0 lines 0 comments Download
M views/controls/scrollbar/bitmap_scroll_bar.h View 1 2 3 4 5 6 7 8 9 3 chunks +12 lines, -118 lines 0 comments Download
M views/controls/scrollbar/bitmap_scroll_bar.cc View 1 2 3 4 5 6 12 chunks +43 lines, -469 lines 0 comments Download
M views/controls/scrollbar/native_scroll_bar_gtk.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +5 lines, -1 line 0 comments Download
A views/controls/scrollbar/native_scroll_bar_views.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +76 lines, -0 lines 0 comments Download
A views/controls/scrollbar/native_scroll_bar_views.cc View 1 2 3 4 5 1 chunk +371 lines, -0 lines 0 comments Download
M views/controls/scrollbar/native_scroll_bar_wrapper.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -2 lines 0 comments Download
A views/controls/scrollbar/scrollbar_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +152 lines, -0 lines 0 comments Download
M views/views.gyp View 1 2 3 4 5 6 7 8 2 chunks +9 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
dnicoara
Hi Ben, This is the Views implementation of the Scrollbar. Could you take a look ...
9 years, 4 months ago (2011-08-17 19:52:22 UTC) #1
Ben Goodger (Google)
http://codereview.chromium.org/7669028/diff/3001/views/controls/scrollbar/native_scroll_bar_views.cc File views/controls/scrollbar/native_scroll_bar_views.cc (right): http://codereview.chromium.org/7669028/diff/3001/views/controls/scrollbar/native_scroll_bar_views.cc#newcode22 views/controls/scrollbar/native_scroll_bar_views.cc:22: class ScrollBarButton : public CustomButton { Rather than reinvent ...
9 years, 4 months ago (2011-08-19 17:44:33 UTC) #2
Ben Goodger (Google)
A good looking CL. Close. Can you update the examples to show uses of both ...
9 years, 4 months ago (2011-08-23 16:05:15 UTC) #3
dnicoara
On 2011/08/23 16:05:15, Ben Goodger (Google) wrote: > A good looking CL. Close. Can you ...
9 years, 4 months ago (2011-08-23 19:46:28 UTC) #4
Ben Goodger (Google)
LGTM
9 years, 4 months ago (2011-08-23 21:18:58 UTC) #5
commit-bot: I haz the power
Can't process patch for file views/controls/scrollbar/base_scroll_bar.h. A +
9 years, 4 months ago (2011-08-25 12:53:27 UTC) #6
commit-bot: I haz the power
9 years, 4 months ago (2011-08-25 13:01:31 UTC) #7
Can't process patch for file views/controls/scrollbar/base_scroll_bar.h.
A +

Powered by Google App Engine
This is Rietveld 408576698