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

Side by Side Diff: chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.h

Issue 2793363002: [Mac] Remove no-op method in bookmark bar controller (Closed)
Patch Set: Make test clearer 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_CONTROLLER_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after
407 407
408 // Returns the "off the side" button image. 408 // Returns the "off the side" button image.
409 - (NSImage*)offTheSideButtonImage:(BOOL)forDarkMode; 409 - (NSImage*)offTheSideButtonImage:(BOOL)forDarkMode;
410 410
411 @end 411 @end
412 412
413 // Redirects from BookmarkBarBridge, the C++ object which glues us to 413 // Redirects from BookmarkBarBridge, the C++ object which glues us to
414 // the rest of Chromium. Internal to BookmarkBarController. 414 // the rest of Chromium. Internal to BookmarkBarController.
415 @interface BookmarkBarController(BridgeRedirect) 415 @interface BookmarkBarController(BridgeRedirect)
416 - (void)loaded:(bookmarks::BookmarkModel*)model; 416 - (void)loaded:(bookmarks::BookmarkModel*)model;
417 - (void)beingDeleted:(bookmarks::BookmarkModel*)model;
418 - (void)nodeAdded:(bookmarks::BookmarkModel*)model 417 - (void)nodeAdded:(bookmarks::BookmarkModel*)model
419 parent:(const bookmarks::BookmarkNode*)oldParent index:(int)index; 418 parent:(const bookmarks::BookmarkNode*)oldParent index:(int)index;
420 - (void)nodeChanged:(bookmarks::BookmarkModel*)model 419 - (void)nodeChanged:(bookmarks::BookmarkModel*)model
421 node:(const bookmarks::BookmarkNode*)node; 420 node:(const bookmarks::BookmarkNode*)node;
422 - (void)nodeMoved:(bookmarks::BookmarkModel*)model 421 - (void)nodeMoved:(bookmarks::BookmarkModel*)model
423 oldParent:(const bookmarks::BookmarkNode*)oldParent 422 oldParent:(const bookmarks::BookmarkNode*)oldParent
424 oldIndex:(int)oldIndex 423 oldIndex:(int)oldIndex
425 newParent:(const bookmarks::BookmarkNode*)newParent 424 newParent:(const bookmarks::BookmarkNode*)newParent
426 newIndex:(int)newIndex; 425 newIndex:(int)newIndex;
427 - (void)nodeRemoved:(bookmarks::BookmarkModel*)model 426 - (void)nodeRemoved:(bookmarks::BookmarkModel*)model
(...skipping 29 matching lines...) Expand all
457 - (int32_t)menuTagFromNodeId:(int64_t)menuid; 456 - (int32_t)menuTagFromNodeId:(int64_t)menuid;
458 - (void)updateTheme:(const ui::ThemeProvider*)themeProvider; 457 - (void)updateTheme:(const ui::ThemeProvider*)themeProvider;
459 - (BookmarkButton*)buttonForDroppingOnAtPoint:(NSPoint)point; 458 - (BookmarkButton*)buttonForDroppingOnAtPoint:(NSPoint)point;
460 - (BOOL)isEventAnExitEvent:(NSEvent*)event; 459 - (BOOL)isEventAnExitEvent:(NSEvent*)event;
461 - (BOOL)shrinkOrHideView:(NSView*)view forMaxX:(CGFloat)maxViewX; 460 - (BOOL)shrinkOrHideView:(NSView*)view forMaxX:(CGFloat)maxViewX;
462 - (void)unhighlightBookmark:(const bookmarks::BookmarkNode*)node; 461 - (void)unhighlightBookmark:(const bookmarks::BookmarkNode*)node;
463 462
464 @end 463 @end
465 464
466 #endif // CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_CONTROLLER_H_ 465 #endif // CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698