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

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

Issue 1813003: Vertical scrolling arrows in bookmark bar folder windows when needed.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 8 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 | « chrome/app/theme/menu_overflow_up.pdf ('k') | chrome/browser/cocoa/bookmark_bar_folder_controller.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/cocoa/bookmark_bar_folder_controller.h
===================================================================
--- chrome/browser/cocoa/bookmark_bar_folder_controller.h (revision 46002)
+++ chrome/browser/cocoa/bookmark_bar_folder_controller.h (working copy)
@@ -64,6 +64,9 @@
// always visible.
BOOL scrollable_;
+ BOOL scrollUpArrowShown_;
+ BOOL scrollDownArrowShown_;
+
// The main view of this window (where the buttons go).
IBOutlet BookmarkBarFolderView* mainView_;
@@ -100,6 +103,10 @@
// Amount to scroll by on each timer fire. Can be + or -.
CGFloat verticalScrollDelta_;
+
+ // We need to know the size of the vertical scrolling arrows so we
+ // can obscure/unobscure them.
+ CGFloat verticalScrollArrowHeight_;
}
// Designated initializer.
@@ -150,5 +157,10 @@
- (id)folderTarget;
- (void)configureWindowLevel;
- (void)performOneScroll:(CGFloat)delta;
+
+// Return YES if we can scroll up or down.
+- (BOOL)canScrollUp;
+- (BOOL)canScrollDown;
+
@end
« no previous file with comments | « chrome/app/theme/menu_overflow_up.pdf ('k') | chrome/browser/cocoa/bookmark_bar_folder_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698