summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-28 14:50:01 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-28 14:50:01 +0000
commit1cde51596b1ed4925d3f550432496e106de59b98 (patch)
tree10ed00a0daabc7ca56ebcc0aeba0f12c40342696
parent8db9dbb2dfa5b5850077777dc08f94a4c0b502a1 (diff)
downloadchromium_src-1cde51596b1ed4925d3f550432496e106de59b98.zip
chromium_src-1cde51596b1ed4925d3f550432496e106de59b98.tar.gz
chromium_src-1cde51596b1ed4925d3f550432496e106de59b98.tar.bz2
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
-rw-r--r--chrome/browser/cocoa/browser_window_cocoa.h6
-rw-r--r--chrome/browser/cocoa/browser_window_cocoa.mm3
2 files changed, 1 insertions, 8 deletions
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<DownloadShelf> 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());