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

Side by Side Diff: chrome/browser/cocoa/bookmark_bar_folder_window.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, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_COCOA_BOOKMARK_BAR_FOLDER_WINDOW_H_ 5 #ifndef CHROME_BROWSER_COCOA_BOOKMARK_BAR_FOLDER_WINDOW_H_
6 #define CHROME_BROWSER_COCOA_BOOKMARK_BAR_FOLDER_WINDOW_H_ 6 #define CHROME_BROWSER_COCOA_BOOKMARK_BAR_FOLDER_WINDOW_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 #import "base/cocoa_protocols_mac.h"
10 #include "base/scoped_nsobject.h"
11
9 12
10 // Window for a bookmark folder "menu". This menu pops up when you 13 // Window for a bookmark folder "menu". This menu pops up when you
11 // click on a bookmark button that represents a folder of bookmarks. 14 // click on a bookmark button that represents a folder of bookmarks.
12 // This window is borderless. 15 // This window is borderless.
13 @interface BookmarkBarFolderWindow : NSWindow 16 @interface BookmarkBarFolderWindow : NSWindow
14 @end 17 @end
15 18
16 // Content view for the above window. "Stock" other than the drawing 19 // Content view for the above window. "Stock" other than the drawing
17 // of rounded corners. Only used in the nib. 20 // of rounded corners. Only used in the nib.
18 @interface BookmarkBarFolderWindowContentView : NSView 21 @interface BookmarkBarFolderWindowContentView : NSView {
22 // Arrows to show ability to scroll up and down as needed.
23 scoped_nsobject<NSImage> arrowUpImage_;
24 scoped_nsobject<NSImage> arrowDownImage_;
25 }
19 @end 26 @end
20 27
21 // Scroll view that contains the main view (where the buttons go). 28 // Scroll view that contains the main view (where the buttons go).
22 @interface BookmarkBarFolderWindowScrollView : NSScrollView 29 @interface BookmarkBarFolderWindowScrollView : NSScrollView
23 @end 30 @end
24 31
25 32
26 #endif // CHROME_BROWSER_COCOA_BOOKMARK_BAR_FOLDER_WINDOW_H_ 33 #endif // CHROME_BROWSER_COCOA_BOOKMARK_BAR_FOLDER_WINDOW_H_
OLDNEW
« no previous file with comments | « chrome/browser/cocoa/bookmark_bar_folder_controller_unittest.mm ('k') | chrome/browser/cocoa/bookmark_bar_folder_window.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698