From 1cde51596b1ed4925d3f550432496e106de59b98 Mon Sep 17 00:00:00 2001 From: "thakis@chromium.org" Date: Tue, 28 Jul 2009 14:50:01 +0000 Subject: Remove unused code BUG=none TEST=none Review URL: http://codereview.chromium.org/159493 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21839 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/cocoa/browser_window_cocoa.h | 6 ------ chrome/browser/cocoa/browser_window_cocoa.mm | 3 +-- 2 files changed, 1 insertion(+), 8 deletions(-) (limited to 'chrome/browser/cocoa') diff --git a/chrome/browser/cocoa/browser_window_cocoa.h b/chrome/browser/cocoa/browser_window_cocoa.h index 7891575..a20a12a 100644 --- a/chrome/browser/cocoa/browser_window_cocoa.h +++ b/chrome/browser/cocoa/browser_window_cocoa.h @@ -98,12 +98,6 @@ class BrowserWindowCocoa : public BrowserWindow, NSWindow* window_; // weak, owned by controller Browser* browser_; // weak, owned by controller BrowserWindowController* controller_; // weak, owns us - - // Data for shelves and stuff ------------------------------------------------ - // FIXME(thakis): This should probably in the controller on OS X. - - // The download shelf view (view at the bottom of the page). - scoped_ptr download_shelf_; }; #endif // CHROME_BROWSER_COCOA_BROWSER_WINDOW_COCOA_H_ diff --git a/chrome/browser/cocoa/browser_window_cocoa.mm b/chrome/browser/cocoa/browser_window_cocoa.mm index 61a616b..9494e20 100644 --- a/chrome/browser/cocoa/browser_window_cocoa.mm +++ b/chrome/browser/cocoa/browser_window_cocoa.mm @@ -24,8 +24,7 @@ BrowserWindowCocoa::BrowserWindowCocoa(Browser* browser, NSWindow* window) : window_(window), browser_(browser), - controller_(controller), - download_shelf_() { + controller_(controller) { // This pref applies to all windows, so all must watch for it. registrar_.Add(this, NotificationType::BOOKMARK_BAR_VISIBILITY_PREF_CHANGED, NotificationService::AllSources()); -- cgit v1.1