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

Unified Diff: chrome/browser/cocoa/bookmark_bar_folder_controller.mm

Issue 3030008: Scroll bookmark bar folders faster.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/cocoa/bookmark_bar_folder_controller.mm
===================================================================
--- chrome/browser/cocoa/bookmark_bar_folder_controller.mm (revision 53118)
+++ chrome/browser/cocoa/bookmark_bar_folder_controller.mm (working copy)
@@ -21,12 +21,12 @@
namespace {
// Frequency of the scrolling timer in seconds.
-const NSTimeInterval kBookmarkBarFolderScrollInterval = 0.2;
+const NSTimeInterval kBookmarkBarFolderScrollInterval = 0.1;
// Amount to scroll by per timer fire. We scroll rather slowly; to
-// accomodate we do 2 at a time.
+// accomodate we do several at a time.
const CGFloat kBookmarkBarFolderScrollAmount =
- 2 * (bookmarks::kBookmarkButtonHeight +
+ 3 * (bookmarks::kBookmarkButtonHeight +
bookmarks::kBookmarkVerticalPadding);
// Amount to scroll for each scroll wheel delta.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698