| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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_COCOA_BOOKMARK_BAR_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_COCOA_BOOKMARK_BAR_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_COCOA_BOOKMARK_BAR_CONTROLLER_H_ | 6 #define CHROME_BROWSER_COCOA_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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 - (IBAction)openBookmarkInNewForegroundTab:(id)sender; | 151 - (IBAction)openBookmarkInNewForegroundTab:(id)sender; |
| 152 - (IBAction)openBookmarkInNewWindow:(id)sender; | 152 - (IBAction)openBookmarkInNewWindow:(id)sender; |
| 153 - (IBAction)openBookmarkInIncognitoWindow:(id)sender; | 153 - (IBAction)openBookmarkInIncognitoWindow:(id)sender; |
| 154 - (IBAction)editBookmark:(id)sender; | 154 - (IBAction)editBookmark:(id)sender; |
| 155 - (IBAction)copyBookmark:(id)sender; | 155 - (IBAction)copyBookmark:(id)sender; |
| 156 - (IBAction)deleteBookmark:(id)sender; | 156 - (IBAction)deleteBookmark:(id)sender; |
| 157 // From a context menu over the bar, ... | 157 // From a context menu over the bar, ... |
| 158 - (IBAction)openAllBookmarks:(id)sender; | 158 - (IBAction)openAllBookmarks:(id)sender; |
| 159 // Or from a context menu over either the bar or a button. | 159 // Or from a context menu over either the bar or a button. |
| 160 - (IBAction)addPage:(id)sender; | 160 - (IBAction)addPage:(id)sender; |
| 161 - (IBAction)addOrRenameFolder:(id)sender; | 161 - (IBAction)addFolder:(id)sender; |
| 162 | 162 |
| 163 @end | 163 @end |
| 164 | 164 |
| 165 // Redirects from BookmarkBarBridge, the C++ object which glues us to | 165 // Redirects from BookmarkBarBridge, the C++ object which glues us to |
| 166 // the rest of Chromium. Internal to BookmarkBarController. | 166 // the rest of Chromium. Internal to BookmarkBarController. |
| 167 @interface BookmarkBarController(BridgeRedirect) | 167 @interface BookmarkBarController(BridgeRedirect) |
| 168 - (void)loaded:(BookmarkModel*)model; | 168 - (void)loaded:(BookmarkModel*)model; |
| 169 - (void)beingDeleted:(BookmarkModel*)model; | 169 - (void)beingDeleted:(BookmarkModel*)model; |
| 170 - (void)nodeMoved:(BookmarkModel*)model | 170 - (void)nodeMoved:(BookmarkModel*)model |
| 171 oldParent:(const BookmarkNode*)oldParent oldIndex:(int)oldIndex | 171 oldParent:(const BookmarkNode*)oldParent oldIndex:(int)oldIndex |
| (...skipping 26 matching lines...) Expand all Loading... |
| 198 - (NSMenu *)menuForFolderNode:(const BookmarkNode*)node; | 198 - (NSMenu *)menuForFolderNode:(const BookmarkNode*)node; |
| 199 - (int64)nodeIdFromMenuTag:(int32)tag; | 199 - (int64)nodeIdFromMenuTag:(int32)tag; |
| 200 - (int32)menuTagFromNodeId:(int64)menuid; | 200 - (int32)menuTagFromNodeId:(int64)menuid; |
| 201 - (void)buildOffTheSideMenu; | 201 - (void)buildOffTheSideMenu; |
| 202 - (NSMenu*)offTheSideMenu; | 202 - (NSMenu*)offTheSideMenu; |
| 203 - (NSButton*)offTheSideButton; | 203 - (NSButton*)offTheSideButton; |
| 204 - (NSButton*)otherBookmarksButton; | 204 - (NSButton*)otherBookmarksButton; |
| 205 @end | 205 @end |
| 206 | 206 |
| 207 #endif // CHROME_BROWSER_COCOA_BOOKMARK_BAR_CONTROLLER_H_ | 207 #endif // CHROME_BROWSER_COCOA_BOOKMARK_BAR_CONTROLLER_H_ |
| OLD | NEW |