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

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

Issue 14262013: On Mac, ensure messages displayed in the bookmark bar do not overlap with the Apps bookmark button. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed nits. Created 7 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 | Annotate | Revision Log
« 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 364 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 - (void)nodeChildrenReordered:(BookmarkModel*)model 375 - (void)nodeChildrenReordered:(BookmarkModel*)model
376 node:(const BookmarkNode*)node; 376 node:(const BookmarkNode*)node;
377 @end 377 @end
378 378
379 // These APIs should only be used by unit tests (or used internally). 379 // These APIs should only be used by unit tests (or used internally).
380 @interface BookmarkBarController(InternalOrTestingAPI) 380 @interface BookmarkBarController(InternalOrTestingAPI)
381 - (void)openBookmarkFolder:(id)sender; 381 - (void)openBookmarkFolder:(id)sender;
382 - (BookmarkBarView*)buttonView; 382 - (BookmarkBarView*)buttonView;
383 - (NSMutableArray*)buttons; 383 - (NSMutableArray*)buttons;
384 - (NSButton*)offTheSideButton; 384 - (NSButton*)offTheSideButton;
385 - (NSButton*)appsPageShortcutButton;
385 - (BOOL)offTheSideButtonIsHidden; 386 - (BOOL)offTheSideButtonIsHidden;
387 - (BOOL)appsPageShortcutButtonIsHidden;
386 - (BookmarkButton*)otherBookmarksButton; 388 - (BookmarkButton*)otherBookmarksButton;
387 - (BookmarkBarFolderController*)folderController; 389 - (BookmarkBarFolderController*)folderController;
388 - (id)folderTarget; 390 - (id)folderTarget;
389 - (int)displayedButtonCount; 391 - (int)displayedButtonCount;
390 - (void)openURL:(GURL)url disposition:(WindowOpenDisposition)disposition; 392 - (void)openURL:(GURL)url disposition:(WindowOpenDisposition)disposition;
391 - (void)clearBookmarkBar; 393 - (void)clearBookmarkBar;
392 - (BookmarkButtonCell*)cellForBookmarkNode:(const BookmarkNode*)node; 394 - (BookmarkButtonCell*)cellForBookmarkNode:(const BookmarkNode*)node;
393 - (BookmarkButtonCell*)cellForCustomButtonWithText:(NSString*)text 395 - (BookmarkButtonCell*)cellForCustomButtonWithText:(NSString*)text
394 image:(NSImage*)image; 396 image:(NSImage*)image;
395 - (NSRect)frameForBookmarkButtonFromCell:(NSCell*)cell xOffset:(int*)xOffset; 397 - (NSRect)frameForBookmarkButtonFromCell:(NSCell*)cell xOffset:(int*)xOffset;
396 - (void)checkForBookmarkButtonGrowth:(NSButton*)button; 398 - (void)checkForBookmarkButtonGrowth:(NSButton*)button;
397 - (void)frameDidChange; 399 - (void)frameDidChange;
398 - (int64)nodeIdFromMenuTag:(int32)tag; 400 - (int64)nodeIdFromMenuTag:(int32)tag;
399 - (int32)menuTagFromNodeId:(int64)menuid; 401 - (int32)menuTagFromNodeId:(int64)menuid;
400 - (void)updateTheme:(ui::ThemeProvider*)themeProvider; 402 - (void)updateTheme:(ui::ThemeProvider*)themeProvider;
401 - (BookmarkButton*)buttonForDroppingOnAtPoint:(NSPoint)point; 403 - (BookmarkButton*)buttonForDroppingOnAtPoint:(NSPoint)point;
402 - (BOOL)isEventAnExitEvent:(NSEvent*)event; 404 - (BOOL)isEventAnExitEvent:(NSEvent*)event;
403 - (BOOL)shrinkOrHideView:(NSView*)view forMaxX:(CGFloat)maxViewX; 405 - (BOOL)shrinkOrHideView:(NSView*)view forMaxX:(CGFloat)maxViewX;
404 - (void)unhighlightBookmark:(const BookmarkNode*)node; 406 - (void)unhighlightBookmark:(const BookmarkNode*)node;
405 407
406 // The following are for testing purposes only and are not used internally. 408 // The following are for testing purposes only and are not used internally.
407 - (NSMenu *)menuForFolderNode:(const BookmarkNode*)node; 409 - (NSMenu *)menuForFolderNode:(const BookmarkNode*)node;
408 @end 410 @end
409 411
410 #endif // CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_CONTROLLER_H_ 412 #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