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

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

Issue 345045: Bookmark context menu "Edit" starts with current name, not "New Folder".... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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 | « chrome/app/nibs/BookmarkBar.xib ('k') | chrome/browser/cocoa/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) 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
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
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_
OLDNEW
« no previous file with comments | « chrome/app/nibs/BookmarkBar.xib ('k') | chrome/browser/cocoa/bookmark_bar_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698