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

Unified Diff: chrome/browser/cocoa/browser_window_controller.mm

Issue 373022: Enable and implement last 2 items in bookmark bar context menu: "Open... (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/cocoa/browser_window_controller.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/cocoa/browser_window_controller.mm
===================================================================
--- chrome/browser/cocoa/browser_window_controller.mm (revision 31745)
+++ chrome/browser/cocoa/browser_window_controller.mm (working copy)
@@ -177,8 +177,7 @@
initWithBrowser:browser_.get()
initialWidth:NSWidth([[[self window] contentView] frame])
compressDelegate:toolbarController_.get()
- resizeDelegate:self
- urlDelegate:self]);
+ resizeDelegate:self]);
// Add bookmark bar to the view hierarchy. This also triggers the
// nib load. The bookmark bar is defined (in the nib) to be
@@ -1045,12 +1044,6 @@
return savedRegularWindow_ != nil;
}
-// Called by the bookmark bar to open a URL.
-- (void)openBookmarkURL:(const GURL&)url
- disposition:(WindowOpenDisposition)disposition {
- browser_->OpenURL(url, GURL(), disposition, PageTransition::AUTO_BOOKMARK);
-}
-
- (NSInteger)numberOfTabs {
return browser_->tabstrip_model()->count();
}
« no previous file with comments | « chrome/browser/cocoa/browser_window_controller.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698