| 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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 | 97 |
| 98 // Actions for manipulating bookmarks. | 98 // Actions for manipulating bookmarks. |
| 99 // From a button, ... | 99 // From a button, ... |
| 100 - (IBAction)openBookmark:(id)sender; | 100 - (IBAction)openBookmark:(id)sender; |
| 101 - (IBAction)openFolderMenuFromButton:(id)sender; | 101 - (IBAction)openFolderMenuFromButton:(id)sender; |
| 102 // From a context menu over the button, ... | 102 // From a context menu over the button, ... |
| 103 - (IBAction)openBookmarkInNewForegroundTab:(id)sender; | 103 - (IBAction)openBookmarkInNewForegroundTab:(id)sender; |
| 104 - (IBAction)openBookmarkInNewWindow:(id)sender; | 104 - (IBAction)openBookmarkInNewWindow:(id)sender; |
| 105 - (IBAction)openBookmarkInIncognitoWindow:(id)sender; | 105 - (IBAction)openBookmarkInIncognitoWindow:(id)sender; |
| 106 - (IBAction)editBookmark:(id)sender; | 106 - (IBAction)editBookmark:(id)sender; |
| 107 - (IBAction)copyBookmark:(id)sender; |
| 107 - (IBAction)deleteBookmark:(id)sender; | 108 - (IBAction)deleteBookmark:(id)sender; |
| 108 // From a context menu over the bar, ... | 109 // From a context menu over the bar, ... |
| 109 - (IBAction)openAllBookmarks:(id)sender; | 110 - (IBAction)openAllBookmarks:(id)sender; |
| 110 // Or from a context menu over either the bar or a button. | 111 // Or from a context menu over either the bar or a button. |
| 111 - (IBAction)addPage:(id)sender; | 112 - (IBAction)addPage:(id)sender; |
| 112 - (IBAction)addOrRenameFolder:(id)sender; | 113 - (IBAction)addOrRenameFolder:(id)sender; |
| 113 | 114 |
| 114 @end | 115 @end |
| 115 | 116 |
| 116 // Redirects from BookmarkBarBridge, the C++ object which glues us to | 117 // Redirects from BookmarkBarBridge, the C++ object which glues us to |
| (...skipping 29 matching lines...) Expand all Loading... |
| 146 - (void)frameDidChange; | 147 - (void)frameDidChange; |
| 147 - (BOOL)offTheSideButtonIsHidden; | 148 - (BOOL)offTheSideButtonIsHidden; |
| 148 - (NSMenu *)menuForFolderNode:(const BookmarkNode*)node; | 149 - (NSMenu *)menuForFolderNode:(const BookmarkNode*)node; |
| 149 - (int64)nodeIdFromMenuTag:(int32)tag; | 150 - (int64)nodeIdFromMenuTag:(int32)tag; |
| 150 - (int32)menuTagFromNodeId:(int64)menuid; | 151 - (int32)menuTagFromNodeId:(int64)menuid; |
| 151 - (void)buildOffTheSideMenu; | 152 - (void)buildOffTheSideMenu; |
| 152 - (NSMenu*)offTheSideMenu; | 153 - (NSMenu*)offTheSideMenu; |
| 153 @end | 154 @end |
| 154 | 155 |
| 155 #endif // CHROME_BROWSER_COCOA_BOOKMARK_BAR_CONTROLLER_H_ | 156 #endif // CHROME_BROWSER_COCOA_BOOKMARK_BAR_CONTROLLER_H_ |
| OLD | NEW |