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

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

Issue 2798113002: [Mac] Remove more dead code from bookmark bar controller (Closed)
Patch Set: Created 3 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 | « no previous file | chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 d7fb6e2960cbf2eb94ac143690462e72b121970a..221168dfb06802b36f1619023659716918725d28 100644
--- a/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.h
+++ b/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.h
@@ -183,13 +183,6 @@ willAnimateFromState:(BookmarkBar::State)oldState
// Our initial view width, which is applied in awakeFromNib.
CGFloat initialWidth_;
- // BookmarkNodes have a 64bit id. NSMenuItems have a 32bit tag used
- // to represent the bookmark node they refer to. This map provides
- // a mapping from one to the other, so we can properly identify the
- // node from the item. When adding items in, we start with seedId_.
- int32_t seedId_;
- std::map<int32_t, int64_t> menuTagMap_;
-
// Our bookmark buttons, ordered from L-->R.
base::scoped_nsobject<NSMutableArray> buttons_;
@@ -452,8 +445,6 @@ willAnimateFromState:(BookmarkBar::State)oldState
- (NSRect)frameForBookmarkButtonFromCell:(NSCell*)cell xOffset:(int*)xOffset;
- (void)checkForBookmarkButtonGrowth:(NSButton*)button;
- (void)frameDidChange;
-- (int64_t)nodeIdFromMenuTag:(int32_t)tag;
-- (int32_t)menuTagFromNodeId:(int64_t)menuid;
- (void)updateTheme:(const ui::ThemeProvider*)themeProvider;
- (BookmarkButton*)buttonForDroppingOnAtPoint:(NSPoint)point;
- (BOOL)isEventAnExitEvent:(NSEvent*)event;
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698