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

Unified Diff: chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.h

Issue 2729603008: [Mac] Remove bookmark bar NIB (Closed)
Patch Set: Cleanup Created 3 years, 9 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
Index: chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.h
diff --git a/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.h b/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.h
index 5f4fe0b93c413f6f1c16b75877ae5f50cdac0da7..e86050247ce5ed2a99b2ba1b16498fcc5c9b5288 100644
--- a/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.h
+++ b/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.h
@@ -229,8 +229,9 @@ willAnimateFromState:(BookmarkBar::State)oldState
// a click outside the bounds of the window.
id exitEventTap_;
- IBOutlet BookmarkBarView* buttonView_; // Contains 'no items' text fields.
- IBOutlet BookmarkButton* offTheSideButton_; // aka the chevron.
+ base::scoped_nsobject<BookmarkBarView>
+ buttonView_; // Contains 'no items' text fields.
+ base::scoped_nsobject<BookmarkButton> offTheSideButton_; // aka the chevron.
NSRect originalNoItemsRect_; // Original, pre-resized field rect.
NSRect originalImportBookmarksRect_; // Original, pre-resized field rect.
@@ -391,12 +392,12 @@ willAnimateFromState:(BookmarkBar::State)oldState
// Actions for manipulating bookmarks.
// Open a normal bookmark or folder from a button, ...
-- (IBAction)openBookmark:(id)sender;
-- (IBAction)openBookmarkFolderFromButton:(id)sender;
+- (void)openBookmark:(id)sender;
+- (void)openBookmarkFolderFromButton:(id)sender;
// From the "off the side" button, ...
-- (IBAction)openOffTheSideFolderFromButton:(id)sender;
+- (void)openOffTheSideFolderFromButton:(id)sender;
// Import bookmarks from another browser.
-- (IBAction)importBookmarks:(id)sender;
+- (void)importBookmarks:(id)sender;
// Returns the app page shortcut button.
- (NSButton*)appsPageShortcutButton;

Powered by Google App Engine
This is Rietveld 408576698