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

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

Issue 583223002: Open just folder menu on middle clicking chevron button. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changes addressing comments. Created 6 years, 3 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
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <map> 9 #include <map>
10 10
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after
382 parent:(const BookmarkNode*)oldParent index:(int)index; 382 parent:(const BookmarkNode*)oldParent index:(int)index;
383 - (void)nodeFaviconLoaded:(BookmarkModel*)model 383 - (void)nodeFaviconLoaded:(BookmarkModel*)model
384 node:(const BookmarkNode*)node; 384 node:(const BookmarkNode*)node;
385 - (void)nodeChildrenReordered:(BookmarkModel*)model 385 - (void)nodeChildrenReordered:(BookmarkModel*)model
386 node:(const BookmarkNode*)node; 386 node:(const BookmarkNode*)node;
387 @end 387 @end
388 388
389 // These APIs should only be used by unit tests (or used internally). 389 // These APIs should only be used by unit tests (or used internally).
390 @interface BookmarkBarController(InternalOrTestingAPI) 390 @interface BookmarkBarController(InternalOrTestingAPI)
391 - (void)openBookmarkFolder:(id)sender; 391 - (void)openBookmarkFolder:(id)sender;
392 - (void)openOrCloseBookmarkFolderForOffTheSideButton;
392 - (BookmarkBarView*)buttonView; 393 - (BookmarkBarView*)buttonView;
393 - (NSMutableArray*)buttons; 394 - (NSMutableArray*)buttons;
394 - (NSButton*)offTheSideButton; 395 - (NSButton*)offTheSideButton;
395 - (NSButton*)appsPageShortcutButton; 396 - (NSButton*)appsPageShortcutButton;
396 - (BOOL)offTheSideButtonIsHidden; 397 - (BOOL)offTheSideButtonIsHidden;
397 - (BOOL)appsPageShortcutButtonIsHidden; 398 - (BOOL)appsPageShortcutButtonIsHidden;
398 - (BookmarkButton*)otherBookmarksButton; 399 - (BookmarkButton*)otherBookmarksButton;
399 - (BookmarkBarFolderController*)folderController; 400 - (BookmarkBarFolderController*)folderController;
400 - (id)folderTarget; 401 - (id)folderTarget;
401 - (int)displayedButtonCount; 402 - (int)displayedButtonCount;
(...skipping 11 matching lines...) Expand all
413 - (BookmarkButton*)buttonForDroppingOnAtPoint:(NSPoint)point; 414 - (BookmarkButton*)buttonForDroppingOnAtPoint:(NSPoint)point;
414 - (BOOL)isEventAnExitEvent:(NSEvent*)event; 415 - (BOOL)isEventAnExitEvent:(NSEvent*)event;
415 - (BOOL)shrinkOrHideView:(NSView*)view forMaxX:(CGFloat)maxViewX; 416 - (BOOL)shrinkOrHideView:(NSView*)view forMaxX:(CGFloat)maxViewX;
416 - (void)unhighlightBookmark:(const BookmarkNode*)node; 417 - (void)unhighlightBookmark:(const BookmarkNode*)node;
417 418
418 // The following are for testing purposes only and are not used internally. 419 // The following are for testing purposes only and are not used internally.
419 - (NSMenu *)menuForFolderNode:(const BookmarkNode*)node; 420 - (NSMenu *)menuForFolderNode:(const BookmarkNode*)node;
420 @end 421 @end
421 422
422 #endif // CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_CONTROLLER_H_ 423 #endif // CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_CONTROLLER_H_
OLDNEW
« 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