Index: chrome/browser/ui/cocoa/bookmarks/bookmark_bar_unittest_helper.h |
diff --git a/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_unittest_helper.h b/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_unittest_helper.h |
index d0221b276ebaa457e45b6ad196fab4510a29444f..e376f9f4b79eca3d7108c90b270af12b12b513e4 100644 |
--- a/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_unittest_helper.h |
+++ b/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_unittest_helper.h |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2010 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -12,6 +12,12 @@ |
#import "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_controller.h" |
#import "chrome/browser/ui/cocoa/bookmarks/bookmark_button.h" |
+// Returns the number of items in a given bookmark folder |
+NSUInteger GetNumberOfMenuItems(BookmarkBarFolderController* folder); |
mrossetti
2011/08/04 02:16:27
Nit: How about just 'NumberOfMenuItems'?
Robert Sesek
2011/08/04 15:37:02
Done.
|
+ |
+// Closes a bookmark menu folder after some delay. |
+void CloseFolderSoon(BookmarkBarFolderController* folder, NSTimeInterval when); |
mrossetti
2011/08/04 02:16:27
Nit: 'when' should probably be 'delay' and I'd sug
Robert Sesek
2011/08/04 15:37:02
Done.
|
+ |
@interface BookmarkBarController (BookmarkBarUnitTestHelper) |
// Return the bookmark button from this bar controller with the given |
@@ -21,15 +27,6 @@ |
@end |
-@interface BookmarkBarFolderController (BookmarkBarUnitTestHelper) |
- |
-// Return the bookmark button from this folder controller with the given |
-// |title|, otherwise nil. This does not recurse into subfolders. |
-- (BookmarkButton*)buttonWithTitleEqualTo:(NSString*)title; |
- |
-@end |
- |
- |
@interface BookmarkButton (BookmarkBarUnitTestHelper) |
// Return the center of the button in the base coordinate system of the |