| 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();
|
| }
|
|
|