OLD | NEW |
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_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_FOLDER_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_FOLDER_CONTROLLER_H_ |
6 #define CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_FOLDER_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_FOLDER_CONTROLLER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #import <Cocoa/Cocoa.h> | 9 #import <Cocoa/Cocoa.h> |
10 | 10 |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 - (IBAction)openAllBookmarksNewWindow:(id)sender; | 178 - (IBAction)openAllBookmarksNewWindow:(id)sender; |
179 - (IBAction)openBookmarkInIncognitoWindow:(id)sender; | 179 - (IBAction)openBookmarkInIncognitoWindow:(id)sender; |
180 - (IBAction)openBookmarkInNewForegroundTab:(id)sender; | 180 - (IBAction)openBookmarkInNewForegroundTab:(id)sender; |
181 - (IBAction)openBookmarkInNewWindow:(id)sender; | 181 - (IBAction)openBookmarkInNewWindow:(id)sender; |
182 | 182 |
183 @property(assign, nonatomic) BOOL subFolderGrowthToRight; | 183 @property(assign, nonatomic) BOOL subFolderGrowthToRight; |
184 | 184 |
185 @end | 185 @end |
186 | 186 |
187 @interface BookmarkBarFolderController(TestingAPI) | 187 @interface BookmarkBarFolderController(TestingAPI) |
188 - (NSPoint)windowTopLeftForWidth:(int)windowWidth; | 188 - (NSPoint)windowTopLeftForWidth:(int)windowWidth |
| 189 height:(int)windowHeight; |
189 - (NSArray*)buttons; | 190 - (NSArray*)buttons; |
190 - (BookmarkBarFolderController*)folderController; | 191 - (BookmarkBarFolderController*)folderController; |
191 - (id)folderTarget; | 192 - (id)folderTarget; |
192 - (void)configureWindowLevel; | 193 - (void)configureWindowLevel; |
193 - (void)performOneScroll:(CGFloat)delta; | 194 - (void)performOneScroll:(CGFloat)delta; |
194 - (BookmarkButton*)buttonThatMouseIsIn; | 195 - (BookmarkButton*)buttonThatMouseIsIn; |
195 // Set to YES in order to prevent animations. | 196 // Set to YES in order to prevent animations. |
196 - (void)setIgnoreAnimations:(BOOL)ignore; | 197 - (void)setIgnoreAnimations:(BOOL)ignore; |
197 | 198 |
198 // Return YES if the scroll-up or scroll-down arrows are showing. | 199 // Return YES if the scroll-up or scroll-down arrows are showing. |
199 - (BOOL)canScrollUp; | 200 - (BOOL)canScrollUp; |
200 - (BOOL)canScrollDown; | 201 - (BOOL)canScrollDown; |
201 - (CGFloat)verticalScrollArrowHeight; | 202 - (CGFloat)verticalScrollArrowHeight; |
202 - (NSView*)visibleView; | 203 - (NSView*)visibleView; |
203 - (NSScrollView*)scrollView; | 204 - (NSScrollView*)scrollView; |
204 - (NSView*)folderView; | 205 - (NSView*)folderView; |
205 | 206 |
206 - (BookmarkButton*)buttonForDroppingOnAtPoint:(NSPoint)point; | 207 - (BookmarkButton*)buttonForDroppingOnAtPoint:(NSPoint)point; |
207 @end | 208 @end |
208 | 209 |
209 #endif // CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_FOLDER_CONTROLLER_H_ | 210 #endif // CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_FOLDER_CONTROLLER_H_ |
OLD | NEW |