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

Unified Diff: chrome/browser/ui/cocoa/bookmarks/bookmark_bar_view.mm

Issue 12538012: Mac: "Import bookmarks..." right click shouldn't bring up context menu. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/cocoa/bookmarks/bookmark_bar_view.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/bookmarks/bookmark_bar_view.mm
===================================================================
--- chrome/browser/ui/cocoa/bookmarks/bookmark_bar_view.mm (revision 188772)
+++ chrome/browser/ui/cocoa/bookmarks/bookmark_bar_view.mm (working copy)
@@ -98,11 +98,11 @@
return NO;
}
--(BookmarkBarTextField*)noItemTextfield {
+- (BookmarkBarTextField*)noItemTextfield {
return noItemTextfield_;
}
--(BookmarkBarImportButton*)importBookmarksButton {
+- (NSButton*)importBookmarksButton {
return importBookmarksButton_;
}
@@ -113,14 +113,14 @@
// Internal method, needs to be called whenever a change has been made to
// dropIndicatorShown_ or dropIndicatorPosition_ so it can get the controller
// to reflect the change by moving buttons around.
--(void)dropIndicatorChanged {
+- (void)dropIndicatorChanged {
if (dropIndicatorShown_)
[controller_ setDropInsertionPos:dropIndicatorPosition_];
else
[controller_ clearDropInsertionPos];
}
--(void)drawRect:(NSRect)dirtyRect {
+- (void)drawRect:(NSRect)dirtyRect {
[super drawRect:dirtyRect];
}
@@ -287,14 +287,6 @@
@end // @implementation BookmarkBarTextField
-@implementation BookmarkBarImportButton
-
-- (NSMenu*)menu {
- return [barView_ menu];
-}
-
-@end // @implementation BookmarkBarImportButton
-
@implementation BookmarkBarItemContainer
- (NSMenu*)menu {
« no previous file with comments | « chrome/browser/ui/cocoa/bookmarks/bookmark_bar_view.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698