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

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

Issue 249048: Add "copy" to context menu on bookmark button.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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 | « 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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_
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